catch print event with client-side javascript?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • martin froment

    #16
    Re: catch print event with client-side javascript?

    The event "onbeforepr int" has been defined by the W3C for HTML 4.x and
    should trigger as expected on all browser platforms which support HTML
    4.x.

    Therefore, if i have one thing to say to MS:
    Why "if(self.print) " is working well and "if(self.onbefo reprint)" isn't
    supported ?

    Martin.

    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!

    Comment

    • Jim Ley

      #17
      Re: catch print event with client-side javascript?

      On 21 Oct 2004 00:18:20 GMT, martin froment <froment@hotmai l.com>
      wrote:
      [color=blue]
      >The event "onbeforepr int" has been defined by the W3C for HTML 4.x and
      >should trigger as expected on all browser platforms which support HTML
      >4.x.[/color]

      Could you point me to the relevant part of the W3C specification?

      as
      Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for.


      returns no documents, suggesting as I thought onbeforeprint is an IE
      extension, as MS themselves think it is:

      | Standards Information
      |
      | There is no public standard that applies to this event.

      Now I know the HTML WG can go a little crazy sometimes, they're nice
      people, but I think they would've documented it and not just told you.
      [color=blue]
      >Therefore, if i have one thing to say to MS:
      >Why "if(self.print) " is working well and "if(self.onbefo reprint)" isn't
      >supported ?[/color]

      onbeforeprint works fine in IE.

      Jim.

      Comment

      • martin froment

        #18
        Re: catch print event with client-side javascript?

        My error... I will search further next time before posting. My sources
        was invalid...

        *** Sent via Developersdex http://www.developersdex.com ***
        Don't just participate in USENET...get rewarded for it!

        Comment

        Working...