Vertical menu (sample2) place source in /menu

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Cista
Advanced
Advanced
Posts: 26
Joined: Sat May 25, 2002 1:58 pm

Vertical menu (sample2) place source in /menu

Post by Cista »

Hello,

Here my folders structures:

Code: Select all

/myWebsite
  /images
  /menu
I'd like to put all the code for this great menu in /mywebsite/menu, the pages where the menu is called is in /mywebsite.

Possible ? If yes how ?

Thanks,

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

Post by John »

Yes, easy.

I am assuming here that myWebsite is actually a folder and not http://something, OK?

Place all 4 menu files in /menu/ and then adjust the calls as follows...

Code: Select all

<SCRIPT language="JavaScript" src="/myWebsite/menu/milonic_src.js" type="text/javascript"></SCRIPT>	
<script language="JavaScript">
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=/myWebsite/menu/mmenuns4.js><\/scr"+"ipt>");		
else _d.write("<scr"+"ipt language=JavaScript src=/myWebsite/menu/mmenudom.js><\/scr"+"ipt>"); 
</script>
<SCRIPT language="JavaScript" src="/myWebsite/menu/menu_data.js" type="text/javascript"></SCRIPT>
And thanks for the kind words :!:
John
Post Reply