Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    New Coder
    Join Date
    Jun 2002
    Posts
    27
    Thanks
    0
    Thanked 0 Times in 0 Posts

    afterload event...

    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?
    Thanks

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Posts
    344
    Thanks
    0
    Thanked 0 Times in 0 Posts
    never head of it

  • #3
    New Coder
    Join Date
    Jun 2002
    Posts
    27
    Thanks
    0
    Thanked 0 Times in 0 Posts

    just for imformation:

    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...

  • #4
    Regular Coder
    Join Date
    Jun 2002
    Location
    The Planet Earth Code Poet: True
    Posts
    282
    Thanks
    0
    Thanked 1 Time in 1 Post
    Do you mean onload which is the event handler that fires after the page has finished loading?

  • #5
    New Coder
    Join Date
    Jun 2002
    Posts
    27
    Thanks
    0
    Thanked 0 Times in 0 Posts

    No...

    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?

  • #6
    Regular Coder
    Join Date
    Jun 2002
    Location
    Delaware, USA
    Posts
    137
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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?

  • #7
    New Coder
    Join Date
    Apr 2006
    Location
    At a place
    Posts
    91
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Cool

    Afterload isn't a real event. But if you are altering the window but want a transition to play such as:
    Code:
    <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")
    Code:
    <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.
    Last edited by v777tony; 04-17-2006 at 06:13 AM.
    Uhh... Yeah Sure.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •