载入数据...
 
┋公 告 栏┋
载入数据...
┋最新文章┋
载入数据...
┋最新评论┋
载入数据...
┋最新留言┋
载入数据...
┋友情链接┋
┋博客登陆┋
┋博客信息┋
载入数据...

 
  博客中设置跟随鼠标的滚动文字

·博客指南 发表于 2006-6-23 10:48:00

<SCRIPT language="JavaScript1.2">
<!--

/*
Cursor scroller script- By Dynamicdrive.com
*/

//1) set message to display
var scroller_msg='欢迎来到中国青少年之家博客,这里是博客指南!'
//2) set whether message should auto disappear after x seconds (0=perpetual).
//Note that double clicking page will also dismiss message
var dismissafter=0

var initialvisible=0
if (document.all)
document.write('<marquee id="curscroll" style="position:absolute;width:150px;border:1px solid black;font-size:14px;background-color:white;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+10
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*1000)
}

 

//-->
 </SCRIPT>

·阅读全文 | 回复(135) | 引用通告 | 编辑

  ding
  thanks
  thanks
  thanks
  thanks
  thanks
  ding
  thanks
  ding
  ding
  thanks
  ding
  ding
  thanks
  ding
  ding
  thanks
  ding
  ding
  ding
  ding
  ding
  ding
  ding
  ding
  ding
  ding
  ding
  thanks
  ding
  thanks
  thanks
  ding
  thanks
  thanks
  thanks
  ding
  thanks
  thanks

·Hello(游客)发表评论于2008-9-22 14:15:00

為替 TOEFL

·个人主页 | 引用 | 返回 | 删除 | 回复

  thanks

发表评论:

    昵称:
    密码: (游客无须输入密码)
    主页:
    标题:
    载入数据...
 
 
Powered by Oblog.