Results 1 to 7 of 7
Thread: move div to top of viewport
Jan 24, 2007, 15:11 #1
- Join Date
- Jan 2005
- New Orleans, LA
- 0 Post(s)
- 0 Thread(s)
move div to top of viewport
I got a div, I'd like some code to be executed onClick, that'd move the div to the top of the viewport (not to the top of the page), kinda like a "vertical float".
Is there a way to do this? I've seen annoying menus/ advertisements that stick to the top of the window even if you scroll down.
any help appreciated, thanks!!!!