for ( i=0;i<5;i++ ) {
   (function(num) {
       $("#port"+num).click(function() { bigchart(num) });
   })(i);
}

That's the one I was trying to figure out.  Nicely done.

-- Josh

Reply via email to