JQuery移动删除幻灯片页面转换
我在一个移动友好的网站上工作,每次按下一个按钮,我都会有幻灯片效果转换。。。我找不到办法把它去掉 我试着加上:JQuery移动删除幻灯片页面转换,jquery,mobile,transition,Jquery,Mobile,Transition,我在一个移动友好的网站上工作,每次按下一个按钮,我都会有幻灯片效果转换。。。我找不到办法把它去掉 我试着加上: <script> $(document).bind("mobileinit", function() { $.mobile.page.prototype.options.addBackBtn = true; $.mobile.defaultPageTransition = 'none'; $.mobile.useFastClick
<script>
$(document).bind("mobileinit", function() {
$.mobile.page.prototype.options.addBackBtn = true;
$.mobile.defaultPageTransition = 'none';
$.mobile.useFastClick = false;
});
</script>
$(document).bind(“mobileinit”,function(){
$.mobile.page.prototype.options.addBackBtn=true;
$.mobile.defaultPageTransition='none';
$.mobile.useFastClick=false;
});
及
但我仍然有幻灯片效果转换
如何删除它?
谢谢
马可这对我来说很有用:
$(document).bind('pageinit', function () {
$.mobile.defaultPageTransition = 'none';
});
jQuery版本:1.6.4jQuery移动版:1.0.1 现场示例:
$(document).bind('pageinit', function () {
$.mobile.defaultPageTransition = 'none';
});