爱易网
IT新闻
IT新闻
爱易资讯
网站搭建
云虚拟主机教程
云服务器教程
Apache教程
IIS教程
Nginx教程
网站策划
站长文章
推广教程
淘宝客教程
网页设计
HTML教程
XHTML教程
CSS教程
HTML5教程
CSS3教程
JavaSript基础
JQuery教程
Node.js教程
前端技术
Ajax教程
Js特效
Xml教程
平面设计
页面UI设计
photoshop教程
程序开发
AI人工智能
Asp教程
Php教程
Asp.Net教程
Net Core教程
C#教程
Java教程
Jsp教程
开发技术
微信小程序教程
Uniapp开发教程
微信公众号开发
Andriod教程
IOS教程
DOS教程
Python教程
Docker教程
Windows Container教程
数据库
MSSQL教程
MySQL教程
Redis教程
Access教程
Oracle教程
数据库教程
操作系统
Linux教程
Windows教程
MAC教程
Cisco教程
交换机教程
防火墙教程
搜索
爱易网页
JS特效
提示信息的打字效果
提示信息的打字效果
日期:2014-05-18 浏览次数:20207 次
欢迎光临爱易网网页脚本特效中心,点击运行按钮演示特效:
以下是程序代码
<html><head><title></title> <script language=javaScript> <!-- Beginning of JavaScript - // CREDITS: // PopupTicker describing all your links onmouseover by Urs Dudli and Peter Gehrig // Copyright (c) 2000 Peter Gehrig and Urs Dudli. All rights reserved. // Permission given to use the script provided that this notice remains as is. // Additional scripts can be found at http://www.24fun.com. // info@24fun.ch // 8/1/2000 // IMPORTANT: // If you add this script to a script-library or a script-archive // you have to insert a link to http://www.24fun.com right into the webpage where the script // will be displayed. // CONFIGURATION: // Go to http://www.24fun.com, open category 'text' and download the ZIP-file of this script // containing the the script-file with step-by-step instructions for easy configuration. // width of the ticker var tickerwidth=120 // height of the ticker var tickerheight=100 // distance from the messagetext to the tickermarrgin (pixels) var tickerpadding=5 // borderwidth of the ticker (pixels) var borderwidth=2 // font-family var fnt="Verdana" // font-size of the text var fntsize=8 // font-size of the last letter of the ticker var fntsizelastletter=8 // font-color of the text var fntcolor="008800" // font-color of the last letter of the ticker var fntcolorlastletter="00AA00" // font-weight. Set a value between 1 to 9 to adjust the boldness var fntweight=3 // backgroundcolor var backgroundcolor="CCFFCC" // standstill between the messages (microseconds) var standstill=2000 // speed (a higher value will slow down the ticker) var speed=40 // horizontal distance from the textlink to the popupbox (pixels) var xdistance=50 // vertical distance from the textlink to the popupbox (pixels) var ydistance=20 // Do not edit the variables below var timer var topposition=0 var leftposition=0 var x,y var i_substring=0 var i_presubstring=0 var i_message=0 var message var messagecontent="" var messagebackground="" var messagepresubstring="" var messageaftersubstring="" fntweight=fntweight*100 function getmessagebackground() { messagebackground="<table border="+borderwidth+" width="+tickerwidth+" height="+tickerheight+" cellspacing=0 cellpadding=0><tr><td valign=top bgcolor='"+backgroundcolor+"'>" messagebackground+=" </td></tr></table>" } function getmessagecontent() { messagecontent="<table border=0 cellspacing=0 cellpadding="+tickerpadding+" width="+tickerwidth+" height="+tickerheight+"><tr><td valign=top>" messagecontent+="<span style='position:relative; font-family:"+fnt+";color:"+fntcolor+";font-size:"+fntsize+"pt;font-weight:"+fntweight+"'>" messagecontent+="<font color='"+fntcolor+"'>" messagecontent+=messagepresubstring messagecontent+="</font>" messagecontent+="</span>" messagecontent+="<span style='position:relative; font-family:"+fnt+";color:"+fntcolor+";font-size:"+fntsizelastletter+"pt;font-weight:900'>" messagecontent+="<font color='"+fntcolorlastletter+"'>" messagecontent+=messageaftersubstring messagecontent+="</font>" messagecontent+="</span>" messagecontent+="</td></tr></table>" } function
上一篇:狡猾的按钮特效
下一篇:网页十字显现
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
用友软件股价逆势下跌 再融资方案现曙光
三星起诉LG在冰箱广告中玷污其企业笼统
传诺基亚Lumia928下月推出 将与iPhone5看齐
靠谱分析:6月发生的WWDC和谷歌I/O大会,将会出现哪些新产品?
孙正义入股阿里往事还原:阿里巴巴并非软银首选
中移动本月推手机钱包 iPhone遭边缘化
百度吴恩达:图像和音视频搜索是人工智能新方向
微信收费形式三选一 腾讯或变身运营商
腾讯微信昨晚再现大规模故障 多地受到影响
推荐阅读
更多>
首家国有独资P2P平台上线 或预示政策日渐明朗
盘点改变社会的15种科技:谷歌眼镜将使我们成为半机械人
索尼移动中国区陷裁员风波:业务不佳 员工焦虑
三大运营商合建铁塔公司真相:未涉及电信业重组
微软的云服务显示出他们将自我进化
首个释放出搅局房地产信号的互联网公司不是小米而是58同城
淘宝公布新规:升级售假卖家惩罚力度
诺基亚称不会更名“微软移动” 5月还将发布新品
iSuppli:上网本将于2015年退出市场
刘强东向总理建言:打击有组织有规模的售假商家
奇虎360证明了“惟平台化才能生存”是谬论,中国互联网不能少了周鸿祎
英特尔VS苹果:移动芯片大战
迅雷高管解读财报:收购快盘可快速融入小米
联想国庆完成收购IBM x86服务器
Facebook财报前瞻:投资者仍信心不足
移动联通回应税率改革:短期内收入利润将大减
巨人网络回应央视 否认应用黑客停止诈骗
广电地方营业厅的一句“罚停”,暴露出了他们的本质
工商下月将整治手机市场
中国联通困局:遭遇OTT宽带4G三大难题