'OnResizeEnd' not working on IE 6

A

Aaron Gray

OnResizeEnd does not seem to be working on IE 6.

----------
<!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
 
M

Michael Winter

OnResizeEnd does not seem to be working on IE 6.

I don't believe that it *should* work:

"Fires when the user finishes changing the dimensions of the
object in a control selection."

and

"Remarks

Only content editable objects can be included in a control
selection. You can make objects content editable by setting the
contentEditable property to true or by placing the parent document
in design mode."

[snip]

Mike
 
A

Aaron Gray

OnResizeEnd does not seem to be working on IE 6.
I don't believe that it *should* work:

"Fires when the user finishes changing the dimensions of the
object in a control selection."

and

"Remarks

Only content editable objects can be included in a control
selection. You can make objects content editable by setting the
contentEditable property to true or by placing the parent document
in design mode."

Cheers, strange condition though, as it would be a useful function if it did
work.

Thanks,

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,808
Messages
2,569,684
Members
45,438
Latest member
greenleaf

Latest Threads

Top