onResizeEnd
オブジェクトがリサイズされた後に発生するイベントです。Windows版Internet Explorer 5.5以降で利用できます。
構文
<タグ名 onResizeEnd="イベント発生時の処理"> オブジェクト.onresizeend = "イベント発生時の処理"
例文
<html> <head> <title>onResizeEnd</title> <script type="text/javascript"><!-- var flag = false; window.onload = function() { document.execCommand("2D-position", false, true); document.body.onresizestart = eventResizeStart; document.body.onresizeend = eventResizeEnd; } function eventResizeStart() { flag = false; document.getElementById("result").innerHTML += "Resize Start, "; } function eventResizeEnd() { document.getElementById("result").innerHTML += "Resize End, "; } // --></script> </head> <body> <div contenteditable="true" style="width:500px;height:300px;border:1px solid black"> <div id="mvDiv" style="position:absolute;width:200px;height:100px;background-color:orange;">Sample Box</div> </div> <div id="result"></div> </body> </html>
関連記事
- DOMMouseScroll
- onUnload
- onSubmit
- onStop
- onStart
- onSelectStart
- onSelectionChange
- onSelect
- onScroll
- onResizeStart
- onResize
- onReset
- onreadystatechange
- onPaste
- onMoveStart
- onMoveEnd
- onMove
- onMouseWheel
- onMouseUp
- onMouseOver
- onMouseOut
- onMouseMove
- onMouseLeave
- onMouseEnter
- onMouseDown
- onLoad
- onKeyUp
- onKeyPress
- onKeyDown
- onHelp
- onFocusOut
- onFocusIn
- onFocus
- onFinish
- onError
- onDragStart
- onDragOver
- onDragLeave
- onDragEnter
- onDragEnd
- onDrag
- onDblClick
- onCut
- onCopy
- onContextMenu
- onClick
- onChange
- onBlur
- onBeforeUnload
- onBeforePrint
- onBeforePaste
- onBeforeCut
- onBeforeCopy
- onAfterPrint
- onAbort
- event.y
- event.x
- event.wheelDelta
- event.type
- event.toElement
- event.screenY
- event.screenX
- event.keyCode
- event.pageY
- event.pageX
- event.offsetY
- event.offsetX
- event.srcElement
- event.detail
- event.clientY
- event.clientX
スポンサーリンク