Forced Link and Menu Highlighting

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
macmage
Beginner
Beginner
Posts: 3
Joined: Sun Jun 25, 2006 9:06 pm

Forced Link and Menu Highlighting

Post by macmage »

I have a couple of questions.
I have added the link back to the Milonic page to my site exactly as instructed, yet the first menu item still goes to the Milonic site. With the link on the page, the Home item is no longer rewritten as MILONIC, but it still goes back to the Milonic page instead of my one.

The other question is about menu highlighting. After selecting a menu item and refershing the page, the sub-menu is highlighted but the main menu is not. It hightlights for a second and then returns to normal.

I'm sure I'm doing something wrong in both cases - just not sure what.

Thanks!
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

Could you give us a url so we can see what's up?

Ruth
macmage
Beginner
Beginner
Posts: 3
Joined: Sun Jun 25, 2006 9:06 pm

Post by macmage »

Certainly. It is http://www.impactsingles.org

Thanks!
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

This is your call for the files

Code: Select all

<SCRIPT language=JavaScript src="milonic_src.js" type=text/javascript></SCRIPT>
<script language=JavaScript>
	if(ns4)_d.write("<scr"+"ipt language=JavaScript src=mmenuns4.js><\/scr"+"ipt>");
	else _d.write("<scr"+"ipt language=JavaScript src=mmenudom.js><\/scr"+"ipt>"); 
</script>
<SCRIPT language=JavaScript src="menu_data.js" type=text/javascript></SCRIPT>			<SCRIPT language=JavaScript src="/menu_data.js" type=text/javascript></SCRIPT>
Note that you are calling a menu_data.js file twice, once from the same folder and once from a folder previous = /menu_data.js

That second file has the Milonic site as the url under the Home item.

This may also be the problem with your highlighting.

Fix the code and if the highlighting doens't clear up post back and I'll check again.

Ruth
macmage
Beginner
Beginner
Posts: 3
Joined: Sun Jun 25, 2006 9:06 pm

Post by macmage »

That's what happens when you aren't paying attention when you do a cut! ;) I moved the javascript code to a new spot in my code so I could more easily use it on all of my pages and missed removing that one line. I guessed I confused the menu! Removing it worked.

Thanks!
Post Reply