Posted by Philip Ronan on 11/12/30 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 can't. Otherwise it wouldn't be an ordinary HTML button.
You could fake it with a scripted graphic element, but why bother? You'll
only end up making your site frustrating and/or unusable. What you're
proposing is about as logical as making scrollbars that behave like pop-up
menus.
If you want something that behaves like a checkbox, then use a checkbox.
--
phil [dot] ronan @ virgin [dot] net
http://vzone.virgin.net/phil.ronan/
[Back to original message]
|