Jump to content

[SOLVED] dropdown menu help?


darkfreaks

Recommended Posts

how would i change something like this:

 

if(typeof(loc)=="undefined"||loc==""){var loc="";if(document.body&&document.body.innerHTML){var tt=document.body.innerHTML.toLowerCase();var last=tt.indexOf("berkeley.js\"");if(last>0){var first=tt.lastIndexOf("\"",last);if(first>0&&first<last)loc=document.body.innerHTML.substr(first+1,last-first-1);}}}

var bd=0
document.write("<style type=\"text/css\">");
document.write("\n<!--\n");
var tr="filter:alpha(opacity=80);";if(IE5) tr="";
document.write(".berkeley_menu {"+tr+"border-color:black;border-style:solid;border-width:"+bd+"px 0px "+bd+"px 0px;background-color:#7F0000;position:absolute;left:0px;top:0px;visibility:hidden;}");
document.write("a.berkeley_plain:link, a.berkeley_plain:visited{text-align:left;background-color:#7F0000;color:#FFFFFF;text-decoration:none;border-color:black;border-style:solid;border-width:0px "+bd+"px 0px "+bd+"px;padding:2px 0px 2px 0px;cursor:hand;display:block;font-size:9pt;font-family:Verdana, Arial, Helvetica, sans-serif;}");
document.write("a.berkeley_plain:hover, a.berkeley_plain:active{background-color:#7F0000;color:#FFFFFF;text-decoration:none;border-color:black;border-style:solid;border-width:0px "+bd+"px 0px "+bd+"px;padding:2px 0px 2px 0px;cursor:hand;display:block;font-size:9pt;font-family:Verdana, Arial, Helvetica, sans-serif;}");
document.write("a.berkeley_l:link, a.berkeley_l:visited{text-align:left;background:#7F0000 url("+loc+"berkeley_l.gif) no-repeat right;;color:#FFFFFF;text-decoration:none;border-color:black;border-style:solid;border-width:0px "+bd+"px 0px "+bd+"px;padding:2px 0px 2px 0px;cursor:hand;display:block;font-size:9pt;font-family:Verdana, Arial, Helvetica, sans-serif;}");
document.write("a.berkeley_l:hover, a.berkeley_l:active{background:#7F0000 url("+loc+"berkeley_l.gif) no-repeat right;color: #FFFFFF;text-decoration:none;border-color:black;border-style:solid;border-width:0px "+bd+"px 0px "+bd+"px;padding:2px 0px 2px 0px;cursor:hand;display:block;font-size:9pt;font-family:Verdana, Arial, Helvetica, sans-serif;}");
document.write("\n-->\n");
document.write("</style>");

var fc=0xffffff;
var bc=0x000000;
if(typeof(frames)=="undefined"){var frames=6;if(frames>0)animate();}

startMainMenu("",0,0,2,0,0)
mainMenuItem("berkeley_b1",".gif",17,111,"index.htm","","WWCF",2,2,"berkeley_plain");
mainMenuItem("berkeley_b2",".gif",17,111,"javascript:;","","NON MEMBERS",2,2,"berkeley_plain");
mainMenuItem("berkeley_b3",".gif",17,111,"javascript:;","","MEMBERS",2,2,"berkeley_plain");
mainMenuItem("berkeley_b4",".gif",17,111,"javascript:;","","SHOWS",2,2,"berkeley_plain");
mainMenuItem("berkeley_b5",".gif",17,111,"javascript:;","","BOARDS",2,2,"berkeley_plain");
mainMenuItem("berkeley_b6",".gif",17,111,"javascript:;","","XTRAS",2,2,"berkeley_plain");
mainMenuItem("berkeley_b7",".gif",17,111,"javascript:;","","LINKS",2,2,"berkeley_plain");
endMainMenu("",0,0);

startSubmenu("berkeley_b7","berkeley_menu",111);
submenuItem("Pro Wrestling Pix","http://www.pwpix.net/","","berkeley_plain");
submenuItem("NCWA","http://www.freewebs.com/cartery2j/-%20New%20Folder/home.htm","","berkeley_plain");
submenuItem("WWCF On Facebook","http://www.facebook.com/home.php#/group.php?gid=75243126208&ref=mf","","berkeley_plain");
endSubmenu("berkeley_b7");

startSubmenu("berkeley_b6","berkeley_menu",111);
submenuItem("Special","special.htm","","berkeley_plain");
endSubmenu("berkeley_b6");

startSubmenu("berkeley_b5","berkeley_menu",111);
submenuItem("RP Board","http://members4.boardhost.com/UAWA2001/ ","","berkeley_plain");
submenuItem("O.C.C Board","http://members4.boardhost.com/UAWA/","","berkeley_plain");
endSubmenu("berkeley_b5");

startSubmenu("berkeley_b4","berkeley_menu",111);
submenuItem("Khaos Card","pulsecard.htm","","berkeley_plain");
submenuItem("Khaos Results","pulseresults.htm","","berkeley_plain");
submenuItem("P.P.V Card","ppvcard.htm","","berkeley_plain");
submenuItem("P.P.V Results","ppvresults.htm","","berkeley_plain");
endSubmenu("berkeley_b4");

startSubmenu("berkeley_b3","berkeley_menu",111);
submenuItem("WWCF Roster","roster.htm","","berkeley_plain");
submenuItem("Champions","champions.htm","","berkeley_plain");
submenuItem("Title History","history.htm","","berkeley_plain");
submenuItem("Archives","archives.htm","","berkeley_plain");
submenuItem("Legends","legends.htm","","berkeley_plain");
submenuItem("Rankings","rankings.htm","","berkeley_plain");
submenuItem("News","news.htm","","berkeley_plain");
endSubmenu("berkeley_b3");

startSubmenu("berkeley_b2","berkeley_menu",111);
submenuItem("Join","application.htm","","berkeley_plain");
submenuItem("Rules","rules.htm","","berkeley_plain");
submenuItem("Staff","staff.htm","","berkeley_plain");
endSubmenu("berkeley_b2");

loc="";

to this:

http://javascript.internet.com/navigation/dropdown-menu.html

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.