Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #30984
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Ben Bacarisse <ben.usenet@bsb.me.uk> |
| Newsgroups | comp.lang.javascript |
| Subject | Re: Button click ONLY - coding (newbie question) |
| Date | Wed, 27 Jul 2016 11:59:49 +0100 |
| Organization | A noiseless patient Spider |
| Lines | 19 |
| Message-ID | <87mvl3fisa.fsf@bsb.me.uk> (permalink) |
| References | <edbaa51a-8533-4cf6-ba9a-8535a3a37f71@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain |
| Injection-Info | mx02.eternal-september.org; posting-host="017616aa25f81ec581c44d76d61ba2f3"; logging-data="9727"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/uydTRc1ZMaE+TPObG1dmxd4N3wXKBb8Y=" |
| Cancel-Lock | sha1:8bG3EpVPeOYZJlX9rEgNPEUorE4= sha1:dag3Im3oNFANkbhuggub90A7svU= |
| X-BSB-Auth | 1.98624a4b0f5e43bf5211.20160727115949BST.87mvl3fisa.fsf@bsb.me.uk |
| Xref | csiph.com comp.lang.javascript:30984 |
Show key headers only | 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 | Next — Previous in thread | Find similar | Unroll 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