Results 1 to 2 of 2

Thread: Making changes to Drop Down Tabs menu system

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

    Question Making changes to Drop Down Tabs menu system

    1) Script Title: Drop Down Tabs

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/droptabmenu.htm

    3) Describe problem: I installed this menu several years ago on several sites. One client tells me that now on some of their machines the drop-downs drop UP when screen res is a bit low and not enough page displays for the full length of a dropdown with a lot of menu items.

    I realise that this is a problem with old machines, but is there a tweak that can be made to either the javascript or the css to force the long dropdowns to drop down? I like using this straightforward menu system and I want to avoid several hours of time replacing it on that site if the code can be tweaked.

    Thanks,

    Nick Gray
    London, UK

  2. #2
    Join Date
    Aug 2004
    Posts
    9,890
    Thanks
    3
    Thanked 964 Times in 953 Posts
    Blog Entries
    15

    Default

    Sure, just commenting out the below portion inside the .js file should do it (addition in red):

    Code:
    /*
    			if (windowedge-this.dropmenuobj.y < this.dropmenuobj.contentmeasure){ //move up?
    				edgeoffset=this.dropmenuobj.contentmeasure+obj.offsetHeight
    				if ((this.dropmenuobj.y-topedge)<this.dropmenuobj.contentmeasure) //up no good either?
    					edgeoffset=this.dropmenuobj.y+obj.offsetHeight-topedge
    			}
    */
    DD Admin

Similar Threads

  1. help with making poll system dynamic
    By genia in forum PHP
    Replies: 1
    Last Post: 10-06-2008, 08:34 AM
  2. AnyLink Drop Down Menu - Making original link work
    By protyne in forum Dynamic Drive scripts help
    Replies: 7
    Last Post: 03-31-2006, 04:54 AM
  3. Making AnyLink Drop Down Menu DROP UP
    By jtarabay in forum Dynamic Drive scripts help
    Replies: 4
    Last Post: 11-30-2005, 01:10 PM
  4. Drop down menu system
    By guymclaren in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 12-07-2004, 02:57 PM
  5. Replies: 6
    Last Post: 09-30-2004, 04:02 AM

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
  •