onresize Event
Complete Event Object Reference
Definition and Usage
The onresize event occurs when a window or frame is resized.
Syntax
onresize="SomeJavaScriptCode"
|
Parameter |
Description |
SomeJavaScriptCode |
Required. Specifies a JavaScript to be executed when the
event occurs. |
Supported by the following HTML tags:
<a>, <address>, <b>, <big>, <blockquote>,
<body>, <button>, <cite>, <code>, <dd>, <dfn>, <div>, <dl>, <dt>, <em>, <fieldset>,
<form>, <frame>, <h1> to <h6>, <hr>, <i>, <img>,
<input>, <kbd>, <label>, <legend>, <li>, <object>, <ol>, <p>, <pre>,
<samp>, <select>, <small>, <span>, <strong>, <sub>, <sup>, <table>, <textarea>, <tt>, <ul>, <var> |
Supported by the following JavaScript objects:
Example
In this example an alert box will be displayed when a user tries to resize
the window:
<body onresize="alert('You have changed the size of the window')">
</body>
|
Try-It-Yourself Demos
onresize
How to use onresize to display a alert box when a page is resized.
Complete Event Object Reference
Make your web applications look like a million bucks
|
|
Most web applications today use boring methods to present data to their viewers using grids or simple HTML tables. FusionCharts induces "life" into the web applications by converting monotonous data into lively charts, gauges & maps.
FusionCharts works with all technologies like ASP, ASP.NET, PHP, ColdFusion, Ruby on Rails, JSP, HTML pages etc.
and connects to any database to render animated & interactive charts. It takes less than 15 minutes and no expertise
whatsoever to build your first chart and just a glance of it to captivate your audience. This fact is endorsed by our
12,000 customers and 150,000 users which include a majority of the Fortune 500 companies.
And yeah, your applications could look like a million bucks by spending just $69.
So go ahead, download your
copy of FusionCharts and start "wow-ing" your customers now!
|
|