(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 pop up menu script...

Return to Recent Questions


Q: Hello. We need some tech support regarding our pop up menu script.

All of our pages with the pop up menu script 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 pop up menu script 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 pop up menu script 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. website designer | Free Bootstrap Template | bootstrap modal popup | bootstrap carousel | image slider