Button behavior?

I have a 2 questions about button behavior.
I am working on a pretend banner for casino. five face down cards appear and work like five buttons. When mouse goes over a card (button), a question mark appears on the face down card. When mouse is clicked and released, I would like the face up card to stay faced up.
At this point, the face up card only appears while mouse is depressed, and face down card comes back after the mouse is released. How do
I make face up card remain?
Also, after all five cards have been clicked to face up, I would like WINNER to appear briefly before the user is linked to another page. This sounds more complicated and will probably require code like “if card1up and card2up and card3up and card4up and card5up then display winner and load new page”
Is there anyone so kind as to give me some hints on the best way to accomplish these things? Thank you very much - ACurtis