| Revision as of 02:27, 3 February 2012 Armorwraith (Talk | contribs) ← Previous diff |
Revision as of 02:27, 3 February 2012 Armorwraith (Talk | contribs) Next diff → |
||
| Line 1: | Line 1: | ||
| - | |||
| - | <script language="javascript"> | ||
| - | function hightlight(index) | ||
| - | { | ||
| - | var text = document.getElementById("textspan" + index); | ||
| - | |||
| - | text.style.color = "blue"; | ||
| - | } | ||
| - | function removehightlight(index) | ||
| - | { | ||
| - | var text = document.getElementById("textspan" + index); | ||
| - | |||
| - | text.style.color = "black"; | ||
| - | } | ||
| - | </script> | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | <div> | ||
| - | <span id="textspan1" onmouseover="hightlight(1);" onmouseout="removehightlight(1);" | ||
| - | onmouseover="hightlight(2);" onmouseout="removehightlight(2);"textspan1</span> | ||
| - | </div> | ||
| - | |||
| - | <div> | ||
| - | <span id="textspan2" onmouseover="hightlight(1)" onmouseout="removehightlight(1)">textspan2</span> | ||
| - | </div> | ||