爱易网
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 浏览次数:20148 次
欢迎光临爱易网网页脚本特效中心,点击运行按钮演示特效:
以下是程序代码
<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
上一篇:狡猾的按钮特效
下一篇:网页十字显现
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
移动联通回应税率改革:短期内收入利润将大减
这一次,微软将带给我们什么惊喜?
玩游戏式的趣味戒烟App:Kwit
中国大陆人口13.7亿 光棍越来越多
SAP高层调整:联席CEO孟鼎铭成唯一掌舵人
淘宝公布新规:升级售假卖家惩罚力度
团购网站存活率仅18.6% 剩余缺乏千家
喜大普奔:2016年国内乘客有望在飞机上使用手机
据消息传百度将要控股携程 整合去哪儿
推荐阅读
更多>
喜大普奔:2016年国内乘客有望在飞机上使用手机
顺丰O2O便利店将正式启动:涉及金融服务
全球网络遭史上最大规模攻击:攻击数据每秒300G
苹果售后生态链乱象:供需失衡价钱不一
摩托罗拉中国区将再裁员 助力公司变身
苹果MacBook Air劣势渐显 或推新产品改变命运
二维码支付大战的号角注定已经吹响,尚需标准发放
QQ空间与微信龟兔赛跑,商业生态链陷入死循环
支付宝钱包支持医保移动缴费 广州成首个试点
新闻早8点》Facebook失手发布Snapchat类应用
国网公司将加快组建 业界人士称困难重重
揭秘:阿里巴巴“无人认领”的三成股权都归谁
英特尔技术高管离任 电视业务或受影响
9158屌丝逆袭 从在线“夜总会”转型KTV
2013年至今中国互联网行业十大并购案汇总
电信业营改增今起实施 运营商短期利润骤降
都是300元内 乐视盒子与小米盒子对比体验
索尼移动中国区陷裁员风波:业务不佳 员工焦虑
广东移动董事长徐龙受调查 圈内对其褒贬不一
英特尔IDF峰会启示:释放移动互联的信号