简体   繁体   中英

Jquery Mobile - $.mobile.changepage not doing transition

So I am transitioning to a page doing this:

$.mobile.changePage( "newPage.html",  "fade");

but for some reason the page is not showing the fancy transition the way it should. Does anyone know why this may be happening? JQM is loading all right and everything seems to be functioning properly except the page transitions. Do you need to do anything special to configure the page transitions?

This is JQM-B2 btw.

The transitions used by Jquery Mobile rely on CSS 3 transition effects that FF is not able to replicate correctly. I would suggest using Desktop Safari as your desktop testing browser as it will do a better job of replicating how Mobile Safari will act.

Hope this helps!

$.mobile.changePage( "../login/login.html", { transition: "none"});

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM