Results 1 to 5 of 5

Thread: IE7 & AnyLink JS Drop Down Menu v2.2 problem

  1. #1
    Join Date
    Oct 2008
    Posts
    12
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Default IE7 & AnyLink JS Drop Down Menu v2.2 problem

    1) Script Title: AnyLink JS Drop Down Menu v2.2

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

    3) Describe problem:
    This works fine with Firefox, but Internet Explorer is hating it for some reaon. When you rollover the text for the drop down menu, a big black box covers part of the screen as if it's the drop down menu. You can see what I mean here: http://www.theboysdepot.com/ (that's the site I'm adding the navigation bar to).

    If anyone can help me, I'd really appreciate it! Thank you!

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

    Default

    Hmm this is a rather strange one. What happens if you revert anylinkmenu.css to the original one from the DD script page?
    DD Admin

  3. #3
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    In your anylinkmenu.css file you have:

    Code:
    .anylinkmenu{
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 5px;
    visibility: hidden;
    border: 1px solid 4e3d0d;
    border-bottom-width: 0;
    font: normal 12px Verdana;
    line-height: 18px;
    z-index: 100; /* zIndex should be greater than that of shadow's below */
    background: #93b24a;
    width: 175px; /* default width for menu */
    }
    That's invalid and IE is reading it as 4000px for some strange reason. I think it sees it as an exponential value. Doesn't matter. Change it to:

    Code:
    .anylinkmenu{
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 5px;
    visibility: hidden;
    border: 1px solid #4e3d0d;
    border-bottom-width: 0;
    font: normal 12px Verdana;
    line-height: 18px;
    z-index: 100; /* zIndex should be greater than that of shadow's below */
    background: #93b24a;
    width: 175px; /* default width for menu */
    }
    And things should be fine.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  4. The Following User Says Thank You to jscheuer1 For This Useful Post:

    Aimkat (12-10-2009)

  5. #4
    Join Date
    Oct 2008
    Posts
    12
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Default

    Oh, you're right! No wonder the browser was confused. Adding the # fixed it. Thank you so much!

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

    Default

    Nice catch John! Thanks for lending a keen eye.
    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
  •