Results 1 to 4 of 4

Thread: Jim's DHTML Menu V5.7

  1. #1
    Join Date
    Sep 2004
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Jim's DHTML Menu V5.7

    I'm having trouble with this menu: http://www.myskin-store.com/jane_iredale.html. When the page loads, the submenus are showing, and I can't figure out how to make them hide until a main menu is clicked.

    Here is the code I have so far in the config.js menu:


    function init()
    {
    //Main Menu items:
    menus[0] = new menu(22, "horizontal", 14, 203, 1, 1, "#E2E2F1", "#CBCBE5", "Arial,Helvetica", 10,
    "", "underline", "#4A4A95", "#4A4A95", 1, "#7E7EBE", 5, "", true, true, true, true, 6, false, 0, 0, "white");
    menus[0].addItem("#", "", 150, "left", "Shop By Skin Type", 1);
    menus[0].addItem("#", "", 150, "left", "Shop By Brand", 2);


    //Sub Menu for 2nd Main Menu Item ("Shop By Skin Type"):
    menus[1] = new menu(22, "horizontal", 200,230, -6, -4, "#E2E2F1", "#CBCBE5", "Arial,Helvetica", 10,
    "", "underline", "#4A4A95", "#4A4A95", 1, "#7E7EBE", 5, "", true, true, true, true, 6, false, 0, 0, "white");
    menus[1].addItem("http://www.myskin-store.com/normal.html", "", 150, "left", "Normal/Dry", 0);
    menus[1].addItem("http://www.myskin-store.com/oily.html", "", 150, "left", "Oily/Acne Prone", 0);
    menus[1].addItem("http://www.myskin-store.com/sensitive.html", "", 150, "left", "Sensitive", 0);
    menus[1].addItem("http://www.myskin-store.com/men.html", "", 150, "left", "Men's", 0);

    //Sub Menu for 3rd Main Menu Item ("Shop By Brand"):
    menus[2] = new menu(22, "horizontal", 200, 230, -6, -4, "#E2E2F1", "#CBCBE5", "Arial,Helvetica", 10,
    "", "underline", "#4A4A95", "#4A4A95", 1, "#7E7EBE", 5, "", true, true, true, true, 6, false, 0, 0, "white");
    menus[2].addItem("http://www.myskin-store.com/jane_iredale.html", "", 122, "left", "Jane Iredale", 0);
    menus[2].addItem("http://www.myskin-store.com/md_forte.html", "", 122, "left", "MD Forte", 0);
    menus[2].addItem("http://www.myskin-store.com/skin_medica.html", "", 122, "left", "Skin Medica", 0);
    menus[2].addItem("http://www.myskin-store.com/skinceuticals.html", "", 122, "left", "SkinCeuticals", 0);


    } //OUTER CLOSING BRACKET. EVERYTHING ADDED MUST BE ABOVE THIS LINE.


    Any help would be appreciated!!

    Thanks,

    Kelly

  2. #2
    Join Date
    Nov 2004
    Location
    Troy, NY
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I loaded your page and the submenus are hidden until you click on the main menu.

    I am using IE 6+ in Windows 2000.

    I wonder if your browser is the problem.

  3. #3
    Join Date
    Aug 2004
    Location
    Brighton
    Posts
    1,563
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I'm using FireFox under Windows Longhorn and there's also not a problem.

    cr3ative
    Last edited by cr3ative; 11-07-2004 at 08:13 AM. Reason: Forgot OS version
    A retired member, drop me a line through my site if you'd like to find me!
    cr3ative media | read the stickies

  4. #4
    Join Date
    Oct 2004
    Location
    Texas
    Posts
    54
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Windows XP Pro with IE 6+ on one computer, Windows 98SE and IE 5.5 on another, as well as Windows XP Home SP2 with IE 6+ and everything seems fine here.

    On both XP machines, Netscape 7.1 seems to like it too.

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
  •