Results 1 to 3 of 3

Thread: AnyLink Browser Problems

  1. #1
    Join Date
    May 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default AnyLink Browser Problems

    I'm using the anylink dropdown menu on a site and it works great in ie, but when I test it in netscape or firefox the dropdown flies all the way to the right edge. Can anyone help? the link to check is:
    http://www.qcsymphony.com

    Thanks in advance!

    Liz

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

    Default

    The problem is as a result of the changes you made to try and get the menu to drop down to the right of the link (instead of the default downwards). Anyhow, I've made the correct change you should implement to do this correctly. Firstly, restore the original script, so to remove the changes you made. Then, locate the lines:

    Code:
    dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
    dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
    and replace that with:

    Code:
    dropmenuobj.style.left=dropmenuobj.x+obj.offsetWidth+1-clearbrowseredge(obj, "rightedge")+"px"
    dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+"px"
    This will cause the menu to drop down to the right.
    Last edited by ddadmin; 05-12-2005 at 12:33 AM.

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

    Default

    It worked! Thank you so much - you are officially my hero!
    Liz

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
  •