Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JQuery mobile page transition without jQuery mobile

I am looking for a way to produce the jQuery mobile horizontal page transition effect on a mobile site without using the full JQuery lib. Does anyone know of a solution using a much smaller stripped down specific JS script? We are trying to keep file sizes to a minimum.

like image 389
youare Avatar asked Oct 27 '11 17:10

youare


2 Answers

I found a decent solution to this. Check out 'Non-Jquery Page Transitions lightweight' by fasw.

Demo here: http://www.fasw.ws/demos/transitions1/slide1.html

And source here: http://www.fasw.ws/faswwp/non-jquery-page-transitions-lightweight/

This is 1.7k of JS producing transitions that are just like those produced by the whole mobile jQuery Lib.

like image 92
youare Avatar answered Oct 12 '22 08:10

youare


I had the exact same question; take a look at the accepted answer by Jasper on my post here.

You could also look at the decoupled widgets here.

like image 41
dSquared Avatar answered Oct 12 '22 09:10

dSquared