Username: Passwort:
Neue User - Registrierung
Moderator: toedder 
 BrainKing design

Learn how to customize BrainKing's view layer and share your CSS experiences.

Useful links
Wikipedia - for general information on what CSS is, why it is useful, and a short introduction on how to use it.
W3Schools - for a tutorial and a reference on CSS.
W3C - for detailed and advanced information for those who are interested.
CSS Zen Garden - for some trickery and demonstration of what is possible with CSS


Liste der Diskussionsforen
Modus: Jeder kann schreiben
In Postings suchen:  

14. April 2007, 04:09:26
coan.net 
Thema: Dice Poker - Select Checkbox when you click dice
A suggestion I have made a few times which will help speed up playing the game of Dice Poker - along with helping to make fewer mistakes while playing the game - that is the ability to click on the dice which will also check (and uncheck) the checkbox under the dice.

Well I have a feeling it probable won't be done on the system - so I'm now trying to figure out if I can make this possible using the .css file.

OK Smart css people - I NEED YOUR HELP!

Here is a same source code from the Dice Poker Game:
-------------------------------------------------------

<form action="DoMove" method="post" id="rollDiceForm" name="rollDiceForm"><table align=center><tr valign="bottom">

<td align="center"><img>
<input type="checkbox" id="coch0" name="coch0" value="1" class="coch"></td>

<td align="center"><img>
<input type="checkbox" id="coch1" name="coch1" value="1" class="coch"></td>

<td align="center"><img>
<input type="checkbox" id="coch2" name="coch2" value="1" class="coch"></td>

<td align="center"><img>
<input type="checkbox" id="coch3" name="coch3" value="1" class="coch"></td>

<td align="center"><img>
<input type="checkbox" id="coch4" name="coch4" value="1" class="coch"></td>

<td><input type="submit" id="rd" name="rd" value="Roll selected dice" class="inputbutton">


Rolls left: 2
<input type="checkbox" id="seal" name="seal" value="1" id="seal" onClick="selectAll(false);"> Select All</td></tr></table>

-------------------------------------------------------

Before I posted that I thought it would be possible since I seen each checkbox has it's own name - but now that I copied the above, I'm not sure if it is possible since the name of the image is the same... but I'll leave it here - maybe some smart people will be able to toss out some ideas.

Datum und Zeit
Freunde Online
Abonnierte Foren
Vereine
Tip des Tages
Copyright © 2002 - 2024 Filip Rachunek, all rights reserved.
Zurück nach oben