View Full Version : afterload event...

06-21-2002, 02:33 PM
Is this JS event deprecated? I can't find information about it anywhere?
It works globally but I have some problems... does anyone know if it is still used?

06-21-2002, 03:36 PM
never head of it :confused:

06-21-2002, 03:39 PM
I use it in an XSL transformation, therefore I need this afterload event because I have to wait the HTML page generation and then manipulate dynamically some elements inside...

06-21-2002, 05:22 PM
Do you mean onload which is the event handler that fires after the page has finished loading?

06-24-2002, 10:07 AM
I talk about the afterload event... when I try to use onload event to call a method instead of my afterload, an error occurs:

"Error, not implemented"

So, can someone help or suggest me something? Is the afterload event gonna disappear? :confused:

06-24-2002, 05:19 PM
I've never heard of afterload either. Maybe it was a custom function that was called onload onload="afterload()"?

If you post some code or a url we can take a look and help you figure it out?

04-15-2006, 11:03 PM
Afterload isn't a real event. But if you are altering the window but want a transition to play such as:

<meta http-equiv="Site-Enter" content="revealTrans(Duration=2,Transition=23)"/>
<meta http-equiv="Site-Exit" content="revealTrans(Duration=2,Transition=23)"/>
<meta http-equiv="Page-Enter" content="revealTrans(Duration=2,Transition=23)"/>
<meta http-equiv="Page-Exit" content="revealTrans(Duration=2,Transition=23)"/>
Then just use the onmouseover event. So, the transition plays and since the users mouse will be on the screen it alters the window (however you set it).
I used this for my webpage.(look at "onmouseover")

<body onmouseover="window.moveTo(0,0); window.resizeTo(screen.availWidth,screen.availHeight);" text="#FFFFFF" link="#008000" vlink="#FF0000" style="SCROLLBAR-FACE-COLOR:#0000FF;SCROLLBAR-ARROW-COLOR:#FF0000;SCROLLBAR-3DLIGHT-COLOR:#FFFFFF;SCROLLBAR-DARKSHADOW-COLOR:#000000;SCROLLBAR-HIGHLIGHT-COLOR:#FFFFFF;SCROLLBAR-SHADOW-COLOR:#000000;SCROLLBAR-TRACK-COLOR:#008080;">
Then I had some transitions in the head tag.:thumbsup: :D