Results 1 to 3 of 3

Thread: Anylink Drop down menu problem

  1. #1
    Join Date
    Jan 2007
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Anylink Drop down menu problem

    1) Script Title: Any link drop down menu

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

    3) Describe problem: I'm using the menu for an author's webpage and she has a lot of links. My problem is the drop down does not collaspe under the link, it opens up over the link and above it, hiding the header. I narrowed the problem down to too many links per drop down... however she needs all the links. Is there a way to configure the drop down to fall down underneath the link even though there are more than 10 items listed in the drop down?

    This is the webpage: http://danapollard.blogspot.com/
    Last edited by ddadmin; 03-07-2007 at 11:36 PM.

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

    Default

    You can tell the script to always drop down regardless of the height of a menu by finding the code:

    Code:
    if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up?
    edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
    if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?
    edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
    }
    and remove it.

  3. #3
    Join Date
    Jan 2007
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    You are a gem! It worked! Thank you so much for helping me. As I said before, I'm new to this and until I learn it, it is very difficult to point out errors and such.

    Thank you!
    Charina

    Quote Originally Posted by ddadmin View Post
    You can tell the script to always drop down regardless of the height of a menu by finding the code:

    Code:
    if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up?
    edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
    if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?
    edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
    }
    and remove it.

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
  •