Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:02

Forced Link and Menu Highlighting


Poster: macmage
Dated: Sunday June 25 2006 - 21:09:54 BST

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!


Poster: Ruth
Dated: Sunday June 25 2006 - 23:37:22 BST

Hi,

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

Ruth


Poster: macmage
Dated: Monday June 26 2006 - 0:27:06 BST

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

Thanks!


Poster: Ruth
Dated: Monday June 26 2006 - 1:45:18 BST

Hi,

This is your call for the files
Code:
<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


Poster: macmage
Dated: Monday June 26 2006 - 1:59:37 BST

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!