Friday, October 10, 2008

How to move web page division on mouse scroll (up/down)

How to move web page division on mouse scroll (up/down)

Following code is an example to move left side portion of the web page on mouse scroll.
The division which you are going to move should be placed before java script; this code can implement in Java or .Net application, this java script function is compatible with Netscape, Mozilla and IE browsers.

Note: This code will activate only when you have horizontal scroll bar in your web page.

//Sample division to move






Your text should go here..


//Java script function to move above division up and down

No comments: