Results 1 to 2 of 2

Thread: All level menu's arrows are faster on the generator page then the example page

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

    Exclamation All level menu's arrows are faster on the generator page then the example page

    1) Script Title: All levels menu

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

    3) Describe problem:
    Hi folks, I've installed that wonderfull script. And it works like a charm.
    Only thing is: When loading the arrows follow later, so the whole menu makes a shift.
    See here: http://www.dynamicdrive.com/dynamici...menu/index.htm

    I see on the generator page this is different, the arrows are directly shown.
    http://www.dynamicdrive.com/dynamici.../generator.htm

    How can I do this on my website? Is it the Javascript that causes this? Because I don't want to reinstall everything.
    Thanks!

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

    Default

    There is no difference between the two page's code that would cause this actually. But if your arrow images are slow to load- hence displacing the menu item temporarily, try giving them an explicit width/height attribute inside base.css:

    Code:
    .downarrowpointer{ /*CSS for "down" arrow image added to top menu items*/
    padding-left: 4px;
    border: 0;
    width: 20px;
    height: 15px;
    }
    
    .rightarrowpointer{ /*CSS for "right" arrow image added to drop down menu items*/
    position: absolute;
    padding-top: 3px;
    left: 100px;
    border: 0;
    width: 15px;
    height: 15px;
    }
    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
  •