| this is the part of the code that gives you the yellow cross-hair cursor. actually there's lines in there that aren't needed. but i'm not that html savvy so as long as it doesn't give you any errors... 
| quote: |
<HTML>
<HEAD>
<TITLE>DHTML/VML Cross-Hair Scope</TITLE>
<xml:namespace ns="urn:schemas-microsoft-com:vml" prefix="v"/>
<STYLE>
v\:* {behavior:url(#default#VML);}
</STYLE>
</HEAD>
<SCRIPT>
function movescope() {
if (document.all) {
scope.style.left=event.clientX+document.body.scrollLeft-11;
scope.style.top=event.clientY+document.body.scrollTop-11;
scope.style.zIndex=-1;
de=document.elementFromPoint(event.clientX,event.clientY);
scope.style.zIndex=0;
if (de)
if ((de.tagName=="A") || (de.parentElement.tagName=="A")) {
de.style.cursor="crosshair"
de="hlink"
}
else
de=de.id;
else de='other';
switch (de) {
case 'mtext': scope.fillcolor='red';break;
case 'hlink': scope.style.zIndex=-1;scope.fillcolor='#00FF00';break;
default: scope.fillcolor='yellow';
}
}
}
</SCRIPT>
<BODY
id="mbody"
onload="mbody.style.cursor='crosshair';"
onscroll="movescope()"
onmousemove="movescope();">
<v val
id="scope"style="position:absolute;width:18;height:18"
fillcolor='yellow' />
</BODY>
</HTML> |
| |