psuedo classes

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I have some formating working where I want the user to click on a block and
have it hide/show another block.

The issue is that if I use active then it only hides it as long as the mouse
button is down and if I use link then it only displays it when its clicked.

I need a way to toggle the state from display to block(or back where it

Is this at all possible with css? (else it makes it completely useless for
what I'm trying to do ;/) (which I guess ends up forcing me to use js ;/)

I got an idea to trick css into doing a toggle but want to make sure that
its the only thing left to try before I spend any time doing it.


Re: psuedo classes

Quoted text here. Click to load it

Again, to be clear, everything works when I use active except that the
effect I want only lasts while the user is holding down the button. I want
it do the effect when the user clicks the button and then "undo" it when he
clicks again.

Re: psuedo classes

Quoted text here. Click to load it

You need to use JavaScript.

Site Timeline