I think you have to set the onbeforeload and onafterload to be functions in an eventlistener.
-----Original Message-----
From: Doug Melvin [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 29, 2001 2:53 PM
To: dynapi-help
Subject: [Dynapi-Help] beforeload/afterload

can someone tell me the correct usage of 'beforeload' and 'afterload' ?
 
The following code does not seem to work..
 
<script language="Javascript">
DynAPI.onbeforeload = function(){
 alert("beforeload");
 Loading=true;
}
DynAPI. {
 CreateToolBar();
 
}
DynAPI.onafterload = function(){
 Loading=false;
 alert("afterload");
}
</script>
 
onload get's called..
but beforeload and afterload do not seem to

Reply via email to