View Single Post
 
Reply
Posted 2009-03-25, 07:06 AM in reply to Goodlookinguy's post starting "I was trying to have the loop make a..."
I would try
Code:
function doLarger(maxSize) {
  var newSize;
  newSize=parseInt(document.getElementById('tiger').style.height)+10;
  if(newSize>maxSize){
    document.getElementById('tiger').style.height=maxSize+'px';
  }else{
    document.getElementById('tiger').style.height=newSize+'px';
    setTimeout("doLarger("+maxSize+")",10);
  }
}
Old
Profile PM WWW Search
WetWired read his obituary with confusionWetWired read his obituary with confusionWetWired read his obituary with confusionWetWired read his obituary with confusion
 
 
WetWired