Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Ben Bacarisse 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> References: 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 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: > mouseclick: server and shown - IMMEDIATELY!> > mouserelease: > ...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.