Skip to content
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

Open
jackyon opened this issue Nov 20, 2014 · 5 comments
Open

possible work with jquery only? #43

jackyon opened this issue Nov 20, 2014 · 5 comments

Comments

@jackyon
Copy link

jackyon commented Nov 20, 2014

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.

@dgileadi
Copy link
Owner

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:

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.

@jackyon
Copy link
Author

jackyon commented Nov 21, 2014

okay, I tested it with jQuery 1.11.1, some animation worked, some are not working at all.

@Ruffio
Copy link

Ruffio commented Nov 21, 2014

Which are working ?

Those that aren't working, what happens with them? Nothing at all?

@jtara
Copy link

jtara commented May 23, 2015

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.

@dgileadi
Copy link
Owner

That sounds great, and pull requests are always appreciated!

On May 23, 2015, at 11:50 AM, Jon Tara [email protected] 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 #43 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants