PDA

View Full Version : Help needed for gringo....



paynecou
03-17-2005, 04:03 PM
I am using, or trying to use... Jim's DHTML Menu v5.7

I can not get the submenus to work correctly. and I am new to this, totally new. Here is the script.....

function init()
{
//Main Menu items:
menus[0] = new menu(22, "horizontal", 160, 10, -2, -2, "#CACAFF", "#0000A0", "Verdana,Helvetica", 9,
"bold", "bold", "black", "white", 1, "gray", 2, "rollover:images/tri-down1.gif:images/tri-down2.gif", false, true, true, true, 12, true, 4, 4, "black");
menus[0].addItem("http://www.paynecountyline.com/artist_pages/BMS/bmstest.htm", "", 100, "center", "BMS Home", 0);
menus[0].addItem("#", "", 120, "center", "BMS News", 1);
menus[0].addItem("#", "", 150, "center", "BMS Multimedia", 2);
menus[0].addItem("#", "", 110, "center", "BMS Artist", 4);
menus[0].addItem("#", "", 110, "center", "BMS Venues", 5);
menus[0].addItem("#", "", 150, "center", "BMS Contact Us", 6);

//Sub Menu for 2nd Main Menu Item ("BMS News"):
menus[1] = new menu(135, "vertical", 10, 10, -1, -1, "#CACAFF", "#0000A0", "Verdana,Helvetica", 9, "bold",
"bold", "black", "white", 1, "gray", 2, 62, false, true, false, true, 6, true, 4, 4, "black");
menus[1].addItem("http://launch.groups.yahoo.com/group/TheBartlesvillemusicscene/cal", "NEWWIN", 22, "left", "BMS Calendar", 0);
menus[1].addItem("http://launch.groups.yahoo.com/group/TheBartlesvillemusicscene/", "NEWWIN", 22, "left", "BMS Forum", 0);
menus[1].addItem("http://bartlesvillemusic.blogspot.com/", "NEWWIN", 22, "left", "BMS Blog", 0);
menus[1].addItem("http://www.paynecountyline.com/artist_pages/BMS/BMS%20AskBartender.htm", "", 40, "left", "BMS Ask The Bartender", 0);
menus[1].addItem("http://www.paynecountyline.com/artist_pages/BMS/BMSStevenMatthewsCDRelRDB.htm", "", 40, "left", "BMS CD Release", 0);
menus[1].addItem("http://www.paynecountyline.com/artist_pages/BMS/BMSbenefit.htm", "", 40, "left", "BMS Benefits/Jams", 0);

//Sub Menu for 3rd Main Menu Item ("BMS MultiaMedia"):
menus[2] = new menu(130, "vertical", 10, 10, -1, -1, "#CACAFF", "#0000A0", "Verdana,Helvetica", 9, "bold",
"bold", "black", "white", 1, "gray", 2, "rollover:images/tri-right1.gif:images/tri-right2.gif", false, true, false, false, 0, true, 4, 4, "black");
menus[2].addItem("http://www.dotphoto.com/GuestViewAlbum.asp?AID=2237861", "", 40, "left", "BMS Photography", 0);
menus[2].addItem("", "", 22, "left", "BMS Video", 0);
//menus[2].addItem("", "", 22, "left", "not used", 0);
menus[2].addItem("", "", 22, "left", "BMS Sound", 3);

//Sub Menu for Sub Menu "BMS Sound":
menus[3] = new menu(135, "vertical", 0, 0, 0, 0, "#E1E1E1", "black", "Verdana,Helvetica", 9, "bold", "bold", "black", "white", 1, "gray", 2, 62, false, true, false, false, 0, true, 4, 4, "black");
menus[3].addItem("http://www.paynecountyline.com/artist_pages/BMS/bmsvarioustunes.htm", "", 40, "left", "BMS Various Tunes", 0);
menus[3].addItem("http://www.paynecountyline.com/Radio/radio.blog/radioblog.swf", "NEWWIN", 22, "left", "BMS Jukebox", 0);

//Sub Menu for 4th Main Menu Item ("BMS Artist"):
menus[4] = new menu(130, "vertical", 10, 10, -1, -1, "#CACAFF", "#0000A0", "Verdana,Helvetica", 9, "bold", "bold", "black", "white", 1, "gray", 2, 62, false, true, false, false, 0, true, 4, 4, "black");
menus[4].addItem("", "", 40, "left", "BMS Interviews", 7);

//Sub Menu for Sub Menu "BMS Interviews":
menus[7] = new menu(135, "vertical", 0, 0, 0, 0, "#E1E1E1", "black", "Verdana,Helvetica", 9, "bold", "bold", "black", "white", 1, "gray", 2, 62, false, true, false, false, 0, true, 4, 4, "black");
menus[7].addItem("http://www.paynecountyline.com/artist_pages/BMS/bmsinterviewbeckyhobbs.htm", "", 40, "left", "BMS Becky Hobbs", 0);
menus[7].addItem("http://www.paynecountyline.com/artist_pages/BMS/bmsDJWalsh05.htm", "", 40, "left", "BMS Danny Jo Walsh", 0);
menus[7].addItem("http://www.paynecountyline.com/artist_pages/BMS/bmsinterveiwsDonnMcCallister%20RLC.htm", "", 40, "left", "BMS Donn McCallister", 0);
menus[7].addItem("http://www.paynecountyline.com/artist_pages/BMS/bmsinterveiwsdeeper2.htm", "", 40, "left", "BMS Joshua Wadsworth", 0);
menus[7].addItem("http://www.paynecountyline.com/artist_pages/BMS/BMSinterviewKyleBrown.htm", "", 40, "left", "BMS Kyle Brown", 0);
menus[7].addItem("http://www.paynecountyline.com/artist_pages/BMS/bmsinterveiwsdeeper.htm", "", 40, "left", "BMS Lawrence VanAtta", 0);
menus[7].addItem("http://www.paynecountyline.com/artist_pages/BMS/BMSinterviewruebenforemandeeper05.htm", "", 40, "left", "BMS Rueben Foreman", 0);
menus[7].addItem("http://www.paynecountyline.com/artist_pages/BMS/bmsinterveiwsstevesutherland.htm", "", 40, "left", "BMS Steve Sutherland", 0);
//Sub Menu for 4th Main Menu Item ("BMS Artist"):
menus[4].addItem("http://www.paynecountyline.com/artist_pages/BMS/bmsclassifieds.htm", "", 40, "left", "BMS Classfieds", 0);
menus[4].addItem("", "", 22, "left", "BMS Reviews", 8);

//Sub Menu for Sub Menu "BMS Reviews":
menus[8] = new menu(135, "vertical", 0, 0, 0, 0, "#E1E1E1", "black", "Verdana,Helvetica", 9, "bold", "bold", "black", "white", 1, "gray", 2, 62, false, true, false, false, 0, true, 4, 4, "black");
menus[8].addItem("http://www.paynecountyline.com/artist_pages/BMS/bmsreviewsub.htm", "", 40, "left", "BMS Steven Matthews & Deeper", 0);


//menus[4].addItem("javascript:alert('hi')", "", 22, "left", "not used", 0);

//Sub Menu for 5th Main Menu Item ("BMS Venues"):
menus[5] = new menu(130, "vertical", 0, 0, 0, 0, "#CACAFF", "#0000A0", "Verdana,Helvetica", 9, "bold", "bold", "black", "white", 1, "gray", 2, ">>", false, true, false, false, 0, true, 4, 4, "black");
menus[5].addItem("http://www.paynecountyline.com/artist_pages/BMS/BMSvenues.htm", "", 40, "left", "BMS Venues", 0);
menus[5].addItem("http://www.paynecountyline.com/artist_pages/BMS/BMSvenuereview.htm", "", 22, "left", "BMS Venue Reviews", 0);

//Sub Menu for 6th Main Menu Item ("BMS Contact US"):
menus[6] = new menu(130, "vertical", 0, 0, 0, 0, "#CACAFF", "#0000A0", "Verdana,Helvetica", 9, "bold", "bold", "black", "white", 1, "gray", 2, ">>", false, true, false, false, 0, true, 4, 4, "black");
menus[6].addItem("http://www.paynecountyline.com/artist_pages/BMS/BMSContactUs.htm", "", 40, "left", "BMS Contact Us!", 0);
//menus[6].addItem("http://www.paynecountyline.com/artist_pages/BMS/bmsreviews.htm", "", 22, "left", "BMS Reviews", 0);

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

Can you tell me what I need to do to fix this menu so it works correctly? I would like the sub's to come up and then close after taking mouse off of them. The way it is, they open, and stay open. I am sure it is simply, but not when someone like me, with zero knowledge tries to make them work. haha..

thanks.. stan@paynecountyline.com

If i have something not right, please let me know. Also, if I have taken someting out that belongs in, please tell me too.. thanks..