Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #22767

Re: Obscure a button ?

Newsgroups comp.lang.javascript
Subject Re: Obscure a button ?
From "Evertjan." <exxjxw.hannivoort@inter.nl.net>
References <bkdg8uFrk9uU1@mid.individual.net> <bkdgu0FrohiU1@mid.individual.net>
Date 2014-01-23 23:44 +0100
Message-ID <XnsA2BEF178BD5CFeejj99@194.109.133.133> (permalink)

Show all headers | View raw


"Mel Smith" <med_cutout_syntel@aol.com> wrote on 23 jan 2014 in
comp.lang.javascript: 

> I said:
> 
>>    So, given an  <input.type="button" />, how does one define its CSS 
>> characteristics so that it is active/enabled and ready to be clicked
>> but not seen ?
> 
> Hi:
> 
>     This is not generally a CSS question.  I will be using JS/ES for the
> onclick action of this button. It is in the onclick function of this
> button that I'll be taking other actions.  But, I need the style-wise
> stuff to obscure the button to begin with.

A button you cannot see is not a button,
it is like an invisible image showing a mountain.

<div style = 'background-color:transparent;
              width:50px;height:20px;z-index:1234;
              position:absolute;left:200px;top:100px;'
     onclick = 'alert("You found me.")'>
</div>

-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Obscure a button ? "Mel Smith" <med_cutout_syntel@aol.com> - 2014-01-23 14:35 -0700
  Re: Obscure a button ? "Mel Smith" <med_cutout_syntel@aol.com> - 2014-01-23 14:46 -0700
    Re: Obscure a button ? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-01-23 23:44 +0100
      Re: Obscure a button ? "Mel Smith" <med_cutout_syntel@aol.com> - 2014-01-23 17:23 -0700
        Re: Obscure a button ? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-01-24 09:29 +0100
          Re: Obscure a button ? "Mel Smith" <med_cutout_syntel@aol.com> - 2014-01-24 10:25 -0700
  Re: Obscure a button ? Christoph Michael Becker <cmbecker69@arcor.de> - 2014-01-24 19:41 +0100
    Re: Obscure a button ? Christoph Michael Becker <cmbecker69@arcor.de> - 2014-01-24 20:21 +0100
      Re: Obscure a button ? "Mel Smith" <med_cutout_syntel@aol.com> - 2014-01-24 17:47 -0700

csiph-web