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!