Here tries to resize the browser window
Example:
HTML
<!DOCTYPE html>
<html>
<body onresize="myFunction()">
<p>Try to resize the browser window.</p>
<script>
function myFunction() {
alert("You have changed the size of the browser window!");
}
</script>
</body>
</html>
Example of HTML onresize Event Attribute | Window Event Attributes |
Browser Support of HTML onresize Event Attribute | Window Event Attributes |
Syntax of HTML onresize Event Attribute | Window Event Attributes |
Attribute Values of HTML onresize Event Attribute | Window Event Attributes |
Technical Details of HTML onresize Event Attribute | Window Event Attributes |
How to execute a JavaScript when the browser window is resized | Window Event Attributes |
What is HTML onafterprint Event Attribute | Window Event Attributes |
What is HTML onbeforeprint Event Attribute | Window Event Attributes |
What is HTML onbeforeunload Event Attribute | Window Event Attributes |
What is HTML onerror Event Attribute | Window Event Attributes |
What is HTML onhashchange Event Attribute | Window Event Attributes |
What is HTML onload Event Attribute | Window Event Attributes |
What is HTML onoffline Event Attribute | Window Event Attributes |
What is HTML ononline Event Attribute | Window Event Attributes |
What is HTML onpageshow Event Attribute | Window Event Attributes |
What is HTML onresize Event Attribute | Window Event Attributes |
What is HTML onunload Event Attribute | Window Event Attributes |
Type: | Html |
Category: | Web Tutorial |
Sub Category: | Window Event Attributes |
Uploaded by: | Admin |