Results 1 to 3 of 3

Thread: AnyLink CSS Vertical Menu - FireFox JS Errors

  1. #1
    Join Date
    Aug 2006
    Location
    Kent, UK
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Red face AnyLink CSS Vertical Menu - FireFox JS Errors

    1) Script Title:

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

    3) Describe problem:
    Hi guys

    I've started trying to implement the AnyLink CSS Vertical Menu into a test site and it works great in IE6

    But in FireFox I'm getting an annoying JavaScript error in the JS Console
    It still works fine but I'm a perfectionist and I want to try and get rid of this error.

    The error happens also on the DynamicDrive page for the script.
    http://www.dynamicdrive.com/dynamici...nylinkcss2.htm

    The 2 errors I get each time are:
    Code:
    Error: Error in parsing value for property 'top'.  Declaration dropped.
    Source File: http://www.dynamicdrive.com/dynamicindex1/anylinkcss2.htm
    Line: 0
    
    Error: Error in parsing value for property 'left'.  Declaration dropped.
    Source File: http://www.dynamicdrive.com/dynamicindex1/anylinkcss2.htm
    Line: 0
    Any ideas on how to solve this?

    Thanks

    Ben

  2. #2
    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

    That has been like that for a while. Find this line in function showhide(obj, e, visible, hidden) near the top of the script and add the red part:

    Code:
    dropmenuobj.style.left=dropmenuobj.style.top=-500+'px'
    - John
    ________________________

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

  3. #3
    Join Date
    Aug 2006
    Location
    Kent, UK
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Wink

    Bingo!

    Excellent stuff. Thanks for your help!!!


    Ben

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
  •