JavaScript DHTML/Event onMethod/onLayoutComplete

Материал из Web эксперт
Перейти к: навигация, поиск

"onLayoutComplete" Example

   <source lang="html4strict">
   

<html><head> <script language="JavaScript">

   function function1() {
       window.print();
   }

</script> </head> <body>

Some body content to print

<input type="button"

      value="Print" 
      onclick="function1()"
      onlayoutcomplete="alert("The preview layout process is finished")">

</body> </html>


     </source>