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\' <cr>
The name specified is not recognized as an internal or external command, operable program or batch file.
|