Results 1 to 3 of 3

Thread: AnyLink JS Drop Down Menu Causes Excessive Vertical Scrolling

  1. #1
    Join Date
    Mar 2006
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default AnyLink JS Drop Down Menu Causes Excessive Vertical Scrolling

    1) Script Title: AnyLink JS Drop Down Menu

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

    3) Describe problem: I'm using this script on 2 sites I'm building. When I add the
    <script type="text/javascript">

    //anylinkmenu.init("menu_anchors_class") //call this function at the very *end* of the document!
    anylinkmenu.init("menuanchorclass")
    </script>


    code to the bottom of the pages, it seems to add extra length to them, causing a lot of unnecessary white space at the bottom.

    How can I stop that from happening?

    Here's the addresses of the two sites (still under construction):

    http://www.stewartcreativedesign.com/bridgebuilders/

    http://www.stewartcreativedesign.com/lcedc/http://www.stewartcreativedesign.com/lcedc/

  2. #2
    Join Date
    Mar 2006
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Found the problem!

    For some reason, when I remove the drop shadow code from the CSS file, that's when the extra scrolling appears. No idea why, but that's what causes it.

  3. #3
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    The default .css of the script comes with a CSS style for the shadow itself:

    Code:
    .anylinkshadow{ /*CSS for shadow. Keep this as is */
    position: absolute;
    left: 0;
    top: 0;
    z-index: 99; /*zIndex for shadow*/
    background: black;
    visibility: hidden;
    }
    I don't see that on your page, however. Try adding it back in to see if it changes anything.
    DD Admin

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
  •