When we are building html5 web app or ios hybrid app,we need to make an effect like the views’ transition in an ios app.
Such as : http://jquerymobile.com/demos/1.1.0/docs/pages/page-transitions.html
In the past I use jquery mobile or sencha touch to handle it.
But,you know,jquery mobile depends on many libraries or css.(Like: jquery, jquerymobile.css etc.) and sencha touch is too heavy.
I just wanna find a simple javascript library which can help me to handle this problem.
I also wish this library is pure and easy to use.
Is there a javascript library can handle this problem?:-)
Maybe this can help you: HTML Page Slide Without a Framework
The solution is pretty lightweight and is powered by a little AJAX, some CSS transitions, and CSS transition events. It’s also important to note that this only works with WebKit. (This case is for a mobile application with PhoneGap targeting Android and iOS, so it only need WebKit compatibility.)