News

Log In Sponsors
Partner Sites

Re: Make other things happen on hover?



[code:1kzawfak]<script type="text/javascript"> function changeover() { document.getElementById('link1').style.color = "red"; document.getElementById('image1').style.display = "block"; } function changeout() { document.getElementById('link1').style.color = "green"; document.getElementById('image1').style.display = "none"; } </script> <a href="#" onMouseOver="javascript:changeover();" onMouseOut="javascript:changeout();">Hover over me :)</a><br><br> <a href="#" id="link1" style="color: green">green link?</a><br> <img src="http://www.modernlifeisrubbish.co.uk/images/illustrations/google-as-a-giant-robot.jpg" id="image1" style="display: none" width=500>[/code:1kzawfak] Something like that. Flabby Rabbit

Click here to read the whole forum topic