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 des forums de discussions
Vous n'êtes pas autorisé de poster des messages dans ce forum. Le niveau d'adhésion minimal requis pour poster dans ce forum est Cavalier.
Sujet: 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: -------------------------------------------------------
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.
Sujet: Re: Dice Poker - Select Checkbox when you click dice
BIG BAD WOLF: I don't think it can be done with a (CSS) style sheet. Now, if only we could inject javascript.... I think it's possible with some javascript.
Fencer: You are right, I don't expect you to do it. It wouldn't be hard to code though, and I would have some use for it (for instance, setting the action to "stay here" for Battleboats, Frog Finder and Logic).
I do have a request though (not a JavaScript one). Sometimes I try something out in my CSS file, and it works great on the page I intend the effect for. But another page uses the same class names and there the effect is a disaster. Would it be possible to put the entire page inside a large DIV section whose class reflects the pagetype, and ID a further specification? For instance:
<div class = 'Board' id = '136'> ... BrainKing design board ... </div>
<div class = 'Board' id = '130'> ... Dice poker board ... </div>
<div class = 'ShowGame' id = '26'> ... Some Backgammon race game ... </div>
You might even want to throw in the language in a lang attribute.
(Cacher) Vous êtes d'humeur de jouer une partie rapide qui est garantie d'être finie dans les 2 heures? Créez une nouvelle partie de votre choix, choisissez le Temps pour la partie et réglez le Temps à 0 jour/1 heure, Incrément à 0 jour/ 0heure et la Limite à 0 jour/ 1 heure. (TeamBundy) (Montrer toutes les astuces)