How to horizontally scroll a web page?

I want to create a webpage that moves left when the user scrolls the mouse wheel. Typically, all websites have a vertical scroll. But it needs to be scrolled horizontally.

Code example:

<body> <div style="width:10000px; height:400px; top:0; left:0;"> //here goes the content. </div> </body> 

My goal is to scroll the DIV horizontally on the mouse scroll using jQuery or any other Javascript tool.

+6
javascript jquery html css mootools
source share
1 answer
+4
source share

All Articles