JavaScript Scripts





Español Français 中文 Deutsch Portuguese Japanese nederlands
   
 
Free Java Script Codes
Javascript List All
Slide Show Slide Show
Ad Display Ad Display
Image Effect Image Effect
Animated Image Effects Animated Image Effects
Form Validation Form Validation
Color Picker Tool Color Picker Tool
Formatting Forms Formatting Forms
Select All Select All
Dynamic Form Select Dynamic Form select
Dynamic Color Dynamic Color
Calendar Script Calendar
Textbox Counter Textbox Counter
Alphanumeric Alphanumeric
Date Time Script Date & Time
Stop Watch Script Stop Watch script
Delete Repeated Values Delete Repeated Values
Pagination Pagination
Random Generator Random Generator
Animated Text Animated Text
Cursor Position Cursor Position
User Info Window / User Info
Security Security / Authenticate
Bookmark Bookmark
Mouse Effects Mouse Effects
Title Bar Title Bar
Status Bar Status Bar
Country List Country List
Free Games Free Games
Calculators Calculators
 




Change color of table row onmouseOver


About
This java script function will change the color of table row when you point the mouse cursor on the row.


Features
a)This javascript function will change the color of table row onMouseover.
b)Just copy the code into your page and use it for free.

Preview
hscripts.com
free tutorial
free javascript
free softwares
Purchase php scripts


Code
<!--        Script by hscripts.com          -->
<!--        copyright of HIOX INDIA         -->
<!-- more scripts @ http://www.hscripts.com -->
<script type="text/javascript">
var bgcolor = "#ededed";
var change_color = "#cdcdcd"
function mover(aa) {
 aa.style.backgroundColor = change_color;
}
function mout(aa) {
 aa.style.backgroundColor = bgcolor;
}
</script>
<!-- Script by hscripts.com -->

Release Date - 02-01-2007
Get free version without ©copyright link for just 5 price

For customization of this script or any script development, contact us at support@hscripts.com


Usage
a)Copy the above code and the required color in javascript code.
    var bgcolor = "your background color";
    var change_color = "color tobe changed on mouseover"
b)Now set the style or table row color on your html table
<tr>
    <td style ="background-color: Your background Color;"
  onmouseover="mover(this);"  onmouseout="mout(this);">
      haiiiiiiiiiiiiiii
    </td>
</tr>
    .....Add Your table rows continuously with various values.....
    ......................................................
<tr>
    <td style ="background-color: Your background Color;"
  onmouseover="mover(this);"  onmouseout="mout(this);">
      bla bla bla
    </td>
</tr>



License
- The javascript (misspelled as java script) is given under GPL License
- i.e. Free use for those who use the codes as it is.
- Free, if your modification does not remove our copyright information and links.
- Click Here for detailed license information.
- You can purchase the script if your requirements does not meet our GPL License terms.
Other Links

web hosting