The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Jim's DHTML Menu V5.7
Here is a DHTML Menu I found on the net last night. It seems good. Now how Do install it?
|
#2
|
|||
|
|||
I now have this running on my forum. Can someone please tell me how I can center the code on my screen?
|
#3
|
|||
|
|||
Just wrap whatever code calls it in div tags.
eg: Code:
<div align="center"> (the dhtml code) </div> Code:
//*********************************************** * Jim's DHTML Menu v5.7- ? Jim Salyer (jsalyer@REMOVETHISmchsi.com) * Visit Dynamic Drive: http://www.dynamicdrive.com for script and instructions * This notice must stay intact for use ***********************************************/ Code:
</script> <script type="text/javascript" src="xpodhtmlconfig.js"></script> |
#4
|
|||
|
|||
Hi Chris-777 thanks for the advice but I still don't know where the center code goes to make it work.
There's two files, the HTML file that goes into my forum header; Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>Test Page</title> <script type="text/javascript" src="includes/browser.js"> /*********************************************** * Jim's DHTML Menu v5.7- ? Jim Salyer (jsalyer@REMOVETHISmchsi.com) * Visit Dynamic Drive: http://www.dynamicdrive.com for script and instructions * This notice must stay intact for use ***********************************************/ </script> <script type="text/javascript" src="xpodhtmlconfig.js"></script> </head> <body onload="init()"> </body> </html> Code:
function init() { //Main Menu items: menus[0] = new menu(18, "horizontal", 0, 0, 0, 0, "5271a8", "6085c5", "Verdana", 8, "", "", "white", "white", 1, "gray", 0, "", false, true, true, false, 12, true, 0, 0, "white"); menus[0].addItem("http://www.phonexpo.net", "", 50, "center", "Home", 0); menus[0].addItem("#", "", 55, "center", "System", 1); menus[0].addItem("#", "", 95, "center", "Competitions", 2); menus[0].addItem("#", "", 55, "center", "Sevices", 3); menus[0].addItem("#", "", 65, "center", "The Shop", 4); menus[0].addItem("#", "", 65, "center", "Networks", 5); menus[0].addItem("#", "", 80, "center", "Mobile Help", 6); menus[0].addItem("#", "", 85, "center", "Other Topics", 7); menus[0].addItem("#", "", 95, "center", "Customer Area", 8); menus[0].addItem("http://phonexpo.net/forumdisplay.php?f=62", "", 95, "center", "Special Offers", 0); //Sub Menu for 1st Main Menu Item ("system"): menus[1] = new menu(118, "vertical", 18, 0, 0, 0, "5271a8", "6085c5", "Verdana", 8, "", "", "white", "white", 1, "gray", 2, 62, false, true, false, true, 6, true, 0, 0, "white"); menus[1].addItem("http://phonexpo.net/forumdisplay.php?f=51", "", 18, "left", "Feedback", 0); menus[1].addItem("http://phonexpo.net/forumdisplay.php?f=55", "", 18, "left", "Newbies/FAQ", 0); menus[1].addItem("http://phonexpo.net/forumdisplay.php?f=37", "", 18, "left", "Recycle Bin", 0); menus[1].addItem("http://phonexpo.net/forumdisplay.php?f=69", "", 18, "left", "Test Section", 0); menus[1].addItem("http://phonexpo.net/forumdisplay.php?f=68", "", 18, "left", "Forum Updates", 0); //Sub Menu for 2nd Main Menu Item ("comps"): menus[2] = new menu(180, "vertical", 18, 0, 0, 0, "5271a8", "6085c5", "Verdana", 8, "", "", "white", "white", 1, "gray", 2, "", false, true, false, false, 0, true, 0, 0, "white"); menus[2].addItem("http://phonexpo.net/forumdisplay.php?f=38", "", 18, "left", "Want to win a mobile phone?", 0); //Sub Menu for 3rd Main Menu Item ("Sevices"): menus[3] = new menu(160, "vertical", 18, 0, 0, 0, "5271a8", "6085c5", "Verdana", 8, "", "", "white", "white", 1, "gray", 2, ">>", false, true, false, false, 0, true, 0, 0, "white"); menus[3].addItem("http://phonexpo.net/forumdisplay.php?f=70", "", 18, "left", "General Questions", 0); menus[3].addItem("http://phonexpo.net/forumdisplay.php?f=62", "", 18, "left", "Special Offers", 0); menus[3].addItem("http://phonexpo.net/forumdisplay.php?f=33", "", 18, "left", "Unlocking Codes", 0); menus[3].addItem("http://phonexpo.net/forumdisplay.php?f=15", "", 18, "left", "Manual Unlocking", 0); menus[3].addItem("http://phonexpo.net/forumdisplay.php?f=16", "", 18, "left", "Repair Service", 0); menus[3].addItem("http://phonexpo.net/forumdisplay.php?f=59", "", 18, "left", "Customer Feedback", 0); //Sub Menu for 4th Main Menu Item ("shop"): menus[4] = new menu(145, "vertical", 18, 0, 0, 0, "5271a8", "6085c5", "Verdana", 8, "", "", "white", "white", 1, "gray", 2, ">>", false, true, false, false, 0, true, 0, 0, "white"); menus[4].addItem("http://phonexpo.net/forumdisplay.php?f=72", "", 18, "left", "Feedback System", 0); menus[4].addItem("http://phonexpo.net/forumdisplay.php?f=41", "", 18, "left", "FS Mobiles", 0); menus[4].addItem("http://phonexpo.net/forumdisplay.php?f=42", "", 18, "left", "Wtd Mobiles", 0); menus[4].addItem("http://phonexpo.net/forumdisplay.php?f=61", "", 18, "left", "Accessories", 0); //Sub Menu for 5th Main Menu Item ("net"): menus[5] = new menu(105, "vertical", 18, 0, 0, 0, "5271a8", "6085c5", "Verdana", 8, "", "", "white", "white", 1, "gray", 2, 62, false, true, false, true, 6, true, 0, 0, "white"); menus[5].addItem("http://phonexpo.net/forumdisplay.php?f=17", "", 18, "left", "3", 0); menus[5].addItem("http://phonexpo.net/forumdisplay.php?f=18", "", 18, "left", "Meteor", 0); menus[5].addItem("http://phonexpo.net/forumdisplay.php?f=19", "", 18, "left", "o2", 0); menus[5].addItem("http://phonexpo.net/forumdisplay.php?f=20", "", 18, "left", "Vodafone", 0); menus[5].addItem("http://phonexpo.net/forumdisplay.php?f=21", "", 18, "left", "No Network", 0); //Sub Menu for 6th Main Menu Item ("m help"): menus[6] = new menu(120, "vertical", 18, 0, 0, 0, "5271a8", "6085c5", "Verdana", 8, "", "", "white", "white", 1, "gray", 2, ">>", false, true, false, false, 0, true, 0, 0, "white"); menus[6].addItem("http://phonexpo.net/forumdisplay.php?f=22", "", 18, "left", "Nokia", 0); menus[6].addItem("http://phonexpo.net/forumdisplay.php?f=23", "", 18, "left", "Motorola", 0); menus[6].addItem("http://phonexpo.net/forumdisplay.php?f=24", "", 18, "left", "Sony Ericsson", 0); menus[6].addItem("http://phonexpo.net/forumdisplay.php?f=25", "", 18, "left", "BenQ-Siemens", 0); menus[6].addItem("http://phonexpo.net/forumdisplay.php?f=26", "", 18, "left", "Panasonic", 0); menus[6].addItem("http://phonexpo.net/forumdisplay.php?f=27", "", 18, "left", "Safran/Sagem", 0); menus[6].addItem("http://phonexpo.net/forumdisplay.php?f=28", "", 18, "left", "Sharp", 0); menus[6].addItem("http://phonexpo.net/forumdisplay.php?f=45", "", 18, "left", "LG", 0); menus[6].addItem("http://phonexpo.net/forumdisplay.php?f=46", "", 18, "left", "NEC", 0); menus[6].addItem("http://phonexpo.net/forumdisplay.php?f=63", "", 18, "left", "Samsung", 0); menus[6].addItem("http://phonexpo.net/forumdisplay.php?f=71", "", 18, "left", "Others", 0); //Sub Menu for 7th Main Menu Item ("other"): menus[7] = new menu(150, "vertical", 18, 0, 0, 0, "5271a8", "6085c5", "Verdana", 8, "", "", "white", "white", 1, "gray", 2, ">>", false, true, false, false, 0, true, 0, 0, "white"); menus[7].addItem("http://phonexpo.net/forumdisplay.php?f=67", "", 18, "left", "Top Stories", 0); menus[7].addItem("http://phonexpo.net/forumdisplay.php?f=66", "", 18, "left", "Mobile Reviews", 0); menus[7].addItem("http://phonexpo.net/forumdisplay.php?f=29", "", 18, "left", "Other Phones/News", 0); menus[7].addItem("http://phonexpo.net/forumdisplay.php?f=30", "", 18, "left", "Price Check", 0); menus[7].addItem("http://phonexpo.net/forumdisplay.php?f=36", "", 18, "left", "ComReg", 0); menus[7].addItem("http://phonexpo.net/forumdisplay.php?f=31", "", 18, "left", "Downloads/Ringtones", 0); //Sub Menu for 8th Main Menu Item ("other"): menus[8] = new menu(150, "vertical", 18, 0, 0, 0, "5271a8", "6085c5", "Verdana", 8, "", "", "white", "white", 1, "gray", 2, ">>", false, true, false, false, 0, true, 0, 0, "white"); menus[8].addItem("http://phonexpo.net/forumdisplay.php?f=74", "", 18, "left", "Support Area", 0); menus[8].addItem("http://phonexpo.net/forumdisplay.php?f=75", "", 18, "left", "Suggestions", 0); menus[8].addItem("http://phonexpo.net/forumdisplay.php?f=79", "", 18, "left", "Computers/Internet", 0); menus[8].addItem("http://phonexpo.net/forumdisplay.php?f=77", "", 18, "left", "Flame", 0); } //OUTER CLOSING BRACKET. EVERYTHING ADDED MUST BE ABOVE THIS LINE. |
#5
|
|||
|
|||
First one. Try it here:
Code:
<div align="center"> <script type="text/javascript" src="xpodhtmlconfig.js"></script> </div> Code:
<div align="center"> <script type="text/javascript" src="includes/browser.js"> /*********************************************** * Jim's DHTML Menu v5.7- ? Jim Salyer (jsalyer@REMOVETHISmchsi.com) * Visit Dynamic Drive: http://www.dynamicdrive.com for script and instructions * This notice must stay intact for use ***********************************************/ </script> <script type="text/javascript" src="xpodhtmlconfig.js"></script> </div> |
#6
|
|||
|
|||
, I get error on page with;
Code:
<div align="center"> <script type="text/javascript" src="xpodhtmlconfig.js"></script> </div> Code:
<div align="center"> <script type="text/javascript" src="includes/browser.js"> /*********************************************** * Jim's DHTML Menu v5.7- ? Jim Salyer (jsalyer@REMOVETHISmchsi.com) * Visit Dynamic Drive: http://www.dynamicdrive.com for script and instructions * This notice must stay intact for use ***********************************************/ </script> <script type="text/javascript" src="xpodhtmlconfig.js"></script> </div> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|