(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 css ul menu...

Return to Recent Questions


Q: Hello. We need some tech support regarding our css ul menu.

All of our pages with the css ul 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 css ul 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 css ul 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. website builder software | website editor | free icon fonts | free icon maker | bootstrap image slider