<SCRIPT language="JavaScript1.2">
<!--
//1) set message to display
var scroller_msg='YoMaster.com'
//5) set whether message should auto disappear after a number seconds (0=perpetual).
//Note that double clicking page will also close message
var dismissafter=9
var initialvisible=0
if (document.all)
//3) set the border, font, and background colors here.
document.write('<marquee id="curscroll" style="position:absolute;width:160px;border:5px solid #C0C0C0;font-size:55px;color:#00CCFF;background-color:#000000;visibility:hidden">'+scroller_msg+'</marquee>')
function followcursor(){
//move cursor function for IE
if (initialvisible==0){
curscroll.style.visibility="visible"
initialvisible=1
}
curscroll.style.left=document.body.scrollLeft+event.clientX+110
curscroll.style.top=document.body.scrollTop+event.clientY+10
}
function dismissmessage(){
curscroll.style.visibility="hidden"
}
if (document.all){
document.onmousemove=followcursor
document.ondblclick=dismissmessage
if (dismissafter!=0)
setTimeout("dismissmessage()",dismissafter*10000)
}
//-->
</SCRIPT> |