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

background color change of text when mouseovers

P: 54
Hi All,

I'm new to this group. I'm working on Java/J2ee. In my project i have one bricklet with header it will have some default color.But when mouseovers on this header i need to change the backgorund color of the header. can anyone suggest me how to do it plz?
Jul 17 '07 #1
Share this Question
Share on Google+
5 Replies


Expert 10K+
P: 11,448
Hi All,

I'm new to this group. I'm working on Java/J2ee. In my project i have one bricklet with header it will have some default color.But when mouseovers on this header i need to change the backgorund color of the header. can anyone suggest me how to do it plz?
That is a client issue and it can be better answered in a Javascript forum.

kind regards,

Jos

ps. Do you want me to move your question over to the Javascript forum?
Jul 17 '07 #2

P: 54
That is a client issue and it can be better answered in a Javascript forum.

kind regards,

Jos

ps. Do you want me to move your question over to the Javascript forum?

Yes sure.Thanks in Advance
Jul 18 '07 #3

Expert 10K+
P: 11,448
Yes sure.Thanks in Advance
Done; sorry for the delay (I was bizzy again). Best of luck in this forum.

kind regards,

Jos
Jul 18 '07 #4

epots9
Expert 100+
P: 1,351
by header i assume <h1>, add the following attributes:

[HTML]
<h1 onmouseover="this.style.color='red';" onmouseout="this.style.color='black';">Words</h1>
[/HTML]

change the colors to your liking.

good luck
Jul 18 '07 #5

acoder
Expert Mod 15k+
P: 16,027
Hi All,

I'm new to this group. I'm working on Java/J2ee. In my project i have one bricklet with header it will have some default color.But when mouseovers on this header i need to change the backgorund color of the header. can anyone suggest me how to do it plz?
Post some code that you have if even the HTML.
Jul 18 '07 #6

Post your reply

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