equal
deleted
inserted
replaced
135 |
135 |
136 for ( var i = 0; i < frames; i++ ) |
136 for ( var i = 0; i < frames; i++ ) |
137 { |
137 { |
138 topc = GlideEffect.easeInOut(i, topi, diff_top, frames); |
138 topc = GlideEffect.easeInOut(i, topi, diff_top, frames); |
139 leftc = GlideEffect.easeInOut(i, lefti, diff_left, frames); |
139 leftc = GlideEffect.easeInOut(i, lefti, diff_left, frames); |
140 setTimeout('var o = fly_in_cache['+rand_seed+']; o.style.top=\''+topc+'px\'; o.style.left=\''+leftc+'px\';', timeout); |
140 var code = 'var o = fly_in_cache['+rand_seed+']; o.style.top=\''+topc+'px\';'; |
|
141 if ( !height_taken_care_of ) |
|
142 code += ' o.style.left=\''+leftc+'px\''; |
|
143 code += ';'; |
|
144 setTimeout(code, timeout); |
141 timeout += timerstep; |
145 timeout += timerstep; |
142 |
146 |
143 var ratio = i / frames; |
147 var ratio = i / frames; |
144 |
148 |
145 if ( !nofade ) |
149 if ( !nofade ) |