Click here to Skip to main content
15,887,214 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have a webpart that i would make that the webpart follows the windows on the right site, so if i scroll down on the page the webpart are following the the screen and scroll??.. I want this because when a user in my first webpart updates something i want him to se in the other webpart what he has updated, so he dont need to scroll to the top of the page to se the webpart that he have updated?
Posted
Comments
Yuriy Loginov 14-May-13 11:23am    
I think you would need to listen to window.onscroll event and then inside the function change the location of your webpart.

this link may help:
https://developer.mozilla.org/en-US/docs/DOM/window.onscroll

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900