Help installing and calling sample download

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
bobshamo
Beginner
Beginner
Posts: 2
Joined: Mon Nov 03, 2003 11:26 pm
Location: Hilton Head Island, SC
Contact:

Help installing and calling sample download

Post by bobshamo »

From Milonic I have downloaded and unzipped menu_sample1. Following instructions in readme and install I have uploaded mmenudom.js, mmenuns4.js, milonic_src.js and menu_data.js to my site. I am now ready to "call" the menu from my index page, but I do not understand how to do that.

The entirety of step 3 in the Install instructions reads: "To do this, you need to add the following JavaScript tags to your HTML page: The position of the above is not particularly important, but it's advisable to place these tags just after the tag or in the of your document. This help minimize the risk of a conflict with other objects. The order in which the tags appear IS important, and must be as shown above."

Sorry, but where are the JavaScript tags?

Thanks. Bob
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

As it says, right there in Step 3...
3. Inform your web pages that you want the menu to appear when they are loaded.
To do this, you need to add the following JavaScript tags to your HTML page:

<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>
Best place to put them is usually right after <body>.
John
Post Reply