onUnload with Netscape 4.04

Leonard T. Harris lharris at jsr.cc.va.us
Mon Apr 13 16:03:09 EDT 1998


Hello all,

I want a little alert to pop up when a document is unloaded.

What I have been using is <body onUnload="ByeBye()">
with ByeBye defined as

function ByeBye() {
	alert("You are now leaving the college server.  We are not responsible for
anything you may encounter")
	}

This worked fine in MS Explorer 4.0 and Netscape 3.03, but I just upgraded
to Netscape 4.04 and the alert doesn't appear.  Do I need to do something
different.


Thanks.


-Leonard T. Harris
Library Assistant
Downtown Campus Learning Resources Center
J. Sargeant Reynolds Community College


More information about the Web4lib mailing list