Results 1 to 3 of 3

Thread: How to move submenu to the left

  1. #1
    Join Date
    Sep 2011
    Posts
    28
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default How to move submenu to the left

    Ok I am using the http://www.dynamicdrive.com/dynamici...wntabsdemo.htm example five mixed with a second level html drop down that opens to a third level. I want to move the second level menu to the left (you will see the padding to the left) I have tried changing the padding and the margins but it all gets messed up, maybe I am not doing it right. the page is located
    http://www.dacc.edu/student-handbook/adm_prereg.php Any help you can give me I would greatly appreciate it.

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

    Default

    I want to move the second level menu to the left (you will see the padding to the left)

    By the "second level menu", I assume you mean the drop down menu that appears when you mouse over the tab "Admissions and pre-registration"? To move that to the left, inside the .js file, try changing the line:

    Code:
    this.dropmenuobj.x=this.getposOffset(obj, "left")
    to:

    Code:
    this.dropmenuobj.x=this.getposOffset(obj, "left")-this.dropmenuobj.offsetWidth+obj.offsetWidth
    DD Admin

  3. The Following User Says Thank You to ddadmin For This Useful Post:

    Inky1231 (10-17-2011)

  4. #3
    Join Date
    Sep 2011
    Posts
    28
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by ddadmin View Post
    I want to move the second level menu to the left (you will see the padding to the left)

    By the "second level menu", I assume you mean the drop down menu that appears when you mouse over the tab "Admissions and pre-registration"? To move that to the left, inside the .js file, try changing the line:

    Code:
    this.dropmenuobj.x=this.getposOffset(obj, "left")
    to:

    Code:
    this.dropmenuobj.x=this.getposOffset(obj, "left")-this.dropmenuobj.offsetWidth+obj.offsetWidth
    Hi You were helpful with this I was wondering if you could help me with an IE issue. My third level menu is disconnected in IE but not firefox on http://www.dacc.edu/ar/admissions/ residency rules and regulations has a submenu and so does withdrawing from courses, but in IE the withdrawing from courses does not work.

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
  •