0

ここで使用されているものと同じソフトウェアhttp://us.gn.bartal.org/を使用して、HTML + CSS で固定幅/高さのツリーマップを作成しました。

JavaScript 関数を使用して、すべてのピクセルの絶対位置とサイズをパーセンテージに変換することで、弾力性を持たせたいと考えています。

どのように進めることをお勧めしますか? 利用できる jQuery/Prototype/Dojo マジックはありますか?

4

1 に答える 1

0

Your basic process would be something like this:

  • Identify the elements that need resizing
  • Write some JQuery to find the sizes of those elements
  • Calculate the percentages (or other values)
  • Make the adjustments
  • Subscribe to all relevant resize events
  • Recalculate the sizes on each resize event
于 2010-04-01T18:15:20.290 に答える