By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,705 Members | 1,226 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,705 IT Pros & Developers. It's quick & easy.

javascript +

P: 15
Hey all,

I hav a prob using javascript within

All i want to do was just changes the button backcolor when the mouse was on that button
Oct 23 '08 #1
Share this Question
Share on Google+
2 Replies

Expert Mod 5K+
P: 8,639
you could use:
Expand|Select|Wrap|Line Numbers
  1. //in your css
  2. #buttonid:hover {
  3.    background-color: /* insert-colour-here */;
  4. }
Oct 23 '08 #2

Expert Mod 15k+
P: 16,027
That wouldn't work in IE6 and IE7 quirks mode. You'd need JavaScript there. You need to change onmouseover.
Oct 23 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.