Web Analytics Made Easy -
StatCounter afterload event... - CodingForum

Announcement

Collapse
No announcement yet.

afterload event...

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new 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
    never head of it

    Comment


    • #3
      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...

      Comment


      • #4
        Do you mean onload which is the event handler that fires after the page has finished loading?

        Comment


        • #5
          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?

          Comment


          • #6
            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?

            Comment


            • #7
              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; Apr 17, 2006, 12:13 AM.
              Uhh... Yeah Sure.

              Comment

              Working...
              X