/ Published in: HTML

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <!-- <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> --> </head> <body id="help" onload="document.getElementById('debug').innerHTML='loaded... ';"> <div style="display: block; width: 96px; height: 96px; background-color: #eee;"> <a style="display: block; width: 96px; height: 96px; background-color: #c00;" href="test.html" onmouseover="document.getElementById('hover_cover').style.display='block';" onmouseout="document.getElementById('hover_cover').style.display='none';" onclick="document.getElementById('debug').innerHTML+='clicked... ';"><img id="hover_cover" src="hover_cover.jpg" width="96" height="96" style="display: none; border-style: none;" alt="Hover" /></a> </div> </body> </html>
Comments
