PDA

View Full Version : floating menu script



boco
06-07-2009, 09:22 AM
1) Script Title: floating menu script

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/staticmenu.htm

3) Describe problem:

Hi There,

I can't get floating menu script to work at all.
I copied the script as suggested at the bottom of my page before the </body> tag. When I test the page the menu doesn't move at all from it's bottom position.

I tried to position at the top left of the page with CSS
#divStayTopLeft {position: absolute; left: 0px; top: 10px;}
and nothing move.

I was expecting to have the menu floating and be always visible as I scrolled the page. It is not the case at all. When I scroll the menu is not visible anymore unless I scroll back up.

Help please!

Thank you much!

Regards,
Michel

X96 Web Design
06-07-2009, 03:45 PM
Make sure that there's nothing else on the page that may be blocking it, other scripts that may cancel out the floating box one...

And if you assign it a position (top:10px; left:0;)of course it won't move! :p You can set that in the script:

var verticalpos="frombottom"
Change the highlighted to fromtop and see if that helps any.

Cheers,
X96