Results 1 to 3 of 3

Thread: Drop down menu: Center positioning the menu?

  1. #1
    Join Date
    Apr 2008
    Posts
    22
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Question Drop down menu: Center positioning the menu?

    1) Script Title: Drop down/ Overlapping Content script

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

    3) Describe problem:

    I want to center position the drop down menu. How can it be centered directly under the "trigger" link?

    See my example here: http://jsutergraphix.com/dropDownMenu/


  2. #2
    Join Date
    Apr 2008
    Posts
    22
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Question Still working on it.

    I'm able to offset the menu horizontally, but that is not what needs to be done. The menu should stay centered according to the parent "trigger" with every window size. Offsetting it will look completely different if the window is scaled down and up. That's why I have the percentages... to scale with the window.

    Still working on it.


  3. #3
    Join Date
    Apr 2008
    Posts
    22
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Question Is it even possible?

    Still at it. I've tried ton's of different things throughout the day. Seems this DIV has to line up top-left, bottom-left, top-right, or bottom-right. There's no top-middle, or top-center I guess.

    Is it even possible to line these up vertically? I haven't seen any sample here on DD or other javascript tutorial sites.

    See my example here: http://jsutergraphix.com/dropDownMenu/


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
  •