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?