Open jackyon opened 9 years ago
It might; I haven’t tried it. Feel free to give it a try and report back. Likely what you’d need to change is the “zepto” at the end of the file, replacing it with the jQuery reference.
On Nov 19, 2014, at 8:37 PM, jackyon notifications@github.com wrote:
there are many disadvantage from zepto js, you can also see the reason below link: http://zurb.com/article/1293/why-we-dropped-zepto
I'm just curious, is it possible work with jquery only? I don't want to include the zepto js.
plz advise.
thx.
— Reply to this email directly or view it on GitHub.
okay, I tested it with jQuery 1.11.1, some animation worked, some are not working at all.
Which are working ?
Those that aren't working, what happens with them? Nothing at all?
I'm interested in this, because I'd like to transition (yuk, yuk) away from jQuery Mobile. I'm considering either Zurb Foundation or simply Bourbon/Neat/Bitters/Refills. But I would sorely miss the JQM page transitions! I would not want to use Zepto, though.
Quite some time ago, I yanked the "classic" transitions out of jQuery Mobile 1.0 so that they can be put back in to newer versions. Starting with 1.2, JQM got some pretty goofy transitions trying to deal with hiding scroll to top. But I use pages that are the height of the device, because I always use iScroll to scroll inside the viewport between header and footer. So, I don't have to worry about scroll to top!
So, it seems to me that work might be useful here:
https://github.com/watusi/jquery.mobile.simultaneous-transitions
Not sure now what versions of JQM my JS code works with, I think 1.1 through 1.2, not sure of 1.3, because I monkey-patch it. But the JS code isn't needed in this case. It's the CSS that might be of interest, so anyone trying to use this might take a look. I do use this code with 1.2 in a big project I've worked on for the past 2 years, and haven't encountered problems, but I caution that that project is iOS only. I also used it in a PhoneGap app that's released on iOS App Store and Google Play. I think that also uses 1.2.
At some point I will give this repo here a go with jQuery, and report back what I find. Since I've done some work with these transitions in the past, I will see what I can do about any transition problems, or work-in my own set of transitions.
That sounds great, and pull requests are always appreciated!
On May 23, 2015, at 11:50 AM, Jon Tara notifications@github.com wrote:
I'm interested in this, because I'd like to transition (yuk, yuk) away from jQuery Mobile. I'm considering either Zurb Foundation or simply Bourbon/Neat/Bitters/Refills. But I would sorely miss the JQM page transitions! I would not want to use Zepto, though.
Quite some time ago, I yanked the "classic" transitions out of jQuery Mobile 1.1 so that they can be put back in to newer versions. Starting with 1.2, JQM got some pretty goofy transitions trying to deal with hiding scroll to top. But I use pages that are the height of the device, because I always use iScroll to scroll inside the viewport between header and footer. So, I don't have to worry about scroll to top!
So, it seems to me that work might be useful here:
https://github.com/watusi/jquery.mobile.simultaneous-transitions Pretty sure my JS code works only with JQM 1.2, because I monkey-patch it. But the JS code isn't needed in this case. It's the CSS that might be of interest, so anyone trying to use this might take a look.
At some point I will give this repo here a go with jQuery, and report back what I find. Since I've done some work with these transitions in the past, I will see what I can do about any transition problems, or work-in my own set of transitions.
— Reply to this email directly or view it on GitHub https://github.com/dgileadi/zepto-page-transitions/issues/43#issuecomment-104936148.
there are many disadvantage from zepto js, you can also see the reason below link: http://zurb.com/article/1293/why-we-dropped-zepto
I'm just curious, is it possible work with jquery only? I don't want to include the zepto js.
plz advise.
thx.