源码网商城,靠谱的源码在线交易网站 我的订单 购物车 帮助

源码网商城

js实现动画特效的文字链接鼠标悬停提示的方法

  • 时间:2021-07-27 10:25 编辑: 来源: 阅读:
  • 扫一扫,手机访问
摘要:js实现动画特效的文字链接鼠标悬停提示的方法
本文实例讲述了js实现动画特效的文字链接鼠标悬停提示的方法。分享给大家供大家参考。具体实现方法如下:
[u]复制代码[/u] 代码如下:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>js实现动画效果的文字链接鼠标悬停提示效果</title> </head> <body> <STYLE type="text/css"> <!-- .article { BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-TOP: black 1px solid; FILTER: revealTrans(transition=23,duration=0.5) blendTrans(duration=0.5); POSITION: absolute; VISIBILITY: hidden ; background-color: #FFCC00; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px} --> </STYLE> <SCRIPT language=JavaScript1.2> <!-- function Show(divid) { divid.filters.revealTrans.apply(); divid.style.visibility = "visible"; divid.filters.revealTrans.play(); } function Hide(divid) { divid.filters.revealTrans.apply(); divid.style.visibility = "hidden"; divid.filters.revealTrans.play(); } //--> </script> <a href="#" onMouseOver=Show(aaa) onMouseOut=Hide(aaa)>编程素材网</a></div>    <div id="aaa" class="article">编程素材网</div><br> <a href="#" onMouseOver=Show(bbb) onMouseOut=Hide(bbb)>素材之家</a></div>    <div id="bbb" class="article">素材之家</div><br> <a href="#" onMouseOver=Show(ccc) onMouseOut=Hide(ccc)>百度搜索</a></div>    <div id="ccc" class="article">百度搜索</div> </body> </html>
希望本文所述对大家的javascript程序设计有所帮助。
  • 全部评论(0)
联系客服
客服电话:
400-000-3129
微信版

扫一扫进微信版
返回顶部