Hi folks,
I was trying to "pin" a menubar to the top of a site.
It should allways stay on its absolute position.
Especially when the user scrolls the page...
I did like this:
<div id="object1" style="position:absolute; visibility:left:50px;
top:50px"> MENU </div>
called from a timer:
document.object1.style.top=50;
OR
window.document.object1.style.top=50;
OR
document.object1.top=50;
OR
window.document.object1.top=50;
none of them worked...
now what?
THX!
M. Hesselbach
PS: It's ok if it runs in firefox, no need for IE support...