JavaScript Reference/Event Handlers Reference/onStart

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

"onStart" Example

   <source lang="javascript">
   

<html> <body> <marquee

  width=300 
  onstart="alert("New loop is about to start")" 
  bgcolor="#EEEEEE">www.wbex.ru

</marquee> </body> </html>


     </source>
   
  


"onStart" is applied to

   <source lang="javascript">

+----------------+--------------------------------------------------------------+ | Applied_To |<marquee> | +----------------+--------------------------------------------------------------+

     </source>
   
  


"onStart" Properties

   <source lang="javascript">

+----------------+--------------------------------------------------------------+ | Properties |altKey altLeft | | |clientX clientY | | |ctrlLeft type | | |offsetX offsetY | | |screenX screenY | | |shiftLeft srcElement | | |x y | +----------------+--------------------------------------------------------------+

     </source>
   
  


"onStart" Syntax and Note

   <source lang="javascript">

Note:

This event fires each time a loop of the <marquee> element starts.


     </source>