We have status bar errors that say: "Done, but with errors on page" in menu bar html...
Return to Recent Questions
Q:
Hello. We need some tech support regarding our menu bar html.
All of our pages with the menu bar html 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 menu bar html 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 menu bar html 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 css menu drop...
- March 14, 2009 - I am having a problem with css styles in the menus website.
- March 15, 2009 - I have problems with transitional effects in Firefox in the dhtml dynamic menu...
- March 16, 2009 - Is there any way to keep a javascript menu bar lit up when going to another page?
- March 16, 2009 - How can I change item width in the Vista templates in the dhtml web menu?
- March 18, 2009 - I am getting a Javascript error, when accessing any of the javascript simple menu.
- March 19, 2009 - How to get the drop down menu java script to highlight and stay on the page you're viewing?
- March 19, 2009 - I need that the vertical sliding menu loads pages into an iFrame.
- March 20, 2009 - Links don't work in the dynamic menu bar. How can I correct this?
- March 21, 2009 - How can we increase the width of the vista style buttons of menu using javascript?
|