Results 1 to 5 of 5

Thread: anylink drop down menu

  1. #1
    Join Date
    Sep 2005
    Location
    Switzerland
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy anylink drop down menu

    Hi there!

    I got a problem using the anylink drop down menu in IE5.2 for Mac.

    The error I get is
    invalid procedure call or argument
    for this line:
    dropmenuobj.style.left=dropmenuobj.style.top=-500

    Anybody know how to fix this??

  2. #2
    Join Date
    Sep 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Try to replace the line with the following:

    dropmenuobj.style.top=dropmenuobj.y+obj.offsetHeight+"px"

    Other than that, the script has some problems that needs adressing in Mac IE. I will get a new PowerBook in the end of September, and then I'll have a look at it. Stay tight.

  3. #3
    Join Date
    Sep 2005
    Location
    Switzerland
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Nop, doesn't work either...!

    I guess I will leave it as it is and hope that not too many people use IE5 on a mac!

    Thanks anyway.

  4. #4
    Join Date
    Feb 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Ever find an answer? I'm running into the same problem

  5. #5
    Join Date
    Feb 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Red face

    Change it to

    Code:
    		
    if (ie4||ns6){
    	dropmenuobj.style.left=0;
    	dropmenuobj.style.top=0;
    }
    I think the Mac doesn't like you setting it to a non-existant position.
    It doesn't like when it uses the delayhide when moving off the dropdown and coming back to the same menu. If you go to another menu it works fine.

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
  •