title: Scaling SVG (Raphael.js) like an SWF
body: <p>I started using Raphael.js a few days ago and I'm really enjoying it. The only thing I haven't been able to figure out is how to get the "paper" or svg/vml tag to fill the browser window like an swf. <a href="http://www.shapevent.com/1/entit/chair.swf">See this example.</a></p>
  
  <p><em>Note the way the above example resizes with the browser window</em></p>
  
  <p>I was able to get the "paper" to resize with the browser window, but no luck getting all the vector graphics to adjust their size. Any feedback would be greatly appreciated.</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>I tried a bunch of different routes with this. viewBox worked great but its SVG only. I just figured out how to do it using Raphael sets and a little code on the window.onresize event. I'll post my findings later tonight or tomorrow. I'd still really like to see other solutions to the question if there are any.</p>