PDA

View Full Version : Script.....



Dipstick
April 4th, 2001, 03:28
Whats wrong with this script????? (other than all the links point to the wrong page)


<!-- Top Menu --><script><!--
addTopMenu("idHome", "Home", "/news/default.asp");
addTopMenu("idSearch", "Search", "/news/default.asp");
addTopSubMenu("idSearch", "Search", "/news/default.asp");
addTopSubMenu("idSearch", "Advanced Search", "/news/barrysworld.asp");
addTopSubMenu("idSearch", "Supersearch", "/news/releasedates.asp");
addTopMenu("idE-mail", "E-mail", "/news/default.asp");
addTopMenu("idE-mail", "Check", "/default.shtm");
addSeperator("idE-mail");
addTopSubMenu("idE-mail", "Join", "/newbie/");
addTopMenu("idMessage Board", "Message Board", "/news/default.asp");
addTopSubMenu("idMessage Board", "Main", "/newbie/joining.asp");
addSeperator("idMessage Board");
addTopSubMenu("idMessage Board", "Join", "/newbie/teams.asp");
addTopMenu("idLinks", "Links", "/news/default.asp");
addTopMenu("idHelp", "Help", "/news/default.asp");
addTopSubMenu("idHelp", "Searching", "/games/quake2/");
addTopSubMenu("idHelp", "messageboard", "/games/quake3/");
addTopMenu("idContact us", "Contact us", "/news/default.asp");
buildTopMenu();//--></script>


Thanks

Dipstick
April 4th, 2001, 03:29
Youve probably guessed....its from barriesworld.Couldn't find a downloaded link so viewed source!!!

lucifer
April 4th, 2001, 06:02
where's the rest of it?

you do have the functions somewhere

LeX
April 4th, 2001, 07:46
Yeah, you can't possibly run a script without all the action! ;) Don't worry, you'll learn as you go along - the hard way. The same way I learned it. :p

They placed the script into a *.js file and called it from the page so the code won't show up when you view the source.

[Edited by LeX on 04-04-2001 at 08:50 AM]

Dipstick
April 4th, 2001, 15:19
Well where can i get a copy of this menu?????

Canuckkev
April 4th, 2001, 17:22
Ask the guy you stole it from. Make your own. Some sort of script archive.

Woofcat
April 4th, 2001, 20:18
If you use IE you can save the page you're stealing from as a complete web page and the js files will will be there.