(c) 2007, DHTML-Menu.com
 
   
   
  Support
  Recent Questions
  Write To Support
 

    We have status bar errors that say: "Done, but with errors on page" in net drop down menu...

Return to Recent Questions


Q: Hello. We need some tech support regarding our net drop down menu.

All of our pages with the net drop down 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 net drop down 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 net drop down 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:
   
Copyright (c) 2012, DHTML-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Write Us
All rights reserved. bootstrap carousel | parallax scrolling | Javascript Slideshow | responsive slider | bootstrap carousel