JavaScript Reference/Event Handlers Reference/onFinish

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

"onFinish" Example

    
<html>
<body>
<marquee loop="2" 
         width=250 
         onfinish="alert("www.wbex.ru")" 
         bgcolor="#EEEEEE">
         www.wbex.ru
</marquee>
</body>
</html>



"onFinish" is applied to

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



"onFinish" Properties

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



"onFinish" Syntax and Note

Note:
    
This event fires when a looping is completed for a <marquee> element.