Hi,
I have been using Milonic menu for some time now.
It is used through my whole site and I have the same source files referenced on my index page and on the rest of the site.
However - suddenly on my index page at http://www.dvd-and-media.com if you use the menu the pop out menu under the item "DVD Products" for the menu item "DVD Media by Brand" doesnt work?? Although the item below it does work..... Also the "Services & Information" menu doesnt show itself at all!???? and the page says "Error on page"
Now you might be excused for thinking I had made a mistake in my code..... I have double checked it - now what is interesting is if you go to ANY other page in my site other than the index page - for example my DVD cases page http://www.dvd-and-media.com/dvd-cases.htm(all these other pages use the same menu code in the same directory - see my source code if you dont believe me)... BUT ON ANY other page of my site the menu functions correctly and doesnt display Error on Page.
I have checked this in IE7 and IE6 and Firefox.
HELP PLEASE - I am very confused....
Really confused - help please
Hi,
I am still working on it, I have no idea why it's doing that. But, I did find a workaround so it will show. In the data file, just above that brands submenu and after the service one put this.
The menu then shows.
Also, you have a number of aIs that end with ) instead of );
Ruth
I am still working on it, I have no idea why it's doing that. But, I did find a workaround so it will show. In the data file, just above that brands submenu and after the service one put this.
Code: Select all
with(milonic=new menuname("dummy")){
style=submenuStyle;
}
Also, you have a number of aIs that end with ) instead of );
Ruth
Wow, this is weird.
OK, I found what is causing the error, I'm getting a runtime error on IE.
On your other pages the file calls are
On that main page it is
When I replaced
with
The menu started working again and no runtime error.
Ruth
OK, I found what is causing the error, I'm getting a runtime error on IE.
On your other pages the file calls are
Code: Select all
<noscript id="2" title="menu2">
<a href="sitemap.xml">Our site map and navigate all pages of DVD-and-Media.com</a>
</noscript>
<script type="text/javascript" src="Menu/menu_dvd.js"></script>
<noscript id="6" title="menu6">
<a href="default.htm">Our main DVD media navigation page</a>
</noscript>
<noscript id="6" title="menu6">
<a href="default.htm">Our main DVD media navigation page</a>
</noscript>
Code: Select all
<NOSCRIPT id=menu2><A href="http://websites.milonic.com/dvd-and-media.com/sitemap.xml">Our site
map and navigate all pages of DVD-and-Media.com</A> </NOSCRIPT>
<SCRIPT src="menu_dvd.js" type=text/javascript></SCRIPT>
<NOSCRIPT id=menu3><A href="http://websites.milonic.com/dvd-and-media.com/default.htm">Our main
DVD media navigation page</A> </NOSCRIPT>
Code: Select all
<NOSCRIPT id=menu2><A href="http://websites.milonic.com/dvd-and-media.com/sitemap.xml">Our site
map and navigate all pages of DVD-and-Media.com</A> </NOSCRIPT>
Code: Select all
<noscript id="2" title="menu2"><a href="sitemap.xml">Our site map and navigate all pages of DVD-and-Media.com</a></noscript>
Ruth
Ruth -thanks for the help
Ruth I appreciate the help... however I tried your suggestions and it worked of sorts... I added the ; to the end of every aI line and then tried adding your little snippet -
with(milonic=new menuname("dummy")){
style=submenuStyle;
}
Doing this fixed the Services menu but then broke the CD products menu... so I decided to create two new clean pages -
http://www.dvd-and-media.com/menu-test1.html
and
http://www.dvd-and-media.com/menu-test.html
They both refer to exactly the same code but one has NOSCRIPTS and the other not.
The one with NO NOSCRIPTS works and the other does not.
The pages in the main site that have NOSCRIPTS in them still work fine so I really dont understand why this is the case.
I know the quick fix is to just take out the NOSCRIPTS but that isnt good web practice so I am hoping you can help me solve this conundrum!
Simon
http://www.dvd-and-media.com
with(milonic=new menuname("dummy")){
style=submenuStyle;
}
Doing this fixed the Services menu but then broke the CD products menu... so I decided to create two new clean pages -
http://www.dvd-and-media.com/menu-test1.html
and
http://www.dvd-and-media.com/menu-test.html
They both refer to exactly the same code but one has NOSCRIPTS and the other not.
The one with NO NOSCRIPTS works and the other does not.
The pages in the main site that have NOSCRIPTS in them still work fine so I really dont understand why this is the case.
I know the quick fix is to just take out the NOSCRIPTS but that isnt good web practice so I am hoping you can help me solve this conundrum!
Simon
http://www.dvd-and-media.com
Hi,
I don't think I said to remove it, but I have moved them below the call for the menu scripts and put your page up, it seems to work.
This is the coding as I put it in the page.
I don't think I said to remove it, but I have moved them below the call for the menu scripts and put your page up, it seems to work.
This is the coding as I put it in the page.
Code: Select all
<script type="text/javascript" src="milonic_src.js"></script>
<script type="text/javascript">
<!--
if(ns4)_d.write("<script language=JavaScript src=mmenuns4.js><\/script>");
else _d.write("<script language=JavaScript src=mmenudom.js><\/script>");
-->
</script>
<script type="text/javascript" src="menu_dvd.js"></script>
<noscript id="menu1">
<a href="site-map.htm">DVD and Media site map, navigate all pages of the DVD-and-Media.com webshop</a>
</noscript>
<noscript id="menu2">
<a href="sitemap.xml">Our site map and navigate all pages of DVD-and-Media.com</a>
</noscript>
<noscript id="menu3">
<a href="default.htm">Our main DVD media navigation page</a>
</noscript>