Results 1 to 4 of 4

Thread: AnyLink CSS Menu causing excessive scrolling

  1. #1
    Join Date
    Sep 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default AnyLink CSS Menu causing excessive scrolling

    1) Script Title: AnyLink CSS Menu v2.3

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...anylinkcss.htm

    3) Describe problem: I have place this script on my page, but am having a problem with it adding space at the bottom of the page causing a scroll bar and empty space at the bottom of the page.

    Sample URL: http://www.tdb.za.net/eb5/

    I have tried putting the sub menus in a hidden div, but that doesn't work. Tested on Google Chrome, FireFox & IE9 and both have the same results.

    Is there a way I can stop this from happening without using overflow: hidden?

  2. #2
    Join Date
    Dec 2008
    Location
    Portsmouth, UK
    Posts
    1,772
    Thanks
    2
    Thanked 410 Times in 405 Posts

    Default

    you have commented out the c;ass rule for class rule anylinkshadow


    Code:
    /* ######### class for shadow DIV ######### */
    
    
    .anylinkshadow{ /*CSS for shadow. Keep this as is */
    position: absolute;
    left: 0;
    top: 0;
    z-index: 99;
    background: black;
    visibility: hidden;
    }
    reinstate this rule and the exessive scroll is removed

    if you do not want the shadow remove background: black;
    Vic
    God Loves You and will never love you less.
    http://www.vicsjavascripts.org/Home.htm
    If my post has been useful please donate to http://www.operationsmile.org.uk/

  3. #3
    Join Date
    Sep 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    thanks Vic, but that didn't sort out the problem - have added display: none to the submenu items and dislay:inline when the link is clicked.

  4. #4
    Join Date
    Dec 2008
    Location
    Portsmouth, UK
    Posts
    1,772
    Thanks
    2
    Thanked 410 Times in 405 Posts

    Default

    looking at your page the exessive scroll problem has been resolved
    Vic
    God Loves You and will never love you less.
    http://www.vicsjavascripts.org/Home.htm
    If my post has been useful please donate to http://www.operationsmile.org.uk/

Similar Threads

  1. Replies: 0
    Last Post: 05-20-2011, 03:48 PM
  2. AnyLink JS Drop Down Menu Causes Excessive Vertical Scrolling
    By newpotato in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 05-15-2009, 12:10 AM
  3. Resolved Body Background image overflowing--causing unwanted scrolling.
    By JosephBergdoll in forum CSS
    Replies: 16
    Last Post: 01-13-2009, 03:06 PM
  4. Anylink Dropdown menu on a scrolling layer?
    By maximumovertime in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 12-12-2008, 11:55 PM
  5. Anylink drop-down menu target="" causing problems
    By Spinethetic in forum Dynamic Drive scripts help
    Replies: 8
    Last Post: 06-17-2008, 08:15 PM

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
  •