You are here: Re: dual state button « HTML « IT news, forums, messages
Re: dual state button

Posted by SpaceGirl on 11/11/98 11:23

Martin John Brindle wrote:
> How can I make an ordinary html button behave like a checkbox? That is, I
> need it to stay sunk if i click on it and then popup when clicked again?
>
>

You'll need to use script to do that. Draw two images, one of your
button "up" and one of your button "down". Something like this should work:

<img src="button_up.gif" onclick="this.src='button_down.gif';" />

--


x theSpaceGirl (miranda)

# lead designer @ http://www.dhnewmedia.com #
# remove NO SPAM to email, or use form on website #
# this post (c) Miranda Thomas 2005
# explicitly no permission given to Forum4Designers
# to duplicate this post.

 

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

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