TrueFangz
07-05-2006, 10:29 PM
Is there a way that I can have a table on a page that always hovers on top of the window?
I tried using a few scripts I found in the navigation area of DD, but I couldn't get them to look the way I want them.
This is what my table script looks like...
<table onMouseover="changeto(event, 'images/navbarhov.png')" onMouseout="changeback(event, 'images/navbar.png')" border="0" width="100%" id="table1" style="border-collapse: collapse; background-image: url('images/navbar.png'); background-repeat: repeat-x; position:absolute; left:0px; top:0px; width:792px" height="32" style='position:absolute;top:0;left:0;'>
Looks and works great, the only thing I want to do now is have it horizontally centered, and have it static to the top of the page, so when the user scrolls down the page, the table will still be visible at the top of the window as they scroll.
Help would be highly appreciated. Thank you!
I tried using a few scripts I found in the navigation area of DD, but I couldn't get them to look the way I want them.
This is what my table script looks like...
<table onMouseover="changeto(event, 'images/navbarhov.png')" onMouseout="changeback(event, 'images/navbar.png')" border="0" width="100%" id="table1" style="border-collapse: collapse; background-image: url('images/navbar.png'); background-repeat: repeat-x; position:absolute; left:0px; top:0px; width:792px" height="32" style='position:absolute;top:0;left:0;'>
Looks and works great, the only thing I want to do now is have it horizontally centered, and have it static to the top of the page, so when the user scrolls down the page, the table will still be visible at the top of the window as they scroll.
Help would be highly appreciated. Thank you!