Forum Moderators: open
I need to make some dropdown menus that have rollover states... and I found a really great piece of code that I would like to use that is located here: [simplythebest.net...]
They include an example too (see top of the page).
I have been able to get this to work, however I want the rollover menu to appear in a table cell, and it only sticks to the top of the page in Safari, Netscape, and Firefox (and its screwy in IE too). I know there must be a way to get this to stay in the table cell, but since I don't know much about Javascript, I can't figure it out.
My own personal experiment with this dropdown menu is located here: [lizbeidelman.com...]
If anyone has any tips, ideas, or miracles, I would be much appreciative.
Thanks!
- Liz
The position of this menu is determined by the css styles defined at the top of the page.
All of the styles have the property "Position : Absolute" This means that their position is based on a number of pixels from the top left corner of the browser window.
The default is "Position: Relative", which would place the menu, where you would expect based on where it appears in the html source.
However, setting all of the postions to relative is probably going to break the script in some way.
So, no miricle for you, but hopefully this points you in the right direction.