'onresizeend' not working

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Aaron Gray

    'onresizeend' not working

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

    Using IE 6

    Aaron


  • Randy Webb

    #2
    Re: 'onresizeend' not working

    Aaron Gray wrote:
    [color=blue]
    > onresize works but onresizeend does not seem to work either on div's or on
    > body.
    >
    > Using IE 6[/color]

    <URL:
    http://msdn.microsoft.com/library/de...nresizeend.asp[color=blue]
    >[/color]

    Says it does.
    What behavior are you getting? And, a sample code that shows it?

    --
    Randy
    comp.lang.javas cript FAQ - http://jibbering.com/faq

    Comment

    • Aaron Gray

      #3
      Re: 'onresizeend' not working

      >> onresize works but onresizeend does not seem to work either on div's or[color=blue][color=green]
      >> on body.
      >>
      >> Using IE 6[/color]
      >
      > <URL:
      > http://msdn.microsoft.com/library/de...nresizeend.asp[color=green]
      > >[/color]
      >
      > Says it does.
      > What behavior are you getting? And, a sample code that shows it?[/color]

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

      <head>

      </head>
      <body onResizeEnd="dr awAll();">

      <div id="canvas"
      style="backgrou nd-color:#f0f0f0;p osition:relativ e;height:100%;w idth:100%;"></div>


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

      function drawAll()
      {
      canvas.style.ba ckgroundColor = 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


      Comment

      Working...