跟随鼠标的滚动文字
Javascript经典专区-与以往不同的跟随鼠标的滚动文字之间-->var scroller_msg='欢迎进入Javascript经典专区'var dismissafter=0var initialvisible=0if (document.all)document.write(''+scroller_msg+'')function followcursor(){//move cursor function for IEif (initialvisible==0){curscroll.style.visibility="visible"initialvisible=1}curscroll.style.left=document.body.scrollLeft+event.clientX+10curscroll.style.top=document.body.scrollTop+event.clientY+10}function dismissmessage(){curscroll.style.visibility="hidden"}if (document.all){document.onmousemove=followcursordocument.ondblclick=dismissmessageif (dismissafter!=0)setTimeout("dismissmessage()",dismissafter*1000)}//-->演示地址:
http://onlyaa.com/html/jshtml/mouse/200806/17-2228.html