View Single Post
  #1 (permalink)  
Old April 4th, 2005, 10:45 AM
interrupt interrupt is offline
Friend of Wrox
 
Join Date: May 2004
Location: , , .
Posts: 212
Thanks: 0
Thanked 0 Times in 0 Posts
Default Using '+=' with the fontSize attribute

Hi all,

Here is my script:

function moving2(){
if(movethis.style.pixelLeft<200){
movethis.style.pixelLeft+=5
movethis.style.fontSize+= 0.2
moveid2=setTimeout("moving2()", 20)}
}

The font size won't increase though, any ideas? If I comment it out though the layer will move quite happily. I'm trying to grow the text as it moves.

Help!
interrupt

__________________
\'sync\' &lt;cr&gt;
The name specified is not recognized as an internal or external command, operable program or batch file.
Reply With Quote