On 2006-11-24, at 03:51 EST, mt1 wrote:
Hi forks,How can i control a canvas size order to resize a browser. For example: <canvas debug="true" bgcolor="red"> <handler name="onwidth"> <![CDATA[ Debug.write( "width: " + this.width ); if( this.width < 600 ) canvas.setWidth( 600 ); ]]> </handler> </canvas>
<canvas width="100%" height="100%">will make the canvas fill the browser window and follow resizing of the window.
