Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Wednesday July 18 2012 - 06:07:22
JS menu not showing up
Poster: clabber
Dated: Friday October 4 2002 - 23:42:54 BST
I'm using the horizonal navigation bar-
I have the *.js files in the same directory as the <html> file.
I added the links to the *.js files in the <head> , but the menu does not show up on my page.
The only things i changed were the colors and the titles.
Do i have to add any code into the <body> of my <html> file?
frantic
cont'd....
Poster: clabber
Dated: Friday October 4 2002 - 23:45:16 BST
the site is
http://www15.brinkster.com/clabber/template.html
try this
Poster: ms_gillis
Dated: Saturday October 5 2002 - 3:18:20 BST
in the SCRIPT code you don't need the absolute link info:
instead of: <script language="JavaScript" src="http://www15.brinkster.com/clabber/menu_array.js"></script>
try: <script language="JavaScript" src= "menu_array.js" type=text/javascript></SCRIPT>
check out one of these sites built with DHTML if you need the source:
http://www.liucentre.ubc.ca/icc/home.htm
http://www.ams.ubc.ca/clubs/irsa/index.htm
hope this helps !
Poster: trytrix
Dated: Saturday October 5 2002 - 7:24:25 BST
Hi MS_Gillis,
You also need to put the menu activation script into the <body> section, i.e. :
<!-- MENU ACTIVATION ---------------------->
<script language=javascript>
function setValue()
{
mn=getMenuByName("FollowMain")
menu=eval("menu"+mn)
menu[10]=parseInt(document.f1.t1.value)
}
</script>
<!-- MENU ACTIVATION ---------------------->
Best regards,
Trytrix
(From Flanders Fields )
And .. just give me a HIT at : http://www.ransbecca.be
thanks, but.....
Poster: clabber
Dated: Saturday October 5 2002 - 20:55:51 BST
i appreciate the help, but it's still not showing up.
i looked at the source on the milonic site, and they have the links to the .js files in the body. i tried that, still nothing. i added the activation code, and changed the "Followmain" name to "Mainmenu", which is what i named it in my menu_array.js file
also, i'm getting an error that's coming from the mmenu.js
line: 498 char: 127 saying "object required"
although i made no changes to the original source for that file!
http://www15.btrinkster.com/clabber/template.html