I forgot to mention that the file you are running has to be in a frame! I have attached an example.
----Original Message Follows----
From: "Quang Nguyen" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: [Dynapi-Help] An interesting bug and its solution.
Date: Fri, 21 Dec 2001 01:16:18 +0000
This bug does not happen for IE5.5 and Netscape 6.2, but it happens only on
Netscape 4.79. Try to run the following program and click on the link. The
way to fix this DYNAPI bug is call global.js just before the </HEAD>
MAIN FILE:
<head>
<script LANGUAGE="JavaScript" src="global.js"></script>
<script language="Javascript" src="dhtmllib/dynapi.js"></script>
<script language="Javascript">
DynAPI.setLibraryPath('dhtmllib');
DynAPI.include('dynapi.api.*');
</script>
</head><body>
<a href="javascript:void(null);" onclick="popupHelpURL('test');">click
here</a>
</body>
GLOBAL.JS
var ie4=document.all?true:false
var ns4=document.layers?true:false
var ns6=(document.getElementById&&!document.all)?true:false
popupHelpURLWindow = 0
function popupHelpURL(url)
{
alert("1")
alert("url="+url)
alert("popupHelpURLWindow="+popupHelpURLWindow)
}
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dynapi-help
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
bug ns4.79.zip
Description: Zip compressed data
