-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
possible work with jquery only? #43
Comments
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 [email protected] wrote:
|
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!
|
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.
The text was updated successfully, but these errors were encountered: