Results 1 to 2 of 2

Thread: floating menu script

  1. #1
    Join Date
    Jun 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default floating menu script

    1) Script Title: floating menu script

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...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

  2. #2
    Join Date
    Feb 2009
    Posts
    303
    Thanks
    18
    Thanked 36 Times in 36 Posts

    Default

    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! You can set that in the script:
    Code:
    var verticalpos="frombottom"
    Change the highlighted to fromtop and see if that helps any.

    Cheers,
    X96
    Alex Blackie, X96 Design
    My Website
    I specialize in: HTML5, CSS3, PHP, Ruby on Rails, MySQL, MongoDB, Linux Server Administration

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •