Results 1 to 2 of 2

Thread: image based menu?

  1. #1
    Join Date
    May 2005
    Location
    Kiel/Germany
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question image based menu?

    Hey you guys,

    I've got a problem. No, actually my boyfriend has a problem, but he's so stubborn and now I'll try to help him by asking you for your expert advice. I hope I can make the problem clear to you.

    So, my boyfriend has an image based horizontal navigation bar (buttons are defined as background images and in the cells of the navigation bar there are texts like "News", "Contact", etc.). Now he'd like to have a DHTML-Menu on this navigation bar, so that if you move the mouse over one of the button-images, some sublevels show up. Just the buttons have to be images, nothing else! And it's necessary to define a width and a height for each of the buttons, because it's a table based navigation bar.

    Another problem he's got, is this: The website is centered and the navigation bar is implemented in the layout of the site (it's below the header). He explained his problem to me as follows: Most DHTML-menus have an option which says "start left at e.g. 300 px", but because his site is centered and many people have a different resolution, he cannot define a width where the menu to start at because depending on the resolution the margins are different. So there should be a possibility to center the menu.

    That's it. I hope somebody can help me/my boyfriend. I mean, I cannot imagine that there's no way this problems can be solved.

    Thank you in advance,
    Irina

    PS: I searched the forum for a suitable thread, but unfortunately didn't find one.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Are you talking about this handsome individual?

    http://www.dynamicdrive.com/forums/s...ead.php?t=2867

    Anyways, the advice I gave there seems tailor made for your question. It might help if we could see the page as it now is. You could post a link to it.

    That Jim's menu I suggested can do all the stuff you are talking about including centering. A work around will be needed for newer versions of Firefox though as its creators deemed it necessary to prevent 'reposition on resize' which powers Jim's ability to stay centered. That work around could be to call the reposition with a 1 millisecond timeout. Gotta find it first.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •