Hi folks,
I've been asked to include a floating menu on a client's website and have adapted an old script I found.
My problem is that, in IE6 and Netscape 6, the menu does not float when the page is scrolled. However, in IE5.x and Opera 7 it works fine. To add to the mix, when I tried to simplify the XHTML page to use in this posting, the simplified example fixed the problem.
I've already overspent significantly on this project and would appreciate it if anyone can shed any light on the probable cause of this problem, or if anyone has an academic interest in solving it via the usual arduous method...
The script is as shown below:
The URL of the
test site that uses this code is
http://www.yourworkplace.co.uk/test/new/v5/. I call it with <body onload="floatMenu('menuPanel',130)">, where menuPanel is the name of a div with position: absolute;
Any help would be greatly appreciated!
Cheers,
Jules
P.S. The simplified HTML page that works is as follows:
Note that the above simplification uses fixed pixel sizes whereas the actual page design is liquid.
[ August 03, 2004: Message edited by: Eric Pascarello ]