【发布时间】:2014-01-07 17:29:59
【问题描述】:
我刚刚将我的项目升级到 JQM 1.4,如果在标头中的标记上使用,标头似乎忽略了 data-role="none" 属性。这在 JQM 1.3.2 中有效。
请看下面的jsfiddle和代码
http://jsfiddle.net/caseylmanus/VL4HX/21/
<div data-role="page" id="p1">
<div data-role="header" data-theme='b'>
<a href="#p1" data-role="none"><img src="http://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Back.svg/120px-Back.svg.png" style="height:15px"/></a>
<h1>Header</h1>
</div>
<div data-role="content" data-theme='a'>
Some content here
</div>
<div data-role="footer" data-position='fixed'>
<h4>Footer</h4>
</div>
【问题讨论】:
标签: jquery-mobile