XML Feeds

.

[javascript-dev] Re: RE: JSUI : question about Array index/value

simon adcock lists at simonadcock.co.uk
Wed Oct 3 08:46:44 MDT 2007


That's odd. Just incase you're looking at the forum view not the email list here's the js code again with out the bits missing...  ?!

var Ratio = ["1:1", "2:1", "3:1","4:1", "6:1", "10:1"];

function ratio(a)
{
  for(i=0; i<Ratio.length; i++)
  {
    if(Ratio[i] == a)
    {
      outlet(0, i);
    }
  }
}


Simon


More information about the javascript-dev mailing list