JavaScript Reference/Event Handlers Reference/onStart

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

"onStart" Example

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



"onStart" is applied to

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



"onStart" Properties

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



"onStart" Syntax and Note

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