|
We have status bar errors that say: "Done, but with errors on page" in html submenu...
Return to Recent Questions
Q:
Hello. We need some tech support regarding our html submenu.
All of our pages with the html submenu code on them are
suddenly giving status bar errors that say: "Done, but with errors on page"
The error dialog says:
Line: 2
Char: 1
Error: Syntax error
Code: 0
On pages that do not have the html submenu at all, we're not getting the error.
A:
Now you have such code:
<SCRIPT LANGUAGE="" type="text/javascript">
<!--
var dmWorkPath = "menu/";
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->
</SCRIPT>
So, your html submenu cannot find var dmWorkPath = "menu/"; parameter on your
page.
Try to write your code in the following way:
<SCRIPT type="text/javascript">var dmWorkPath = "menu/";</script>
<SCRIPT LANGUAGE="" type="text/javascript" src="menu/dmenu.js"></SCRIPT>
<!-- (c) 2008, http://dhtml-menu.com -->
Return to Recent Questions
Related:
- March 12, 2009 - I don't understand, how can change place of the icon in button context menu...
- March 13, 2009 - Now we are having the "Incorrect Copyright" on our menus dhtml...
- March 14, 2009 - I am having a problem with css styles in the web navigation menu.
- March 15, 2009 - I have problems with transitional effects in Firefox in the java script tree menu...
- March 16, 2009 - Is there any way to keep a vertical menu dhtml lit up when going to another page?
- March 16, 2009 - How can I change item width in the Vista templates in the dhtml pulldown menu?
- March 18, 2009 - I am getting a Javascript error, when accessing any of the menu javascript.
- March 19, 2009 - How to get the transparent drop down menu to highlight and stay on the page you're viewing?
- March 19, 2009 - I need that the dhtml menu free loads pages into an iFrame.
- March 20, 2009 - Links don't work in the menu dynamique dhtml. How can I correct this?
- March 21, 2009 - How can we increase the width of the vista style buttons of dhtml drag drop?
|