The only way I can think of would be have a javascript function that gets called when you do the mouseover.
-
Oct 18th, 2008 07:44 PM #1Deal Addict




- Join Date
- Feb 1st, 2003
- Location
- Toronto, Ontario
- Posts
- 1,109
Rollover HTML Code
Hey guys, does anyone know the HTML code for the following rollover: when onmouseover on square A, i want D to turn white, when i onmouseover B i want C to turn white.
Can anyone give me the html code for the following if possible? I know it has something to do with swaping, but i can't seem to find the right html code.
Any help will be much appreciated. Thanks
Image:
[ A ][ B ]
[ C ][ D ]_______________
MechanicalMan64
Reply With Quote
LOG IN TO THANK
No one has yet thanked MechanicalMan64 for this post.
-
Sponsored Links - Join the RedFlagDeals.com community and remove this ad.
-
Oct 18th, 2008 07:54 PM #2
Reply With Quote
LOG IN TO THANK
No one has yet thanked Tereno for this post.
-
Oct 18th, 2008 08:40 PM #3
<a href="" id ="a" onmouseover = "document.getElementByID('d').style='color: red'">A</a>
<a href="" id ="b" onmouseover = "document.getElementByID('c').style='color: red'">B</a>
<a href="" id ="c" onmouseover = "document.getElementByID('b').style='color: red'">C</a>
<a href="" id ="d" onmouseover = "document.getElementByID('a').style='color: red'">D</a>
Reply With Quote
LOG IN TO THANK
No one has yet thanked GroceryBagHead for this post.
-
Oct 18th, 2008 09:42 PM #4Deal Addict
[OP]




- Join Date
- Feb 1st, 2003
- Location
- Toronto, Ontario
- Posts
- 1,109
Reply With Quote
LOG IN TO THANK
No one has yet thanked MechanicalMan64 for this post.
Search Forums


