I created a new web page containing only the code shown below
I downloaded the 4 *.js files to the same directory as the webpage.
I opened the page in I.E.7 and the blank page containing the icon for the menu is displayed plus the following line <script language=JavaScript src=mmenudom.js>
This is the code contained in the test page:
<html>
<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Milonic Menu</title>
<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>
</head>
<body>
<p><img border="0" src="Miloni1.gif" width="16" height="16"></p>
</body>
</html>
Unable to activate sample menu
-
- Beginner
- Posts: 7
- Joined: Wed Oct 15, 2008 12:00 pm
Re: Unable to activate sample menu
Sounds like a file location problem.
Are you sure you uploaded the files to the same directory as the file you are loading?
Do you have a URL that we can see?
-- Andy
Are you sure you uploaded the files to the same directory as the file you are loading?
Do you have a URL that we can see?
-- Andy
-
- Beginner
- Posts: 7
- Joined: Wed Oct 15, 2008 12:00 pm
Re: Unable to activate sample menu
Thanks for reply,
I have checked and all 4 .js files are in the same folder as the webpage, both on my machine and on the web server. I would have posted a copy image of the folder contents but could not paste an image of the screen here, so I added it to the web page.
http://www.greatgaygatherings.co.uk/milonicmenutest.htm
Brendan
I have checked and all 4 .js files are in the same folder as the webpage, both on my machine and on the web server. I would have posted a copy image of the folder contents but could not paste an image of the screen here, so I added it to the web page.
http://www.greatgaygatherings.co.uk/milonicmenutest.htm
Brendan
Re: Unable to activate sample menu
Your call to mmenudom.js is invalid (that's why that line shows up on the page you posted). Use the new calls as provided in the download...
This assumes you are not supporting NS4. If you are (why?), just add a line for that.
Code: Select all
<script type="text/javascript" src="milonic_src.js"></script>
<noscript><a href="https://milonic.com/">JavaScript DHTML Menu Powered by Milonic</a></noscript>
<script type="text/javascript" src="mmenudom.js"></script>
<script type="text/javascript" src="menu_data.js"></script>
John
Re: Unable to activate sample menu
There's a syntax error in your html on line 12:
Should be:
Here's what it should look like:
Let me know if this helps or not.
Cheers,
Andy
Code: Select all
else _d.write("<scr"+"ipt language=JavaScript src=mmenudom.js><\/scr"+"ipt>");</script>
Code: Select all
else _d.write("<scr"+"ipt language=JavaScript src=mmenudom.js><\/scr"+"ipt>");</script>
Code: Select all
<html>
<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Milonic Menu</title>
<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>
</head>
<body>
<p><img border="0" src="Miloni1.gif" width="16" height="16"></p>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
<tr>
<td width="50%"><img border="0" src="folder.gif" width="600" height="400"></td>
<td width="50%"> </td>
</tr>
<tr>
<td width="50%"> </td>
<td width="50%"> </td>
</tr>
</table>
</body>
</html>
Cheers,
Andy
-
- Beginner
- Posts: 7
- Joined: Wed Oct 15, 2008 12:00 pm
Re: Unable to activate sample menu
Yes, that works, thank you.
Problem caused by Post/Paste with a foreign keyboard which causes system to substitute characters.
Now I try editing, so watch this space.
Thanks
Brendan
Problem caused by Post/Paste with a foreign keyboard which causes system to substitute characters.
Now I try editing, so watch this space.
Thanks
Brendan