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


Groups > comp.lang.javascript > #30984

Re: Button click ONLY - coding (newbie question)

From Ben Bacarisse <ben.usenet@bsb.me.uk>
Newsgroups comp.lang.javascript
Subject Re: Button click ONLY - coding (newbie question)
Date 2016-07-27 11:59 +0100
Organization A noiseless patient Spider
Message-ID <87mvl3fisa.fsf@bsb.me.uk> (permalink)
References <edbaa51a-8533-4cf6-ba9a-8535a3a37f71@googlegroups.com>

Show all headers | View raw


bit-naughty@hotmail.com writes:

> I have a button on my webpage (a picture), which I want to "glow" when
> the button is clicked.
> So the sequence of events is like this:
>
> mouseover: <do nothing>
> mouseclick: <show the "glowed" picture, ie. it has to be got from the
> server and shown - IMMEDIATELY!>
> mouserelease: <go back to unglowed picture>
> ...and then, go to the new page (whatever the link points to).
>
> I'm a little confused how to code all of this..... can anyone help? :)

You may be able to do this to your satisfaction using a simple CSS rule.
Display the glowing version when the link state is active.

-- 
Ben.

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


Thread

Button click ONLY - coding (newbie question) bit-naughty@hotmail.com - 2016-07-27 00:41 -0700
  Re: Button click ONLY - coding (newbie question) JJ <jj4public@vfemail.net> - 2016-07-27 17:34 +0700
  Re: Button click ONLY - coding (newbie question) Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-07-27 11:59 +0100

csiph-web