Announcement

Collapse
No announcement yet.

How to <if> this ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to <if> this ?

    I have the following three drop downs :


    HTML Code:
    <!-- Main -->
    <td width="30%" class="alt2"><b>Game</b></td>
    <td align="left" width="70%" class="alt1Active"> 
    <SELECT NAME="Game">
    <OPTION VALUE="Onslaught.ONSOnslaughtGame">Onslaught
    <OPTION VALUE="XGame.xDeathMatch">Deathmatch
    </SELECT> </td> </tr>
    <!-- / Main -->
    
    <!-- Deathmatch -->
    <td width="30%" class="alt2"><b>Map</b></td>
    <td align="left" width="70%" class="alt1Active">
    <SELECT NAME="Map">
    <OPTION VALUE="DM-Rankin">DM-Rankin
    <OPTION VALUE="DM-Morpheus3">DM-Morpheus3
    </SELECT> </td> </tr>
    <!-- / Deathmatch -->
    
    <!-- Onslaught -->
    <td width="30%" class="alt2"><b>Map</b></td>
    <td align="left" width="70%" class="alt1Active">
    <SELECT NAME="Map">
    <OPTION VALUE="ONS-Torlan">ONS-Torlan
    <OPTION VALUE="ONS-Dria">ONS-Dria
    </SELECT> </td> </tr>
    <!-- / Onslaught -->
    BUT: How can I use a <if> condition to show either the 2nd or the 3rd drop down depending on the first choice ?

    Lets say someone chooes Onslaught in the first drop down

    I would like to show the Onslaught drop down and the Deathmath not at all and the other way around
    I'm not under the alkafluence of inkahol like some thinkle peep I am!

  • #2
    JavaScript!
    (That's as much as I know)

    Comment


    • #3
      You can't use a template conditional, you'd have to use a piece of JavaScript code.
      Best Regards
      Colin Frei

      Please don't contact me per PM.

      Comment

      Loading...
      Working...
      X