Go Back   Computer Forums > Web Design | Website Development > Web Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 03-16-2005, 11:18 AM   #1
Solid State Member
 
Join Date: Feb 2005
Posts: 10
Default what script code to make a mouse over color change?

so what code do I have to put in so that when u drag over a link on my nav bar the background changes from one color to another?
__________________

AmericanAirFan is offline   Reply With Quote
Old 03-17-2005, 05:17 PM   #2
Beta Member
 
Bashar's Avatar
 
Join Date: Mar 2005
Posts: 2
Default Re: what script code to make a mouse over color change?

Well, say you have the nav bar in a div, when someone mouses over the div to make it change colors you could use:

Code:
<div onMouseOver="this.style='background-color:#aaaaaa;';" onMouseOut="this.style='background-color:#bbbbbb;';"> stuff</div>
__________________

Bashar is offline   Reply With Quote
Old 03-17-2005, 06:55 PM   #3
Solid State Member
 
Join Date: Feb 2005
Posts: 10
Default Re: what script code to make a mouse over color change?

Thanks I figured out a better way but thanks anyways
AmericanAirFan is offline   Reply With Quote
Old 03-23-2005, 01:43 AM   #4
BSOD
 
Join Date: Mar 2005
Posts: 39
Default Re: what script code to make a mouse over color change?

try google!
thrustan is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 06:44 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0