You are here: Re: psuedo classes « HTML « IT news, forums, messages
Re: psuedo classes

Posted by Jon Slaughter on 06/16/07 09:31

"Jon Slaughter" <Jon_Slaughter@Hotmail.com> wrote in message
news:11Oci.33402$Um6.1083@newssvr12.news.prodigy.net...
>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
> was).
>
> 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.
>
> Thanks,
> Jon

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация