I don't think this is possible, due to the fact that every pixel increase or 
decrease is concidered a resize event.. if you maximize or minimize the 
window (instant resize) then it'll have the desired affect, otherwise I don't 
think it's possible.. I'm sorry.. if anyone else knows a way t' do it.. let 
this poor chap know..

-------
Vincent Calendo

<< Guys!
 
 I'm trying to write a javascript that will execute an event after an IE user
 has finished resizing the window.  (That is to say, I'm trying to stop the
 event being executed every pixel the window is resized).
 
 Any idea why this is failing miserably?  If anyone can think of a different
 approach I might take using different APIs, I'd appreciate that too.
 
 The code below tries to set an event in the future every pixel the window is
 resized, clearing out any old scheduled events as it does this.
 
 <script language="JavaScript">
 window.onresize = fixup;
 timeoutID = null;
 function fixup() {
   window.clearTimeout(timeoutID)
   timeoutID = window.setTimeout(afterResize(), 200000)
 }
 
 function afterResize() {
    alert('sdfds')
 }
 
 </script>
 
 
 
 
 thanks
 
 James >>

_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to