Submit Your Article Forum Rules

Results 1 to 4 of 4

Thread: Javascript menu issues

  1. #1
    Senior Member ADAM Web Design's Avatar
    Join Date
    Dec 2003
    Posts
    2,172

    Javascript menu issues

    Hi there,

    Some of you (particularly speed, who's helped me more with this than anyone) may recognize this menu:

    http://216.89.218.233/lazerman/

    Specifically, the menu is in "Products". I've built this from scratch and got it working as a two-tiered menu. But I need to make it a three-tiered menu, and I've almost got it with two exceptions:

    1) In both IE and Firefox, there's a strange bug where if I hover over one menu item in the second tier of the submenu, and then move off of it to another menu item, the timeout for the clearing of the menus is still active (i.e. the timeout doesn't get cleared) and the menus disappear.

    2) In Firefox, the "scrollWidth" for the first tier of the submenu (used to establish the "left" CSS property for the second tier of the submenu) isn't calculated. The value comes up as a 1. Is there a Mozilla/FF-only equivalent to determining the width of a DIV should it not be explicitly defined during CSS? (The reason I'm doing it this way is because the entire menu is drawn from a database and may change on the fly.)

    Thanks, all.

  2. #2
    Senior Member wrmineo's Avatar
    Join Date
    Apr 2005
    Posts
    757
    Adam - you're way over my blonde head on this, so I'm not sure how much me saying "COOL" will actually mean to you, but Cool! :)

    I know how much you love to hate DW (see, I didn't even spell it out to help you keep down your breakfast) but I sometimes have found some useful info at http://www.projectseven.com/ - may give you some ideas if nothing else.
    W. R. Mineo

  3. #3
    WebProWorld MVP
    Join Date
    Aug 2003
    Posts
    1,039
    I had a quick look at this and nothing jumps out at me.

    http://www.htmldog.com/articles/suckerfish/dropdowns/ has fully working cascades but suffers with fixed width, I don't know if that's any use to you.

    I'm some what busy at the moment but if I get some spare time to go through this I'll have another look.

  4. #4
    Senior Member ADAM Web Design's Avatar
    Join Date
    Dec 2003
    Posts
    2,172
    Aw c'mon, speed. You're the only one who gets half of my problems anyway. :D

    Actually, that did give me a bit of an idea that I'll try when I get back from client meetings. I'll keep you posted. Thanks, dude.

    wrmineo: Thanks for the link, but it being a Dr*amw*av*r-style setup, it doesn't work for me.

Similar Threads

  1. CSS Menu + Cross Browser issues
    By ackerley1 in forum Graphics & Design Discussion Forum
    Replies: 5
    Last Post: 02-12-2010, 05:21 AM
  2. Javascript Jump Menu
    By dak888 in forum Web Programming Discussion Forum
    Replies: 11
    Last Post: 09-12-2008, 03:04 AM
  3. IE 6 and drop down menu issues
    By trancehead in forum Graphics & Design Discussion Forum
    Replies: 2
    Last Post: 07-16-2007, 02:26 AM
  4. CSS Menu Issues in FF
    By ackerley1 in forum Graphics & Design Discussion Forum
    Replies: 2
    Last Post: 06-09-2007, 10:23 PM
  5. SEO issues with menu and frames
    By kservik in forum Search Engine Optimization Forum
    Replies: 6
    Last Post: 10-06-2004, 08:33 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •