爱易网
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 浏览次数:20149 次
欢迎光临爱易网网页脚本特效中心,点击运行按钮演示特效:
以下是程序代码
<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
上一篇:狡猾的按钮特效
下一篇:网页十字显现
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
罗永浩工匠形象坍塌,锤子产能再跳水逃离用户超两成
中移动“重启”自有品牌手机成败难料
虚拟运营商流量不清零吸引用户 盈利待明
云储存有多远:跨过数据安全问题即可到达
工商下月将整治手机市场
中方抗议美方限购IT设备 紧张关系加剧
清点:罗永浩推锤子ROM 小米打法遭模拟
永不磨灭的九大尖端编程语言
全球最具“颠覆性”特质的公司排行榜TOP25
推荐阅读
更多>
中兴通讯不打机海战术 将向中高端手机转型
易迅大众点评缩水执行“七天后悔权”被约谈
地图导航骤起杀机 百度高德重新定义商业模式
苏宁易购成世界最慢电商 专家称其涉嫌违约
快播灭了,还有西瓜:视频网站的灰色江湖还在
苹果优势逐渐丧失 传即将推出廉价iPhone
OPPO创始人陈明永:我们是怎么做营销的
湘鄂情剥离餐饮业务进军大数据的底气在哪里?
联想国庆完成收购IBM x86服务器
华为变阵:任正非调整三大业务布局
罗永浩工匠形象坍塌,锤子产能再跳水逃离用户超两成
亚马逊第三方平台真的卖盗版书?
靠价格战赚取资费套餐利润差,虚拟运营商必死无疑
这一次,微软将带给我们什么惊喜?
腾讯为何在与阿里百度的收购比赛中当看客?
微信今天大面积崩溃 腾讯:因光缆施工被挖断
从百度世界大会看大数据
联发科享用价钱战 专利难以摆脱高通
史玉柱谈创业:5大建议 失败的教训最真实
佳能利润大跌三成 智能终端倒逼相机厂商转型