|
We have status bar errors that say: "Done, but with errors on page" in drop down horizontal menu...
Return to Recent Questions
Q:
Hello. We need some tech support regarding our drop down horizontal menu.
All of our pages with the drop down horizontal menu 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 drop down horizontal menu 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 drop down horizontal menu 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, 2007 - I don't understand, how can change place of the icon in button context menu...
- March 13, 2007 - Now we are having the "Incorrect Copyright" on our pop up menu javascript...
- March 14, 2007 - I am having a problem with css styles in the menus navigation.
- March 15, 2007 - I have problems with transitional effects in Firefox in the menu con css...
- March 16, 2007 - Is there any way to keep a javascript expand lit up when going to another page?
- March 16, 2007 - How can I change item width in the Vista templates in the html pop up menu?
- March 18, 2007 - I am getting a Javascript error, when accessing any of the dropdown menu css.
- March 19, 2007 - How to get the down menus in javascript to highlight and stay on the page you're viewing?
- March 19, 2007 - I need that the dhtml menu scripts loads pages into an iFrame.
- March 20, 2007 - Links don't work in the css dhtml menu. How can I correct this?
- March 21, 2007 - How can we increase the width of the vista style buttons of tab menu css?
|