Index: trunk/extensions/TreeAndMenu/star.js |
— | — | @@ -7,8 +7,8 @@ |
8 | 8 | easing: 'swing', |
9 | 9 | out_spin: 2, |
10 | 10 | in_spin: 2, |
11 | | - width: 500, |
12 | | - height: 500 |
| 11 | + width: '100%', |
| 12 | + height: 600 |
13 | 13 | } |
14 | 14 | |
15 | 15 | /** |
— | — | @@ -147,8 +147,8 @@ |
148 | 148 | // Position the children to their locations around the parent |
149 | 149 | var n = data.children.length; |
150 | 150 | var k = Math.PI * 2 / n; |
151 | | - var r = t * n * 8; |
152 | | - if( r < 20 ) r = 20; |
| 151 | + var r = t * n * 12; |
| 152 | + if( r < 30 ) r = 30; |
153 | 153 | for( var i in data.children ) { |
154 | 154 | var child = data.children[i]; |
155 | 155 | var cdata = getData(child); |