JavaScript Reference/Javascript Properties/nextPage

Материал из Web эксперт
Версия от 11:22, 26 мая 2010; Admin (обсуждение | вклад) (1 версия)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

"nextPage" Example

   <source lang="javascript">
   

<html> <head> <script language="JavaScript"> function function1() {

   var m = event.nextPage;
   alert("If no at-rule page was specified, the value is an empty string: \n"+"""+m+""");

} </script> </head> <body bottommargin="150">

   <input type="Button" id="myB" value="Click here" onClick="function1();">

</body> </html>


     </source>
   
  


"nextPage" is applied to

   <source lang="javascript">

+----------------+--------------------------------------------------------------+ | Applied_To |event | +----------------+--------------------------------------------------------------+

     </source>
   
  


"nextPage" Possible Values

   <source lang="javascript">

Possible Values left right. If no @page rule has been specified, the return value is an empty string.


     </source>
   
  


"nextPage" Syntax and Note

   <source lang="javascript">

Note: Read-only property. Only applicable when the browser uses a print template behavior, and it returns the position of the next page.

Syntax:

window.event.nextPage


     </source>