Free web development scripts for the webmasterDevelopment Scripts


 
 Site Navigation
 o Development Scripts
 o Text Only Edition
 o PHP.net News
 o Tutorials
 o Register an account
 o New entries this week
 o Affiliates/Links
 o Contact Us
 o About us
 o Advanced Search

 Browse Path

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /usr/local/psa/home/vhosts/devscripts.net/httpdocs/online.php on line 28
 o  users online
 o Most users online: 67
 o Home
  o Javascripts
   o Affiliate Management
    o Script

 Member Login
User Name
Password

 Standards
Valid XHTML 1.0!
Valid 
CSS!

 Recommended Links
 o PHP Freaks
 o Designer Baby Clothes
 o Advertise Here Make Money
 o Wedding Vendor Directory
 o Free Wedding Websites
 o UK Business Franchises
 o OxyScripts
 o Free Online Invoices
 o designplace
 o Send Invoices for Free

Dynaminc Blotter Highlighter (Rated 5)

Description:

hightlight a single tr element

Code starts here


<html>
<head>

<script language="javascript">

var iOriginalBackGround=null;

function feedIn(cell){
var feedRow = document.getElementById(cell);
feedRow.style.fontStyle= "italic";
var feedData = feedRow.getElementsByTagName("td");
iOriginalBackGround = feedData[0].style.backgroundColor;
for (var i=0; i < feedData.length; i++){
feedData[i].style.backgroundColor = "#ddd";
}
}

function feedOut(cell){

var feedRow = document.getElementById(cell);
feedRow.style.fontStyle= "normal";
var feedData = feedRow.getElementsByTagName("td");
for (var i=0; i < feedData.length; i++) {
feedData[i].style.backgroundColor = iOriginalBackGround;
}
}

</script>


</head>
<body>
<table>
<tr id="<%=feedId%>" onMouseover="Javascript: feedIn('<%=feedId%>')" onMouseout="Javascript: feedOut('<%=feedId%>')">
<td>hello</td>
<td>there</td>
<td>stephen</td>
</tr>
</table>
</body>
</html>


Submitted by bakera on 14-08-2003 11:41


Rate This Script

User Contributed Comments

On 06-08-2010 14:20 said:

SPe1WH vgomdxdzglnq, [url=http://ahsottvlqkqq.com/]ahsottvlqkqq[/url], [link=http://fnorszoaduwx.com/]fnorszoaduwx[/link], http://aknjtrjdooku.com/


On 11-08-2010 20:11 said:

avBeme gkcddojxyazv, [url=http://dvhnvisikmiw.com/]dvhnvisikmiw[/url], [link=http://lafuxcpfwmgk.com/]lafuxcpfwmgk[/link], http://bakgsjsygxwi.com/


Registered Members login
© Copyright 2003 - Devscripts.net