PDA

View Full Version : How can I add DHTML menu to header?


SBlueman
05-06-2007, 08:54 PM
I have a DHTL menu on my current site and am in the process of changing my site over from phpbb to vbulletin. With phpbb all I had to do was edit the overall_header.tpl file and add the following:

Copy and paste this to the <HEAD>...</HEAD> of HTML Page:
<script type="text/javascript" language="JavaScript1.2" src="stmenu.js"></script>

Copy and paste this to the <BODY>...</BODY> of HTML Page:
<script type="text/javascript" language="JavaScript1.2">
<!--
stm_bm(["menu4f76",720,"","blank.gif",0,"","",0,0,0,0,0,1,1,1,"","",0,0,1,1,"default","hand",""],this);
stm_bp("p0",[0,4,0,0,2,2,20,7,100,"",-2,"",-2,100,0,0,"#000000","#000000","",0,0,0,"#d6d6d6 #999999 #999999 #ffffff"]);
stm_ai("p0i0",[0,"Forums","","",-1,-1,0,"","_self","","","","",0,0,0,"arrow_r.gif","arrow_r.gif",7,7,0,1,1,"8b0000",0,"FFFFFF",0,"","",3,3,0,0,"#ffffff","#3399cc","#FFFFFF","8b0000","bold 9pt Verdana","bold 9pt Verdana",0,0],126,0);
stm_bpx("p1","p0",[1,4,0,0,2,2,0,7,100,"",-2,"",-2,52]);
stm_aix("p1i0","p0i0",[0,"Login","","",-1,-1,0,"http://www.forums.gridironfans.com/login.php","_self","","","","",0,0,0,"","",0,0,0,1,1,"8b0000",0,"#FFFFFF"],215,0);
stm_aix("p1i1","p1i0",[0,"Register","","",-1,-1,0,"http://forums.gridironfans.com/profile.php?mode=register"],215,0);
stm_aix("p1i2","p1i0",[0,"Forum Index","","",-1,-1,0,"http://www.forums.gridironfans.com/index.php"],215,0);
stm_aix("p1i3","p1i0",[0,"Football Forums","","",-1,-1,0,"http://www.forums.gridironfans.com/index.php?c=19","_self","","Enter our NFL Forums","","",0,0,0,"arrow_r.gif","arrow_r.gif",7,7],215,0);
stm_bpx("p2","p1",[1,2,0,0,2,2,0,0]);
stm_aix("p2i0","p1i0",[0,"Latest NFL Headlines","","",-1,-1,0,"http://www.forums.gridironfans.com/viewforum.php?f=274"],200,0);
stm_aix("p2i1","p1i0",[0,"AFC Discussion","","",-1,-1,0,"http://www.forums.gridironfans.com/viewforum.php?f=269"],200,0);
stm_aix("p2i2","p1i0",[0,"NFC Discussion","","",-1,-1,0,"http://www.forums.gridironfans.com/viewforum.php?f=271"],200,0);
stm_aix("p2i3","p1i0",[0,"General Football Discussion","","",-1,-1,0,"http://www.forums.gridironfans.com/viewforum.php?f=273"],200,0);
stm_aix("p2i4","p1i0",[0,"NCAA/NFL Draft Discussion","","",-1,-1,0,"http://www.forums.gridironfans.com/viewforum.php?f=275"],200,0);
stm_aix("p2i5","p1i0",[0,"NFL Smack Central","","",-1,-1,0,"http://www.forums.gridironfans.com/viewforum.php?f=246"],200,0);
stm_ep();
stm_aix("p1i4","p1i3",[0,"Outside The Lines","","",-1,-1,0,"http://www.forums.gridironfans.com/index.php?c=2","_self","","(Must Be Registered To View)"],215,0);
stm_bpx("p3","p2",[]);
stm_aix("p3i0","p1i0",[0,"The Lounge","","",-1,-1,0,"http://www.forums.gridironfans.com/viewforum.php?f=3"],200,0);
stm_aix("p3i1","p1i0",[0,"Other Sports","","",-1,-1,0,"http://www.forums.gridironfans.com/viewforum.php?f=202"],200,0);
stm_aix("p3i2","p1i0",[0,"Viral Videos","","",-1,-1,0,"http://www.forums.gridironfans.com/viewforum.php?f=268"],200,0);
stm_aix("p3i3","p1i0",[0,"Fight Club!","","",-1,-1,0,"http://www.forums.gridironfans.com/viewforum.php?f=5"],200,0);
stm_ep();
stm_aix("p1i5","p1i4",[0,"V.I.P. Section","","",-1,-1,0,"http://www.forums.gridironfans.com/index.php?c=14"],215,0);
stm_bpx("p4","p2",[]);
stm_aix("p4i0","p1i0",[0,"Smut Central","","",-1,-1,0,"http://www.forums.gridironfans.com/viewforum.php?f=150","_self","","Must be 18 or older to view. Contact Rob for access."],200,0);
stm_aix("p4i1","p1i0",[0,"Torrents Warehouse","","",-1,-1,0,"http://www.forums.gridironfans.com/viewforum.php?f=246","_self","","VIP Forum - Must have over 1,000 posts for access"],200,0);
stm_aix("p4i2","p1i0",[0,"Opie & Anthony/Ron & Fez","","",-1,-1,0,"http://www.forums.gridironfans.com/viewforum.php?f=246","_self","","Private Forum. Contact ParanoidMike or tstlkevanilla for access"],200,0);
stm_ep();
stm_aix("p1i6","p1i0",[0,"Search Forums","","",-1,-1,0,"http://www.forums.gridironfans.com/search.php"],215,0);
stm_aix("p1i7","p1i3",[0,"Member Features","","",-1,-1,0,"","_self","",""],215,0);
stm_bpx("p5","p2",[]);
stm_aix("p5i0","p1i0",[0,"View Profile","","",-1,-1,0,"http://forums.gridironfans.com/profile.php?mode=viewprofile"],215,0);
stm_aix("p5i1","p1i0",[0,"Edit Profile","","",-1,-1,0,"http://forums.gridironfans.com/profile.php?mode=editprofile"],215,0);
stm_aix("p5i2","p1i0",[0,"Private Message Inbox","","",-1,-1,0,"http://www.forums.gridironfans.com/privmsg.php?folder=inbox"],215,0);
stm_aix("p5i3","p1i0",[0,"Mail2Forum","","",-1,-1,0,"http://www.forums.gridironfans.com/m2f_usercp.php"],215,0);
stm_ep();
stm_aix("p1i8","p1i0",[0,"Forum Rules","","",-1,-1,0,"http://forums.gridironfans.com/rules.php"],215,0);
stm_ep();
stm_aix("p0i1","p0i0",[0,"NFL Blogs","","",-1,-1,0,"","_self","","","nfl.gif","nfl.gif",20,20],126,0);
stm_bpx("p6","p2",[1,4,0,0,2,2,20]);
stm_aix("p6i0","p1i0",[0,"NFL Blogs Home","","",-1,-1,0,"http://forums.gridironfans.com/weblogs.php"],255,0);
stm_aix("p6i1","p1i0",[0,"NFL Blogs Latest News","","",-1,-1,0,"http://forums.gridironfans.com/weblogs_news.php"],255,0);
stm_ai("p6i2",[6,1,"#000000","",-1,-1,0]);
stm_aix("p6i3","p1i0",[0,"Any Day I Feel Like Quarterback","","",-1,-1,0,"http://forums.gridironfans.com/weblog.php?w=11","_self","","Author: Chrisbob","nfl.gif","nfl.gif",20,20],255,0);
stm_aix("p6i4","p6i3",[0,"Bengal Blog","","",-1,-1,0,"http://forums.gridironfans.com/weblog.php?w=13","_self","","Author: br0ther06","bengals.gif","bengals.gif"],255,0);
stm_aix("p6i5","p6i3",[0,"Big Steeler Blog","","",-1,-1,0,"http://forums.gridironfans.com/weblog.php?w=9","_self","","Author: Anidem","steelers.gif","steelers.gif"],255,0);
stm_aix("p6i6","p6i3",[0,"Breesus Saved The Saints","","",-1,-1,0,"http://forums.gridironfans.com/weblog.php?w=2","_self","","Author: SaintsFan1972","saints.gif","saints.gif"],255,0);
stm_aix("p6i7","p6i3",[0,"Cardinals Blog","","",-1,-1,0,"http://forums.gridironfans.com/weblog.php?w=7","_self","","Author: WOODDRIVER","cardinals.gif","cardinals.gif"],255,0);
stm_aix("p6i8","p6i3",[0,"Cowboy Blog","","",-1,-1,0,"http://forums.gridironfans.com/weblog.php?w=3","_self","","Author: TJ","cowboys.gif","cowboys.gif"],255,0);
stm_aix("p6i9","p6i3",[0,"NY JETS ROCK","","",-1,-1,0,"http://forums.gridironfans.com/weblog.php?w=14","_self","","Author: timbok","jets.gif","jets.gif"],255,0);
stm_aix("p6i10","p6i3",[0,"Packer Blog","","",-1,-1,0,"http://forums.gridironfans.com/weblog.php?w=5","_self","","Author: ollysj","packers.gif","packers.gif"],255,0);
stm_aix("p6i11","p6i3",[0,"Philadelphia Eagles Blog","","",-1,-1,0,"http://forums.gridironfans.com/weblog.php?w=6","_self","","Author: burnout2oo7","eagles.gif","eagles.gif"],255,0);
stm_aix("p6i12","p6i5",[0,"Pittsburgh Steelers Blog","","",-1,-1,0,"http://forums.gridironfans.com/weblog.php?w=8","_self","","Author: Matt314hew"],255,0);
stm_aix("p6i13","p6i3",[0,"The Britskin Blog","","",-1,-1,0,"http://forums.gridironfans.com/weblog.php?w=10","_self","","Author: PSID412USM","redskins.gif","redskins.gif"],255,0);
stm_aix("p6i14","p6i3",[0,"The Real Teal","","",-1,-1,0,"http://forums.gridironfans.com/weblog.php?w=15","_self","","Author: jagfangirl27","jaguars.gif","jaguars.gif"],255,0);
stm_aix("p6i15","p6i3",[0,"Titans Uncensored!","","",-1,-1,0,"http://forums.gridironfans.com/weblog.php?w=1","_self","","Author: SteveRobWhatever","titans.gif","titans.gif"],255,0);
stm_aix("p6i16","p6i2",[]);
stm_aix("p6i17","p1i0",[0,"Join The Blog Team, Click Here!","","",-1,-1,0,"http://www.forums.gridironfans.com/viewtopic.php?t=45035"],255,0);
stm_ep();
stm_aix("p0i2","p0i1",[0,"NFL News"],126,0);
stm_bpx("p7","p2",[1,4]);
stm_aix("p7i0","p1i0",[0,"NFL News Front Page","","",-1,-1,0,"http://gridironfans.com/"],200,0);
stm_aix("p7i1","p1i0",[0,"Today\'s Top Headline","","",-1,-1,0,"http://www.gridironfans.com/#topstory"],200,0);
stm_aix("p7i2","p1i0",[0,"More NFL News","","",-1,-1,0,"http://www.gridironfans.com/#headlines"],200,0);
stm_aix("p7i3","p1i0",[0,"NFL Rumors","","",-1,-1,0,"http://www.gridironfans.com/?tag=rumor"],200,0);
stm_aix("p7i4","p1i0",[0,"NFL Transactions","","",-1,-1,0,"http://www.gridironfans.com/?tag=transaction"],200,0);
stm_aix("p7i5","p1i0",[0,"Injury News","","",-1,-1,0,"http://www.gridironfans.com/?tag=injury"],200,0);
stm_aix("p7i6","p1i0",[0,"NFL Draft News","","",-1,-1,0,"http://www.gridironfans.com/?tag=draft"],200,0);
stm_aix("p7i7","p1i0",[0,"League News","","",-1,-1,0,"http://www.gridironfans.com/?tag=nfl"],200,0);
stm_aix("p7i8","p1i0",[0,"NFL RSS Feeds","","",-1,-1,0,"http://www.gridironfans.com/feeds.php"],200,0);
stm_ep();
stm_aix("p0i3","p0i1",[0,"AFC News","","",-1,-1,0,"","_self","","","afc.gif","afc.gif"],126,0);
stm_bpx("p8","p1",[1,4,0,0,2,2,20]);
stm_aix("p8i0","p6i3",[0,"AFC Conference News","","",-1,-1,0,"http://www.gridironfans.com/index.php?tag=afc","_self","","View All AFC Conference News","afc.gif","afc.gif"],200,0);
stm_aix("p8i1","p1i3",[0,"AFC East News","","",-1,-1,0,"http://www.gridironfans.com/index.php?tag=afceast","_self","","View All AFC East News","afc.gif","afc.gif",20,20],200,0);
stm_bpx("p9","p6",[1,2]);
stm_aix("p9i0","p6i3",[0,"Buffalo Bills","","",-1,-1,0,"http://www.gridironfans.com/index.php?tag=bills","_self","","","bills.gif","bills.gif"],200,0);
stm_aix("p9i1","p6i3",[0,"Miami Dolphins","","",-1,-1,0,"http://www.gridironfans.com/index.php?tag=dolphins","_self","","","dolphins.gif","dolphins.gif"],200,0);
stm_aix("p9i2","p6i3",[0,"New England Patriots","","",-1,-1,0,"http://www.gridironfans.com/index.php?tag=patriots","_self","","","patriots.gif","patriots.gif"],200,0);
stm_aix("p9i3","p6i9",[0,"New York Jets","","",-1,-1,0,"http://www.gridironfans.com/index.php?tag=jets","_self","",""],200,0);
stm_ep();
stm_aix("p8i2","p8i1",[0,"AFC North News","","",-1,-1,0,"http://www.gridironfans.com/index.php?tag=afcnorth","_self","","View All AFC North News"],200,0);
stm_bpx("p10","p9",[]);
stm_aix("p10i0","p6i3",[0,"Baltimore Ravens","","",-1,-1,0,"http://www.gridironfans.com/index.php?tag=ravens","_self","","","ravens.gif","ravens.gif"],200,0);
stm_aix("p10i1","p6i4",[0,"Cincinnati Bengals","","",-1,-1,0,"http://www.gridironfans.com/index.php?tag=bengals","_self","",""],200,0);
stm_aix("p10i2","p6i3",[0,"Cleveland Browns","","",-1,-1,0,"http://www.gridironfans.com/index.php?tag=browns","_self","","","browns.gif","browns.gif"],200,0);
stm_aix("p10i3","p6i5",[0,"Pittsburgh Steelers","","",-1,-1,0,"http://www.gridironfans.com/index.php?tag=steelers","_self","",""],200,0);
stm_ep();
stm_aix("p8i3","p8i1",[0,"AFC South News","","",-1,-1,0,"http://www.gridironfans.com/index.php?tag=afcsouth","_self","","View All AFC South News"],200,0);
stm_bpx("p11","p9",[]);
stm_aix("p11i0","p6i3",[0,"Houston Texans","","",-1,-1,0,"http://www.gridironfans.com/index.php?tag=texans","_self","","","texans.gif","texans.gif"],200,0);
stm_aix("p11i1","p6i3",[0,"Indianapolis Colts","","",-1,-1,0,"http://www.gridironfans.com/index.php?tag=colts","_self","","","colts.gif","colts.gif"],200,0);
stm_aix("p11i2","p6i14",[0,"Jacksonville Jaguars","","",-1,-1,0,"http://www.gridironfans.com/index.php?tag=jaguars","_self","",""],200,0);
stm_aix("p11i3","p6i15",[0,"Tennessee Titans","","",-1,-1,0,"http://www.gridironfans.com/index.php?tag=titans","_self","",""],200,0);
stm_ep();
stm_aix("p8i4","p8i1",[0,"AFC West News","","",-1,-1,0,"http://www.gridironfans.com/index.php?tag=afcwest","_self","","View All AFC West News"],200,0);
stm_bpx("p12","p9",[]);
stm_aix("p12i0","p6i3",[0,"Denver Broncos","","",-1,-1,0,"http://www.gridironfans.com/index.php?tag=broncos","_self","","","broncos.gif","broncos.gif"],200,0);
stm_aix("p12i1","p6i3",[0,"Kansas City Chiefs","","",-1,-1,0,"http://www.gridironfans.com/index.php?tag=chiefs","_self","","","chiefs.gif","chiefs.gif"],200,0);
stm_aix("p12i2","p6i3",[0,"Oakland Raiders","","",-1,-1,0,"http://www.gridironfans.com/index.php?tag=raiders","_self","","","raiders.gif","raiders.gif"],200,0);
stm_aix("p12i3","p6i3",[0,"San Diego Chargers","","",-1,-1,0,"http://www.gridironfans.com/index.php?tag=chargers","_self","","","chargers.gif","chargers.gif"],200,0);
stm_ep();
stm_ep();
stm_aix("p0i4","p0i1",[0,"NFC News","","",-1,-1,0,"","_self","","","nfc.gif","nfc.gif"],126,0);
stm_bpx("p13","p8",[]);
stm_aix("p13i0","p6i3",[0,"NFC Conference News","","",-1,-1,0,"http://www.gridironfans.com/index.php?tag=nfc","_self","","View All NFC Conference News","nfc.gif","nfc.gif"],200,0);
stm_aix("p13i1","p8i1",[0,"NFC East News","","",-1,-1,0,"http://www.gridironfans.com/index.php?tag=nfceast","_self","","View All NFC East News","nfc.gif","nfc.gif"],200,0);
stm_bpx("p14","p9",[]);
stm_aix("p14i0","p6i8",[0,"Dallas Cowboys","","",-1,-1,0,"http://www.gridironfans.com/index.php?tag=cowboys","_self","",""],200,0);
stm_aix("p14i1","p6i3",[0,"New York Giants","","",-1,-1,0,"http://www.gridironfans.com/index.php?tag=giants","_self","","","giants.gif","giants.gif"],200,0);
stm_aix("p14i2","p6i11",[0,"Philadelphia Eagles","","",-1,-1,0,"http://www.gridironfans.com/index.php?tag=eagles","_self","",""],200,0);
stm_aix("p14i3","p6i13",[0,"Washington Redskins","","",-1,-1,0,"http://www.gridironfans.com/index.php?tag=redskins","_self","",""],200,0);
stm_ep();
stm_aix("p13i2","p13i1",[0,"NFC North News","","",-1,-1,0,"http://www.gridironfans.com/index.php?tag=nfcnorth","_self","","View All NFC North News"],200,0);
stm_bpx("p15","p9",[]);
stm_aix("p15i0","p6i3",[0,"Chicago Bears","","",-1,-1,0,"http://www.gridironfans.com/index.php?tag=bears","_self","","","bears.gif","bears.gif"],200,0);
stm_aix("p15i1","p6i3",[0,"Detroit Lions","","",-1,-1,0,"http://www.gridironfans.com/index.php?tag=lions","_self","","","lions.gif","lions.gif"],200,0);
stm_aix("p15i2","p6i10",[0,"Green Bay Packers","","",-1,-1,0,"http://www.gridironfans.com/index.php?tag=packers","_self","",""],200,0);
stm_aix("p15i3","p6i3",[0,"Minnesota Vikings","","",-1,-1,0,"http://www.gridironfans.com/index.php?tag=vikings","_self","","","vikings.gif","vikings.gif"],200,0);
stm_ep();
stm_aix("p13i3","p13i1",[0,"NFC South News","","",-1,-1,0,"http://www.gridironfans.com/index.php?tag=nfcsouth","_self","","View All NFC South News"],200,0);
stm_bpx("p16","p9",[]);
stm_aix("p16i0","p6i3",[0,"Atlanta Falcons","","",-1,-1,0,"http://www.gridironfans.com/index.php?tag=falcons","_self","","","falcons.gif","falcons.gif"],200,0);
stm_aix("p16i1","p6i3",[0,"Carolina Panthers","","",-1,-1,0,"http://www.gridironfans.com/index.php?tag=panthers","_self","","","panthers.gif","panthers.gif"],200,0);
stm_aix("p16i2","p6i6",[0,"New Orleans Saints","","",-1,-1,0,"http://www.gridironfans.com/index.php?tag=saints","_self","",""],200,0);
stm_aix("p16i3","p6i3",[0,"Tampa Bay Buccaneers","","",-1,-1,0,"http://www.gridironfans.com/index.php?tag=buccaneers","_self","","","buccaneers.gif","buccaneers.gif"],200,0);
stm_ep();
stm_aix("p13i4","p13i1",[0,"NFC West News","","",-1,-1,0,"http://www.gridironfans.com/index.php?tag=nfcwest","_self","","View All NFC West News"],200,0);
stm_bpx("p17","p9",[]);
stm_aix("p17i0","p6i7",[0,"Arizona Cardinals","","",-1,-1,0,"http://www.gridironfans.com/index.php?tag=cardinals","_self","",""],200,0);
stm_aix("p17i1","p6i3",[0,"Saint Louis Rams","","",-1,-1,0,"http://www.gridironfans.com/index.php?tag=rams","_self","","","rams.gif","rams.gif"],200,0);
stm_aix("p17i2","p6i3",[0,"San Francisco 49ers","","",-1,-1,0,"http://www.gridironfans.com/index.php?tag=49ers","_self","","","49ers.gif","49ers.gif"],200,0);
stm_aix("p17i3","p6i3",[0,"Seattle Seahawks","","",-1,-1,0,"http://www.gridironfans.com/index.php?tag=seahawks","_self","","","seahawks.gif","seahawks.gif"],200,0);
stm_ep();
stm_ep();
stm_aix("p0i5","p0i0",[0,"Site Extras"],126,0);
stm_bpx("p18","p1",[]);
stm_aix("p18i0","p1i7",[0,"Betting With vCash"],215,0);
stm_bpx("p19","p2",[]);
stm_aix("p19i0","p1i0",[0,"Bookmakers ","","",-1,-1,0,"http://forums.gridironfans.com/bookies.php"],215,0);
stm_aix("p19i1","p1i0",[0,"Football Pick\'em Leagues","","",-1,-1,0,"http://forums.gridironfans.com/fsports.php"],215,0);
stm_aix("p19i2","p1i0",[0,"Virtual Casino","","",-1,-1,0,"http://www.forums.gridironfans.com/VCasino.php"],215,0);
stm_ep();
stm_aix("p18i1","p1i0",[0,"Links","","",-1,-1,0,"http://gridironfans.com/links.php"],215,0);
stm_aix("p18i2","p1i0",[0,"GridironFans Chat Room","","",-1,-1,0,"http://gridironfans.com/chat.php","_self","","Come enter our flash chat room!"],215,0);
stm_aix("p18i3","p1i0",[0,"Site Statistics","","",-1,-1,0,"http://forums.gridironfans.com/statistics.php"],215,0);
stm_aix("p18i4","p1i0",[0,"GridironFans Browser Toolbar","","",-1,-1,0,"http://gridironfanscom.ourtoolbar.com/"],215,0);
stm_aix("p18i5","p1i0",[0,"Memberlist","","",-1,-1,0,"http://forums.gridironfans.com/memberlist.php"],215,0);
stm_aix("p18i6","p1i0",[0,"Usergroups","","",-1,-1,0,"http://forums.gridironfans.com/groupcp.php"],215,0);
stm_aix("p18i7","p18i3",[],215,0);
stm_aix("p18i8","p1i0",[0,"F.A.Q.","","",-1,-1,0,"http://forums.gridironfans.com/faq.php"],215,0);
stm_aix("p18i9","p1i0",[0,"Contact Site Owner","","",-1,-1,0,"mailto:steverobwhatever@yahoo.com"],215,0);
stm_ep();
stm_ep();
stm_em();
//-->
</script>


Any ideas on how I can add this to my vbulletin header?

Princeton
05-08-2007, 11:50 AM
you can inset your menu within the header or navbar template (ADMINCP / STYLES MANAGER (http://www.vbulletin.com/docs/html/stylemanager))