Results 1 to 1 of 1

Thread: Jim's DHTML Menu V5.7

  1. #1
    Join Date
    Mar 2006
    Location
    Macomb, MI, USA
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Jim's DHTML Menu V5.7

    Sorry did not know this was such a big issue, please feel free to delete

    I have a website http://cds-shelby.johnswidorski.com that works differently in IE and Firefox.

    1) Looks like IE works.
    2) In Firefox are out of position and the bottom sub-menu justifies from bottom to top.

    I don't know what I am doing wrong with the script.

    I really like how the menu's look, just want them fixed.

    Thanks in Advance, John


    Code:
    function init()
    {
    	//Main Menu items:
    	menus[0] = new menu(22, "horizontal", 5, 110, 0, 125, "#009d00", "#ddd", "Verdana,Helvetica", 8, "bold", "bold", "black", "black", 1, "gray", 1, "rollover:images/tri-down1.gif:images/tri-down2.gif", false, true, true, true, 0, true, 3, 3, "black");
    	menus[0].addItem("default.asp", "", 75, "left", "     Home", 0);
    	menus[0].addItem("instoreservices.asp", "", 150, "left", "In-Store Services", 1);
    	menus[0].addItem("onsiteservices.asp", "", 150, "left", "On-Site Services", 2);
    	menus[0].addItem("productlist.asp", "", 125, "left", "Product Listing", 0);
    	menus[0].addItem("webdesign.asp", "", 100, "left", "Web Design", 0);
    	menus[0].addItem("about.asp", "", 80, "left", "About Us", 0);
    	menus[0].addItem("storelocator.asp", "", 125, "left", "Store Locator", 0);
    	menus[0].addItem("sitemap.asp", "", 90, "left", "Site Map", 0);
    
    //Sub Menu for 2nd Main Menu Item ("In-Store Services"):
    	menus[1] = new menu(200, "vertical", 0, 0, 0, 125, "#dddddd", "#009d00", "Arial, Verdana, Helvetica, sans-serif", 8, "bold", "bold", "black", "black", 1, "gray", 1,  "rollover:images/tri-right1.gif:images/tri-right2.gif", false, true, false, true, 0, true, 3, 3, "black");
    	menus[1].addItem("#", "", 22, "left", "Computer Repair", 3);
    	menus[1].addItem("#", "", 22, "left", "Networking", 4);
    	menus[1].addItem("#", "", 22, "left", "Computer Maintenance", 5);
    	menus[1].addItem("#", "", 22, "left", "Hardware", 6);
    
    //Sub Menu for 3rd Main Menu Item ("On-Site Services"):
    	menus[2] = new menu(200, "vertical", 0, 0, 0, 125, "#dddddd", "#009d00", "Arial, Verdana, Helvetica, sans-serif", 8, "bold", "bold", "black", "black", 1, "gray", 2, "rollover:images/tri-right1.gif:images/tri-right2.gif", false, true, false, false, 0, true, 3, 3, "black");
    	menus[2].addItem("#", "", 22, "left", "Computer Repair", 7);
    	menus[2].addItem("#", "", 22, "left", "Networking", 8);
    	menus[2].addItem("#", "", 22, "left", "Server Maintenance", 9);
    	menus[2].addItem("#", "", 22, "left", "Hardware", 10);
    
    //Sub Menu for Sub Menu "In-Store Services Computer Repair":
    	menus[3] = new menu(290, "vertical", 0, 0, 0, 0, "#dddddd", "009d00", "Arial, Verdana, Helvetica, sans-serif", 8, "bold", "bold", "black", "black", 1, "gray", 2, ">>", false, true, false, false, 0, true, 3, 3, "black");
    	menus[3].addItem("cr_diagnostics.asp", "", 22, "left", "Computer Diagnostic", 0);
    	menus[3].addItem("cr_virusremoval.asp", "", 22, "left", "Virus Removal", 0);
    	menus[3].addItem("cr_spywareremoval.asp", "", 22, "left", "Spyware Removal", 0);
    	menus[3].addItem("cr_diagncr_notebookscreenostics.asp", "", 22, "left", "Notebook Screen Replacement", 0);
    	menus[3].addItem("cr_notebookpower.asp", "", 22, "left", "Notebook Power Jack Repair & Replace", 0);
    
    //Sub Menu for 4th Main Menu Item ("In-Store Services Networking"):
    	menus[4] = new menu(290, "vertical", 0, 0,0, 0, "#dddddd", "#009d00", "Arial, Verdana, Helvetica, sans-serif", 8, "bold", "bold", "black", "black", 1, "gray", 2, ">>", false, true, false, false, 0, true, 3, 3, "black");
    	menus[4].addItem("n_customnetworkcables.asp", "", 22, "left", "Custom Network Cables", 0);
    
    //Sub Menu for 4th Main Menu Item ("In-Store Services Computer Maintenance"):
    	menus[5] = new menu(290, "vertical", 0, 0, 0, 0, "#dddddd", "#009d00", "Arial, Verdana, Helvetica, sans-serif", 8, "bold", "bold", "black", "black", 1, "gray", 2, ">>", false, true, false, false, 0, true, 3, 3, "black");
    	menus[5].addItem("cm_systemcleaning.asp", "", 22, "left", "System Cleaning", 0);
    	menus[5].addItem("cm_datatransfer.asp", "", 22, "left", "Data Transfer", 0);
    	menus[5].addItem("cm_softwareinstallation.asp", "", 22, "left", "Software Installation", 0);
    	menus[5].addItem("cm_driverinstallation.asp", "", 22, "left", "Driver Installation", 0);
    
    //Sub Menu for 4th Main Menu Item ("In-Store Services Hardware"):
    	menus[6] = new menu(290, "vertical", 0, 0,0, 0, "#dddddd", "#009d00", "Arial, Verdana, Helvetica, sans-serif", 8, "bold", "bold", "black", "black", 1, "gray", 2, ">>", false, true, false, false, 0, true, 3, 3, "black");
    	menus[6].addItem("h_motherboardinstallation.asp", "", 22, "left", "Motherboard Installation", 0);
    	menus[6].addItem("h_harddriveinstallation.asp", "", 22, "left", "Hard Drive Installation", 0);
    	menus[6].addItem("h_powersupply.asp", "", 22, "left", "Power Supply Installation", 0);
    	menus[6].addItem("h_biosflashing.asp", "", 22, "left", "BIOS Flashing Installation", 0);
    	menus[6].addItem("h_peripheralcards.asp", "", 22, "left", "Peripheral Card Installation", 0);
    	menus[6].addItem("h_firmwareupdates.asp", "", 22, "left", "Firmware Updates Installation", 0);
    	menus[6].addItem("h_raminstallation.asp", "", 22, "left", "RAM Installation", 0);
    
    //Sub Menu for 4th Main Menu Item ("On-Site Services Computer Repair"):
    	menus[7] = new menu(290, "vertical", 0, 0,0, 0, "#dddddd", "#009d00", "Arial, Verdana, Helvetica, sans-serif", 8, "bold", "bold", "black", "black", 1, "gray", 2, ">>", false, true, false, false, 0, true, 3, 3, "black");
    	menus[7].addItem("cr_diagnostics.asp", "", 22, "left", "Computer Diagnostic", 0);
    	menus[7].addItem("cr_virusremoval.asp", "", 22, "left", "Virus Removal", 0);
    	menus[7].addItem("cr_spywareremoval.asp", "", 22, "left", "Spyware Removal", 0);
    	menus[7].addItem("cr_diagncr_notebookscreenostics.asp", "", 22, "left", "Notebook Screen Replacement", 0);
    	menus[7].addItem("cr_notebookpower.asp", "", 22, "left", "Notebook Power Jack Repair & Replace", 0);
    
    //Sub Menu for 4th Main Menu Item ("On-Site Services Networking"):
    	menus[8] = new menu(290, "vertical", 0, 0,0, 0, "#dddddd", "#009d00", "Arial, Verdana, Helvetica, sans-serif", 8, "bold", "bold", "black", "black", 1, "gray", 2, ">>", false, true, false, false, 0, true, 3, 3, "black");
    	menus[8].addItem("cr_diagnostics.asp", "", 22, "left", "Computer Diagnostic", 0);
    	menus[8].addItem("cr_virusremoval.asp", "", 22, "left", "Virus Removal", 0);
    	menus[8].addItem("cr_spywareremoval.asp", "", 22, "left", "Spyware Removal", 0);
    	menus[8].addItem("cr_diagncr_notebookscreenostics.asp", "", 22, "left", "Notebook Screen Replacement", 0);
    	menus[8].addItem("cr_notebookpower.asp", "", 22, "left", "Notebook Power Jack Repair & Replace", 0);
    
    //Sub Menu for 4th Main Menu Item ("On-Site Services Server Maintenance"):
    	menus[9] = new menu(290, "vertical", 0, 0,0, 0, "#dddddd", "#009d00", "Arial, Verdana, Helvetica, sans-serif", 8, "bold", "bold", "black", "black", 1, "gray", 2, ">>", false, true, false, false, 0, true, 3, 3, "black");
    	menus[9].addItem("cr_diagnostics.asp", "", 22, "left", "Computer Diagnostic", 0);
    	menus[9].addItem("cr_virusremoval.asp", "", 22, "left", "Virus Removal", 0);
    	menus[9].addItem("cr_spywareremoval.asp", "", 22, "left", "Spyware Removal", 0);
    	menus[9].addItem("cr_diagncr_notebookscreenostics.asp", "", 22, "left", "Notebook Screen Replacement", 0);
    
    //Sub Menu for 4th Main Menu Item ("On-Site Services Hardware"):
    	menus[10] = new menu(290, "vertical", 0, 0,0, 0, "#dddddd", "#009d00", "Arial, Verdana, Helvetica, sans-serif", 8, "bold", "bold", "black", "black", 1, "gray", 2, ">>", false, true, false, false, 0, true, 3, 3, "black");
    	menus[10].addItem("h_hardwareinstallation.asp", "", 22, "left", "Harware Installation", 0);
    	menus[10].addItem("h_motherboardinstallation.asp", "", 22, "left", "Motherboard Installation", 0);
    	menus[10].addItem("h_harddriveinstallation.asp", "", 22, "left", "Hard Drive Installation", 0);
    	menus[10].addItem("h_powersupply.asp", "", 22, "left", "Power Supply Installation", 0);
    	menus[10].addItem("h_biosflashing.asp", "", 22, "left", "BIOS Flashing Installation", 0);
    	menus[10].addItem("h_peripheralcards.asp", "", 22, "left", "Peripheral Card Installation", 0);
    	menus[10].addItem("h_firmwareupdates.asp", "", 22, "left", "Firmware Updates Installation", 0);
    	menus[10].addItem("h_raminstallation.asp", "", 22, "left", "RAM Installation", 0);
    
    } //OUTER CLOSING BRACKET. EVERYTHING ADDED MUST BE ABOVE THIS LINE.
    Last edited by jswidorski; 05-06-2008 at 07:57 PM. Reason: Delete if moderated...

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
  •