Help Check Menu Please...

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
User avatar
whiskey3
Super Advanced
Super Advanced
Posts: 79
Joined: Fri Jul 18, 2003 8:47 pm

Post by whiskey3 »

http://www.moldex.com/new/8000series2.htm

<SCRIPT language=JavaScript src="http:moldex.com/new/navbar/milonic_src.js" type=text/javascript></SCRIPT>
<SCRIPT language=JavaScript src="http:moldex.com/new/navbar/menu.js" type=text/javascript></SCRIPT>

I set the path like you said to the .js files in this script and it still doesn't work?

Any clues please?
Wolf
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

On the first page which seems to be working now, the code you use as the url is
src="http://www.moldex.com/new/navbar/milonic_src.js"

on the second page which isn't working the code is
http:moldex.com/ etc. there's no // in it, and I'm not sure if it needs www. I have a heck of a time with paths so I generally put the full one in all the time, then I know it's right. So change the code to


[SCRIPT language=JavaScript src="http://www.moldex.com/new/navbar/milonic_src.js" type=text/javascript][/SCRIPT]
[SCRIPT language=JavaScript src="http:moldex.com/new/navbar/menu.js" type=text/javascript][/SCRIPT]

as for the images..the little arrows. you need to check where they are and fix the menu.js file to have the correct pathyou've got two directories for images, one is http://www.moldex.com/new/ and it has arrow.gif and arrowdn.gif The other directory is http://www.moldex.com/new/navbar/images/ and it only has the arrow.gif image, and I can't find out where the arrow_down.gif is at all

right now you have it coded as
topbarimage = "images/arrow_down.gif";
topbarimageloc = "center;middle"
subimage = "images/arrow.gif";

Good Luck....
Ruth
User avatar
whiskey3
Super Advanced
Super Advanced
Posts: 79
Joined: Fri Jul 18, 2003 8:47 pm

Post by whiskey3 »

Thanks for catching the mistake.......my error.
Does the script language:

[SCRIPT language=JavaScript src="http://www.moldex.com/new/navbar/milonic_src.js" type=text/javascript][/SCRIPT]
[SCRIPT language=JavaScript src="http://moldex.com/new/navbar/menu.js" type=text/javascript][/SCRIPT]

Go in the head of the html or lower?

For instance the script is in the head of the html code in:

http://www.moldex.com/new/navbar/menu.htm

But not in:

http://www.moldex.com/new/8000series.htm

And they both work?

My arrow button is in my navbar/images folder.
Is there a reason the arrow button is not appearing on the 8000.htm file?
Does it have to be copied in that area like version 3?
Sorry but I'm new to version 5.

I would like to remove the arrow images on the top of the navbar but I still want them to appear in the submenus.
Do you know how to do this?
Wolf
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

I guess since they both work it doesn't matter if it's in the head or body. I don't really know since I don't know much about code. As to the images, if you check the path you have listed and go to the images folder there is NO arrow.gif in the folder, or arrow_down.gif for that matter.

the path for the page is http://www.moldex.com/new/8000series.htm

then in the menu.js file you have the image path as images/arrow.gif but if you check under

http://www.moldex.com/new/images there is NO arrow.gif file there. It's actually in the new folder where the page is, not the images folder. A suggestion..why not make a folder called navbar with this path http://www.moldex.com/navbar and keep all the menu files and image files for the menu in it? If you decided to have a second differently designed navbar you could make a second folder http://www.moldex.com/navbar1 and keep it's files in it? It seems your paths are really kind of involved and that makes it difficult to remember which path to use for image and such calls.

And I have no idea how 5 works at all, I'm just getting 3 put together and up....I just mess and see if I can figure out about the problems people ask, it helps me learn about the new menu.


As for removing the top bar images, I think it's this line in the .js file
// topbarimage = "images/arrow_down.gif"; So I would assume you take out the path and image name. I don't know if you have to put in say "null" or get rid of everything and leave it blank.

Ruth
Post Reply