滚动信息条
来源:互联网 发布:新站排名优化 编辑:程序博客网 时间:2024/04/28 02:30
<html>
<body>
<script>
if (!document.layers&&!document.all)
event="test"
function showtip2(current,e,text){
if (document.all&&document.readyState=="complete"){
document.all.tooltip2.innerHTML='<marquee style="border:1px solid black">'+text+'</marquee>'
document.all.tooltip2.style.pixelLeft=event.clientX+document.body.scrollLeft+10
document.all.tooltip2.style.pixelTop=event.clientY+document.body.scrollTop+10
document.all.tooltip2.style.visibility="visible"
}
else if (document.layers){
document.tooltip2.document.nstip.document.write('<b>'+text+'</b>')
document.tooltip2.document.nstip.document.close()
document.tooltip2.document.nstip.left=0
currentscroll=setInterval("scrolltip()",100)
document.tooltip2.left=e.pageX+10
document.tooltip2.top=e.pageY+10
document.tooltip2.visibility="show"
}
}
function hidetip2(){
if (document.all)
document.all.tooltip2.style.visibility="hidden"
else if (document.layers){
clearInterval(currentscroll)
document.tooltip2.visibility="hidden"
}
}
function scrolltip(){
if (document.tooltip2.document.nstip.left>=-document.tooltip2.document.nstip.document.width)
document.tooltip2.document.nstip.left-=5
else
document.tooltip2.document.nstip.left=150
}
</script>
<div id="tooltip2" style="position:absolute;clip:rect(0 150 50 0);width:150px;background-color:#99FF99; top: 31px; left: 103px; visibility: hidden; height: 13px">
</div>
<a href="http://richeng.jsp" onMouseOver="showtip2(this,event,'安排的很满呦!!!')" onMouseOut="hidetip2()">我的工作日程安排</a>
</body>
</html>
- 滚动信息条
- 修改滚动条信息
- 单条信息滚动显示
- 单条信息向上滚动
- JavaScript实现单条信息向上滚动
- JQuery滚动条分页加载信息
- C#获取滚动条的相关信息
- jquery ValidationEngine 提示信息跟随滚动条滚动
- QQ频道单行多条信息滚动代码
- 用 Javascript 获取滚动条位置等信息
- Siverlight 获取浏览器信息(高度、宽度、滚动条位置.....)
- 滚动条
- 滚动条
- 滚动条
- 滚动条
- 滚动条
- 滚动条
- 滚动条
- tomcat5.5 配置oracle连接池
- jsp进度条
- jsp上传图片
- 股市暴跌让基金半年报更耀眼
- jsp生成汉字验证码
- 滚动信息条
- java加密觖密算法
- C++-必知必会_类模板显式特化(条款46)
- 三个片段
- 曼昆的经济学原理
- vi在Linux下的使用
- LWP安装
- 电脑一族保健完全攻略
- 面向对象的设计原则【补充中。。。】