Thanks in advance
The following script opens an AIM (aol instant messenger) window with the screename and message populated from variables (same as a MAILTO script).
It works fine in IE5.5, but does nothing (not even give error) in NS4.76 (which is used at work where I want to implement).
Can anyone see what the problem might be?
Thanks again,
Chuck "Uh, honey, a P5 with a 20" monitor is perfect for email"
The following script opens an AIM (aol instant messenger) window with the screename and message populated from variables (same as a MAILTO script).
It works fine in IE5.5, but does nothing (not even give error) in NS4.76 (which is used at work where I want to implement).
Can anyone see what the problem might be?
Code:
<html>
<title>Some Title</title>
<head>
<script language="JavaScript">
<!-- hide me
function popupMessage() {
// SET MESSAGE VALUES
var goim = "goim"
var screenname = "easonc52";
var message =
"from%20[Chuck%20-%20ext/55502%20-%20dsk/246]%20%20";
// BUILD AIM MESSAGE COMPONENTS
var doc = "aim:" + goim +
"?screenname=" + screenname +
"&message=" + escape(message);
// POP UP AIM MESSAGE WINDOW
window.location = doc;
}
// show me -->
</script>
</head>
<body>
<FORM>
<INPUT TYPE="button" NAME="Test" Value="Test AIMto: URL" onClick="popupMessage()">
</FORM>
</body>
</html>
Thanks again,
Chuck "Uh, honey, a P5 with a 20" monitor is perfect for email"