JavaScript Reference/Event Handlers Reference/onResizeStart

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

"onResizeStart" Example

   <source lang="javascript">
   

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

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

</script> </head> <body>

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

</body> </html>


     </source>
   
  


"onResizeStart" 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>

        "onResizeStart" 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>



        "onResizeStart" Syntax and Note

        <source lang="javascript"> Note:

        This event fires when starting resizing an object.


        </source>

      |

      | |<textarea> <tfoot> |

      | |
      <thead> | | |