Hiermenus Go Forth, IX - DHTML Lab | 2
Hiermenus Go Forth, IX:
Version 4.0.2 - The Complete Script (Full-Window)
The Big One
Many readers have noted that IE5 may generate a confusing, inappropriate and totally scary error message:
The page loads and the menus are built. The menus are functional. Why the error message, and why does IE think that it has to "open" the page again?
I don't know why this particular error message appears, but I do know when it appears and how to avoid it.
The origin of the problem resides not with the HM script, but the page HTML.
The following page HTML examples will all generate the error:
<BODY> ...some page HTML... <BLOCKQUOTE>...some more HTML... <SCRIPT LANGUAGE="JavaScript1.2" SRC="HM_Loader.js" TYPE='text/javascript'></SCRIPT> </BODY> </HTML> <BODY> ...some page HTML... <BLOCKQUOTE> <SCRIPT LANGUAGE="JavaScript1.2" SRC="HM_Loader.js" TYPE='text/javascript'></SCRIPT> </BLOCKQUOTE> </BODY> </HTML> <BODY> ...some page HTML... <A HREF="defaultlink.html" onMouseOver="popUp('elMenu1',event)" onMouseOut="popDown('elMenu1',event)">Experts<A/> <SCRIPT LANGUAGE="JavaScript1.2" SRC="HM_Loader.js" TYPE='text/javascript'></SCRIPT> </BODY> </HTML>These examples will not generate an error:
<BODY> <SCRIPT LANGUAGE="JavaScript1.2" SRC="HM_Loader.js" TYPE='text/javascript'></SCRIPT> ...some page HTML... <BLOCKQUOTE>...some more HTML... </BODY> </HTML> <BODY> ...some page HTML... <SCRIPT LANGUAGE="JavaScript1.2" SRC="HM_Loader.js" TYPE='text/javascript'></SCRIPT> <A HREF="defaultlink.html" onMouseOver="popUp('elMenu1',event)" onMouseOut="popDown('elMenu1',event)">Experts<A/> </BODY> </HTML> <BODY> ...some page HTML... <BLOCKQUOTE>...some more HTML...</BLOCKQUOTE> <SCRIPT LANGUAGE="JavaScript1.2" SRC="HM_Loader.js" TYPE='text/javascript'></SCRIPT> </BODY> </HTML> <BODY> ...some page HTML... <A HREF="defaultlink.html" onMouseOver="popUp('elMenu1',event)" onMouseOut="popDown('elMenu1',event)">Experts</A> <SCRIPT LANGUAGE="JavaScript1.2" SRC="HM_Loader.js" TYPE='text/javascript'></SCRIPT> </BODY> </HTML>
What is the difference?
Produced by Peter Belesis and
All Rights Reserved. Legal Notices.Created: Jan 09, 2001
Revised: Jan 09, 2001
URL: https://www.webreference.com/dhtml/column45/2.html