1

Wondering if there's a way to stop Jquery Mobile from auto hiding the address bar. Apparently it does this by default and I've found just one other post pointing to the mechanism. If someone has tackled this already awesome - otherwise I'll find some override and post here. Thanks for ur help!

4

1 回答 1

0

尝试这个

 $(document).bind("mobileinit", function(){
   $.mobile.useFastClick=false;
 });

因为 mobileinit 事件在执行时立即触发,所以您需要在加载 jQuery Mobile 之前绑定事件处理程序,因此链接您的文件,如

 <script src="jquery.js"></script>
 <script src="custom-scripting.js"></script>
 <script src="jquery-mobile.js"></script>
于 2012-11-08T03:31:34.137 回答