Main Page » Wikidesigntesting


Revision as of 02:24, 3 February 2012
Armorwraith (Talk | contribs)

← Previous diff
Revision as of 02:24, 3 February 2012
Armorwraith (Talk | contribs)

Next diff →
Line 3: Line 3:
function hightlight() function hightlight()
{ {
-document.getElementById("textspan1").style.color = "blue"; +document.getElementById("textspan").style.color = "blue";
-document.getElementById("imgsrc").style.border = "1px solid blue"; +
-//document.getElementById("textspan").setStyle("color","blue"); +
-//document.getElementById("imgsrc").setStyle("border","1px solid blue"); +
} }
function removehightlight() function removehightlight()
{ {
document.getElementById("textspan").style.color = "black"; document.getElementById("textspan").style.color = "black";
-document.getElementById("imgsrc").style.border = "0px solid blue";  
} }
</script> </script>

Revision as of 02:24, 3 February 2012

<script language="javascript"> function hightlight() { document.getElementById("textspan").style.color = "blue"; } function removehightlight() { document.getElementById("textspan").style.color = "black"; } </script>




   textspan1
   textspan2
Donate to Scorched3D Get it from CNET Download.com! 5 Stars