Layout: Dynamic menus with CSSstarted by Skoosacker on Jan 5, 2004 — RSS Feed
Check this out - http://www.nic.fi/~tapio1/Teaching/DynamicMenus.php3
Looks awful hard trying to wade through that to me.
It would have to read the document style sheets to find where :hover is used and is not on an <a> element.
Then traverse the document tree adding onmouseover="....." to the relevant elements, (where ..... is the css properties found in the style sheets for each case of :hover found).
Would need a bit of effort and patients, but could be re-used a trillion times, so I might make this script if anyone might find it usefull??
Don't bother reinventing the wheel. The suckerfish solution is simple and effective, even on IE.
In addition it would allow you to use :hover on any element in IE.
Now that IS clever.
Now if you can just make IE understand position:fixed in some simple, usable way.
Also I think there maybe a CSS workaraound:
make the scrolling part of the page overflow: auto; and put the position: fixed; parts outside that scrolling part.
(Don't actually put the poistion: fixed; code on them)
I done an alternative CSS+DynamicProperties (IE only) solution to make IE do position fixed, and no extra code needed on the element itself!
it's all int eh CSS, but scripts probably still have to be enabled in the browser.
IE5+ I think.
see the other thread:
You must login to reply