爱易网
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 浏览次数:20231 次
欢迎光临爱易网网页脚本特效中心,点击运行按钮演示特效:
以下是程序代码
<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
上一篇:狡猾的按钮特效
下一篇:网页十字显现
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
HTC手机为何一败再败?效果出在供应链
安全服务机构:公布2014年度最糟糕的25个密码
频繁自杀 折射媒体变革中的媒体人迷茫与压力并存
360涉足搜索范围 百度市场份额面临应战
NEC拟出售移动效劳子公司NEC Mobile
戴尔新CEO名单曝光:惠普甲骨文高管在列
金山毒霸安全中心: XP退役后首个高危漏洞来了
百视通:Xbox One汉化获批 游戏迷欢呼吧
微软觊觎移动互联市场:手机未出渠道先行
推荐阅读
更多>
迅雷再次在美提交IPO申请
京东封杀财付通:终极目标是电商生态圈
英特尔承认,联想最新K系列智能手机放弃英特尔处理器
搜房网遭遇做空 利益保送成“猎杀”焦点
传苹果已告知鸿海:两款新iPhone下月发货
据消息传百度将要控股携程 整合去哪儿
高德百度地图免费背后:李彦宏暗斗马云周鸿祎
评论:马云的成功建立在什么基础上很值得怀疑
国美苏宁线上首度正面PK 京东列席4月电商战
微软确认 Surface 计划更多尺寸和LTE 版本
赴美开店,阿里11Main准备好了吗?
TD是完成中国梦的一个契机
百度“全网寻人”面前的互联网信息枢纽价值
中国首台比特币ATM登陆上海 可购买不可兑换现钞
曹国伟:微博将关注Facebook和Twitter
亚马逊落户上海自贸区:美国货直邮中国
IT企业人才争夺战打响:员工待遇水涨船高
承载京东C2C野心的拍拍网:梦想丰满,现实骨感
解读苹果收购Beats背后动机:库克在想什么?
电信资费新政:三巨头压力大 短期降价仍有争议