Html Chart

Html Chart




< html xmlns="http://www.w3.org/1999/xhtml" >
< head runat="server" >
< title > Untitled Page< /title >
< script >
function ChartFill(redid)
{
if (redid==1)document.getElementById("tb1").style.backgroundColor ='red';
if (redid==2)document.getElementById("tb2").style.backgroundColor ='green';
if (redid==3)document.getElementById("tb3").style.backgroundColor ='Blue';
}
< /script >
< /head >
< body >
< form id="form1" runat="server" >
< table border ="1" cellpadding ="0" cellspacing ="0" height ="60%" style="width: 2%" >
< tr style ="height:150px;" id="tb1" onmousemove ="ChartFill(1);" >
< td width ="30%" > < /td >
< /tr >
< tr style ="height:150px;" id="tb2" onmousemove ="ChartFill(2);" >
< td width ="30%" > < /td >
< /tr >
< tr style ="height:150px;" id="tb3" onmousemove ="ChartFill(3);" >
< td width ="30%" > < /td >
< /tr >
< /table >
< /form >
< /body >
< /html >


Comments

No responses found. Be the first to comment...


  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:
    Email: