【发布时间】:2011-06-09 23:08:13
【问题描述】:
使用带有 ThemeRoller 主题的 jQuery Mobile,当点击“Cake Sizes”时,折叠式菜单会提供一个带有哈希的 URL。 ThemeRoller 主题在 URL 中没有加载。
<div><h3><a href="#">Cakes</a></h3>
<div id="accordion-child">
<div><h3><a href="/cakes/cake-sizes" data-transition="slideup">Cake Sizes</a></h3></div>
<div><h3><a href="/cakes/flavors">Flavors</a></h3></div>
<div><h3><a href="/cakes/gallery">Gallery</a></h3></div>
</div>
</div>
当点击“蛋糕尺寸”时,网址为http://example.com/#/cakes/cake-sizes
如何防止 # 出现在 URL 中,或者如何删除它?有谁知道为什么 Themeroller 主题不会在 URL 中加载哈希?
【问题讨论】:
标签: jquery mobile jquery-mobile themeroller