XScroll3.0

A JavaScript Scrolling Framework For Mobile Web.

makes mobile web development faster and easier.
It's made for folks of all skill levels, devices of all shapes, and projects of all sizes.

Try the Demo Download

Read the Documentation    What's new    Star on Github

Technology

Give a man a fish, and he eats it. teach a man to fish, and he sells it or something.

Example

// XScroll has been put on window var xscroll = new XScroll({ renderTo:"#J_Scroll", scrollbarX:false, lockX:true }); xscroll.render();

You shold put two elements wich has the classname '.xs-container' and '.xs-content' wrappered by the renderTo element , like this follow.

<div id="J_Scroll"> //for scroll-vertical <div class="xs-container"> //for scroll-horizontal <div class="xs-content"> scroll-content </div> </div> </div>