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

    We have status bar errors that say: "Done, but with errors on page" in simple popup menu...

Return to Recent Questions

Q: Hello. We need some tech support regarding our simple popup menu.

All of our pages with the simple popup 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 simple popup 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];}}

So, your simple popup 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

Copyright (c) 2012, DHTML-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Write Us
All rights reserved. bootstrap slider | free bootstrap templates | bootstrap 4 themes | video background | free icon fonts