网页滚动字幕效果代码及滚动字幕效果制作实例演示Webscrollingsubtitles effect code andscrolling subtitles effectdemonstration examples
A set of subtitles scrolling up:
The "marquee behavior=" scroll "direction=" up "width=" 600"height=" 300 "loop=" -1 "scrol lamount=" 1 "scrolldelay=" 1"style="font: 12px; "onMouseOver=" (thi s. stop) ; "onMouseOut="(this. start) ; "> < /marquee> in rolling subtitles
Web scrolling subtitles effect code and scrolling subtitleseffect demonstration examples
Rolling subtitles will make many people feel excited,especially the firstuseof rollingsubtitles, will put it down.I've done a lot of scrolling subtitles, and I'm not excitedabout it, so I don't have much use now. Quite a few friends oftenask how this is done. Now, do a detailed project to give youa more thorough understanding of it.
Rolling subtitles in the FrontPage component in FrontPage, butthis software can only support a single line of text, a textline it is incapable of action, and it can only support arollingline! (if there is only one linerollingcondition, the solutionis to embed this code into JavaScript document.write, pleasesee the details below D Dreamweaver) is the only method ofwriting HTML code. Therefore, it is strongly recommended to useNotepad to open the web source code to edit.
The establishment of the first 1. rolling subtitles. Code
<marquee scrollAmount=2 width=300> is a good websiteconstruction company, professional web design, networkmarketing service provider </marquee>
Effect such as: Guangzhou is good website construction companyprofessional web design network marketing service provider
2. parameters:
) a scrollAmount. It represents speed, the greater the value,the faster. If you don' t have it and defaults to 6, it' s betterto set it to 1~3.
B) width and height, said rolling area size, width is width,height is height. Especially when making vertical scrolling,you must set the value of height.
) Cdirection. Said rollingdirection, the default is fromrightto left: - - -. The optional values are right, down, and up.The rolling directionwere: right said, flashball, up decrease,down said.
D scrollDelay) , which is used to control the speed, the defaultis 90, the greater the value, the slower. Usually, scrollDelayis not required.
) e behavior. Use it to control attributes, defaults to cyclicscrolling, optional values with alternate (alternatescrolling) , slide (slide effect, refers to scrolling once, andthen stops scrolling)
3. example s:
A) how to add hyperlinks rolling subtitles?This is exactly thesame as the usual hyperlink. Just add <a, href=***,
_fcksavedurl=, * * *, _fcksavedurl=, * * *, _fcksavedurl=, *
* *, _fcksavedurl=, ***, _fcksavedurl=, ***, _fcksavedurl=
***and</a> on the outside of the text. The following effect,the code is <marquee scrollAmount=2 width=300><ahref=http://www.kingar.com> website construction
</a></marquee>, click site construction can enter:
Website construction
B) how to make when the mouse stay in the text, the text stopsrolling?
Code such as:
<marquee, scrollAmount=2, wi dth=300, onmouseover=stop () ,onmouseout=start () > literal content, </marquee>
Effects such as:
Web Design
C) alternating effect. Code such as:
<marquee, scrol lAmount=2, width=99, behavior=al ternate>, textcontent, </marquee>
Effects such as:
Text content
D) multi line text scroll up. Code such as:
<字幕scrol l amount = 2 = 300 = 160高度宽度方向=了> ·广州正佳公司服务有 <BR> ·网站建设、企业邮箱、域名注册<BR> ·网络营销网站推广<P> · < a href = http://www.kingar. com /公司/” >点这里进入了解正佳公司简介</a> < /字幕>
效果如
·广州正佳公司服务有
·网站建设、企业邮箱、域名注册
·网络营销网站推广
·点这里进入了解正佳公司简介
·注意如果你的网页经过了FrontPage编辑保存之后只能滚动一行这时候你发现你原来的代码顺序已经变了我的上帝解决的办法是找出原来的代码把它嵌入到JavaScript写中即可上述代码写为的文档
<脚本>文档。写 “<字幕scrol l amount = 2 = 300 = 160高度宽度方向=了> ·正佳公司的服务优势有 <BR> <BR> ·已服务上千家的客户·专业的团队 网站建设网络营销一条龙<P> · < a href =http://www.kingar.com” >广州网站建设</a>优秀的服务商之一<字幕>” < / /脚本>
E改变滚动字幕的颜色可以用样式表来控制。如下效果代码是<字幕scrol lamount = 2宽度= 300 > <风格=颜色 cc6600 >做网站找广州正佳一分投入双份收获 </a> < /字幕>。做网站找广州正佳一分投入双份收获
由上可以看出 H TML代码是可以随意组合的功能强大
易探云服务器怎么样?易探云是国内一家云计算服务商家,致力香港云服务器、美国云服务器、国内外服务器租用及托管等互联网业务,目前主要地区为运作香港BGP、香港CN2、广东、北京、深圳等地区。目前,易探云推出的国内云服务器优惠活动,国内云服务器2核2G5M云服务器低至330元/年起;成都4核8G/200G硬盘/15M带宽,仅1888元/3年起!易探云便宜vps服务器配置推荐:易探云vps云主机,入门型云...
CloudCone商家我们很多喜欢低价便宜VPS主机的肯定是熟悉的,个人不是特别喜欢他。因为我之前测试过几次,开通的机器IP都是不通的,需要删除且开通好几次才能得到一个可用的IP地址。当然他们家的优势也是有的,就是价格确实便宜,而且还支持删除重新开通,而且机房只有一个洛杉矶MC。实话,如果他们家能多几个机房,保持现在的特点,还是有很多市场的。CloudCone是来自美国的主机销售商,成立于2017...
触摸云国内IDC/ISP资质齐全商家,与香港公司联合运营, 已超8年运营 。本次为大家带来的是双12特惠活动,美国高防|美国大宽带买就可申请配置升档一级[CPU内存宽带流量选一]升档方式:CPU内存宽带流量任选其一,工单申请免费升级一档珠海触摸云科技有限公司官方网站:https://cmzi.com/可新购免费升档配置套餐:地区CPU内存带宽数据盘价格购买地址美国高防 1核 1G10M20G 26...