Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:29

error on page message bottom bar IE6 and IE7


Poster: AnnGoodwin
Dated: Monday September 3 2007 - 23:57:06 BST

I have the menu scripts in an include file, everything runs properly but we get error messages in IE7 and IE6 on the bottom window bar- error message text is

Line: 21
Char: 29424
Error: Object expected
Code:0

and we've isolated it to the script include file by putting it alone on this page:

http://www.greenbuild.co.nz/test.asp

Page source, includes the include-file text:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>GreenBuild™ Product Categories</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="main.css" rel="stylesheet" type="text/css">
<style type="text/css">
</style>


</head>
<body>
<SCRIPT type="text/javascript" src="milonic_src.js"></SCRIPT>
<script type="text/javascript">
<!--
if(ns4)_d.write("<SCR"+"IPT LANGUAGE=JavaScript SRC=mmenuns4.js><\/SCR"+"IPT>");
else _d.write("<SCR"+"IPT LANGUAGE=JavaScript SRC=mmenudom.js><\/SCR"+"IPT>");
-->
</SCRIPT>

<script language=JavaScript src="tooltips.js" type=text/javascript></script>
<SCRIPT language=Javascript src="mm_siteIndex.js" type=text/javascript></SCRIPT>
</body>
</html>


thanks for any help in advance- obviously not a critical error but will reflect on the site's credibility if I can't get rid of that idiot little error icon on the bottom of every page.

-Ann


Poster: John
Dated: Tuesday September 4 2007 - 16:10:29 BST

You are running different versions of the menu code files (a big no-no!), both of which are down-level anyway. ALL code files must be the same version.

Upgrade to the current 5.779, and, if you're no longer supporting NS4, use the new call structure as shown in /docs/install.html.


Poster: AnnGoodwin
Dated: Tuesday September 4 2007 - 21:49:26 BST

thank you! I didn't realise I was doing so!


Poster: John
Dated: Wednesday September 5 2007 - 15:52:19 BST

Hopefully that will fix things. If not come on back and we'll go from there.


Poster: AnnGoodwin
Dated: Wednesday September 5 2007 - 20:41:46 BST

It did, thanks again- seems a simple error but would have taken me ages to find as I'd swapped all the files out not too long ago and just wouldn't have thought of that!