That's the one. Thanks Matt. ----- Original Message ----- From: "Matt Horn" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 16, 2003 4:19 PM Subject: Re: [ cf-dev ] OT: Styles again(sorry)
> <input type="button" class="subscribersButton" value="test Button" > onMouseOver="this.className='subscribersButtonMouseOver'" > onMouseOut="this.className='subscribersButton'"> > > > Matt > > > At 16:16 16/01/2003 +0000, you wrote: > >Hopefully a quick one as it's getting on for that time of day. > > > >Can I change the stlye of a button when I mouse over it? > > > >I am trying to do this: > > > ><input type="button" class="subscribersButton" value="test Button" > > onMouseOver="style = 'subscribersButtonMouseOver'" > > onMouseOut="style = 'subscribersButton'"> > > > >And have tried a few variations on this including using class instead of > >style. But none of them work. > >I know that I can do onMouseOver="style.background = blue" or something like > >that allowing me to change the style one property at a time buit is it > >possible to compleatly switch to another style in the style sheet in one go? > > > >Thanks > > > >Giles > > > > > >-- > >** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > > > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > >For human help, e-mail: [EMAIL PROTECTED] > > > -- > ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > For human help, e-mail: [EMAIL PROTECTED] > -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]
