'onresizeend' not working

A

Aaron Gray

onresize works but onresizeend does not seem to work either on div's or on
body.

Using IE 6

Aaron
 
A

Aaron Gray

onresize works but onresizeend does not seem to work either on div's or
Says it does.
What behavior are you getting? And, a sample code that shows it?

----------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>

<head>

</head>
<body onResizeEnd="drawAll();">

<div id="canvas"
style="background-color:#f0f0f0;position:relative;height:100%;width:100%;"></div>


<script type="text/javascript">
<!--

function drawAll()
{
canvas.style.backgroundColor = 0;
}

//-->
</script>

</body>
</html>
--------------------

Its a _oneshot_ but it demonstrates the problem, replace 'onResizeEnd' with
'onResize' and it works fine.

If it wont work which it should, drawing the chart which is resizable takes
a couple of seconds plus, so I really need the onResizeEnd or an equivalent,
the only thing I can think of doing is use a timer which is constantly reset
by onResize and then it times out after the resize process and draws the
chart.

Hopefully I am doing something silly though,

Aaron
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,951
Messages
2,570,113
Members
46,698
Latest member
alexxx

Latest Threads

Top