How to convert a fixed height/width-fixed layout to elastic?

Posted by phretor on Stack Overflow See other posts from Stack Overflow or by phretor
Published on 2010-04-01T18:11:21Z Indexed on 2010/04/01 18:13 UTC
Read the original article Hit count: 270

Filed under:
|
|
|

I used the same software used here http://us.gn.bartal.org/ to create a fixed width/height treemap in HTML + CSS.

I would like to make it elastic by having a JavaScript function to convert all pixels absolute positions and sizes to percentages.

How would you suggest to proceed? Is there some jQuery/Prototype/Dojo magic that I can exploit?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about fluid-layout