That's right, yes.  I tried that at one point:

 $count=$count+2;
  while ($count<=$num_teams)
    {
      echo "<tr><td>Player ".$count . "</td><td class='players'><div
onclick='Effect.toggle('blinddown".$count."', 'slide'); return
false;'><span class='red'>{click to reserve a player spot}</span></
div>
        <div id='blinddown".$count."'style='display:none; width:175px; height:
100px; background:#FFF;'>Random Text that doesn't matter</div></td></
tr>";
      $count++;
    }

However, it still wasn't working, so I decided to mess around with it
and just hard-code 1 in there.  In my previous experience it will
toggle the first occurrence of the div id, so I was just trying to
avoid potential syntax errors until I figured it out.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to