Click to See Complete Forum and Search --> : Invisible Clickable Button


Picarolio
07-30-2003, 07:50 AM
Does anyone know the tag or property to set to false to make a button invisible. Can this be done and the button still be able to function?

Or

How do you detect what keys are pressed? Such as, someone pressing CTRL+L. Then allowing that "special combo" to link to another page.

Thanks for all and any suggestions or remarks (even smart ass ones!).

pyro
07-30-2003, 08:00 AM
How about this:

<input type="button" style="color: transparent; background-color: transparent; border: none;" onclick="alert('test');">

CrazyGaz
07-30-2003, 08:05 AM
I can answer the first question.

<input type="button" style="visibility: hidden;">

not too sure about detecting keyhits though.

Gaz.

pyro
07-30-2003, 08:07 AM
If you set the visibility to hidden, you can't still click the button...

CrazyGaz
07-30-2003, 08:09 AM
thanks for sharing that Pyro, I had no idea of that (not that I have had to use it though :P

Cheers, Gaz.

Picarolio
07-30-2003, 08:10 AM
Thanks for all the Help!!!

pyro
07-30-2003, 08:22 AM
lol... Yeah, and invisible yet clickable button is almost an oxymoron, no? Anyway, I'm happy to have helped... :)

leelood
02-06-2012, 10:04 AM
Where exactly in the programming code will this code go??