Results 1 to 2 of 2

Thread: submneu align to left

  1. #1
    Join Date
    Mar 2009
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default submneu align to left

    Hi All.
    how can i make Submenu align to Left in nested side bar menu

    http://www.dynamicdrive.com/style/cs...side_bar_menu/
    Last edited by Snookerman; 05-05-2009 at 05:20 AM. Reason: added “Resolved” prefix

  2. #2
    Join Date
    Mar 2009
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi,, i solve it..

    ultags[t].style.right=ultags[t].parentNode.offsetWidth+"px" //dynamically position first level submenus to be width of main menu item
    else //else if this is a sub level submenu (ul)
    ultags[t].style.right=ultags[t-1].getElementsByTagName("a")[0].offsetWidth+"px" //position menu to the right of menu item that activated 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
  •