先加入一個跟般圖像的Layer
<div id="cursor" style="position:absolute;
left:305px; top:206px; width:60px; height:25px; z-index:0; visibility:
visible">
<dd>
<img src="jasonhouse/CD.gif" WIDTH="31" HEIGHT="31">
//圖像來源
</dd>
</div>
緊接著加入下列的JAVA SCRIPT
<script language="JavaScript">
<!--
function YY_Mousetrace(evnt) { //v1.2 copyright (c)1998 Yaro von
Flocken
if (yyns4)
{if (evnt.pageX) {yy_ml=evnt.pageX; yy_mt=evnt.pageY;} }
else{
yy_ml=(event.clientX + document.body.scrollLeft);
yy_mt=(event.clientY + document.body.scrollTop);
}
if (yy_tracescript)eval(yy_tracescript)
}
function m()
{
document.all.cursor.style.left=yy_ml+5
document.all.cursor.style.top=yy_mt+5
}
//-->
</script>