JavaScript Reference/Event Handlers Reference/onResizeEnd

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

"onResizeEnd" Example

   <source lang="javascript">
   

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

   function function1() {
       alert("The "+event.type+" event fired")
   }

</script> </head> <body>

   <a id="myL" href="http://www.wbex.ru" contenteditable=true onresizeend="function1()">
       <img src="http://www.wbex.ru/style/logo.png" 
            alt="http://www.wbex.ru" 
            width="79" 
            height="99">
   </a>

</body> </html>


     </source>
   
  


"onResizeEnd" is applied to

   <source lang="javascript">

+----------------+--------------------------------------------------------------+ | Applied_To |<a> <acronym> | | |<address> <applet> | | |<area> | | | |

| |
<body> |

| |<button> |

| |
|

| |<custom>

| | | <dir> |

| |
|

| |document

| | | <embed> | | |<fieldset> | | |<form> <frame> | | |<frameset> <hn> |

| |
|

| |<iframe> <img> | | |<input type="button"> <inputtype="checkbox"> | | |<input type="file"> <input type="hidden"> | | |<input type="image"> <input type="password"> | | |<input type="radio"> <input type="reset"> | | |<inputtype="submit"> <input type="text"> | | | <isindex> | | | <label> |

| |<legend>
  • | | |<listing> <marquee> | | |<menu> <object> | | |

      | | |

                                                            |
      |                |                                                    |
      |                |                                                     |
      |                |<select>                                               |
      |                |                                                |
      |                |                                                 |
      |                |                                                  |
      |                |<tbody>                                                   |
      |                |                             
        | | | window | | |<xmp> | +----------------+--------------------------------------------------------------+ </source>

        "onResizeEnd" Properties

        <source lang="javascript"> +----------------+--------------------------------------------------------------+ | Properties |altKey altLeft | | |button cancelBubble | | |clientX clientY | | |ctrlKey ctrlLeft | | |fromElement offsetX | | |offsetY returnValue | | |screenX screenY | | |shiftKey shiftLeft | | |srcElement toElement | | |type x | | |y | +----------------+--------------------------------------------------------------+

        </source>



        "onResizeEnd" Syntax and Note

        <source lang="javascript"> Note:

        This event fires when the user completes resizing an object.


        </source>

      |

      | |<textarea> <tfoot> |

      | |
      <thead> | | |