H I O X INDIA
FREE Javascript
Google
Web hscripts.com
 HOME  ||  Scripts  ||  Purchase  ||  Tutorials  ||  Images  ||  Tools  ||  Directories 
  :-)  Send Page   :-)   Feedback   :-)   Register   :-)   Links   :-)   Support   :-)   Bookmarks :-)  
 Forums   Hosting   Internet Stats   Easy Calculation   FUN Games 

Java Script Source
List All
Date & Time
Calendar
Stop Watch script
Slide Show
Image Effect
Mouse Effects
Color Picker Tool
Dynamic Color
Random Generator
Select All
Form Validation
Textbox Counter
Dynamic Form select
Bookmark
Window / User Info
Security / Authenticate
Status Bar
Title Bar
Cursor Position
Country List
Calculators
Delete Repeated Values
Alphanumeric
Free Games





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 language="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



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 You table rows continouly with various values.....
    ......................................................
<tr>
    <td style ="background-color: Your background Color;"
  onmouseover="mover(this);"  onmouseout="mout(this);">
      bla bla bla
    </td>
</tr>






License
- This javascript (misspelled as java script)/HTML code is given under GPL License
- i.e. Free use for those who use it as it is.
- Free, if your modification does not remove our copyright information and links.
- Detailed License information can be found here
- You can purchase the script if your requirements does not meet GPL License terms.


privacy policy     license     sitemap
© 2004-2005 HIOX INDIA - hioxindia.com

Others