menu not loading after installation?

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
ar1
Beginner
Beginner
Posts: 2
Joined: Sat Jun 24, 2006 6:58 am

menu not loading after installation?

Post by ar1 »

Hi Guys,

I'm banging my head up against a wall at the moment.
I've downloaded a sample menu, unzipped it into the directory where my website files are stored. I've added the script/code into the header (as per instructions), but no matter what I'm doing the menu does not appear at all ?

At this stage my template is completley blank (want to get the menu right first).

Part of my real confusion lies around the fact that I've used these menu's in other websites I've built (and I've cross checked against those websites for code and it all checks out).

I'm sure its a simple oversight- but I'm really confused! Thanks for any help you can give me!
AR1

This is what I have at the moment in my template:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>Untitled Document</title>
<!-- TemplateEndEditable -->
<!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->

</head>

<body>
<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 srcmenu_data.js" type=text/javascript></SCRIPT>
</body>
</html>
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

Check the path for the files. I notice that the mmenuns4 and mmenudom have a / in front of them. That's only a guess without a url to see what's up

Ruth
ar1
Beginner
Beginner
Posts: 2
Joined: Sat Jun 24, 2006 6:58 am

Post by ar1 »

Hi Ruth, thanks for replying and solving the problem.

I tried a number of things to get it working and that included moving the files to the template directory. When I posted it I took that path out of the code (as moving it still hadn't solved my query).

But with all that being said I've removed the / and moved the files back to the template directory and it seems to be working again?

Sorry to have wasted your time but a MAJOR Thanks for your help / feedback!!!
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

You're welcome. Time is never wasted. All the volunteers here really like helping with the menu.

Ruth
Post Reply