All articles(网络文学目录) All Pictures(图片目录) All Softwares(软件目录)

 
特效:在主页中制作移动文字的几种技巧_JavaScript技术_编程技术

Writer: delv Article type: Programming skills(编程技巧) Time: 2013/12/31 6:41:34 Browse times: 373 Comment times: 0

特效:在主页中制作移动文字的几种技巧_JavaScript技术_编程技术


Head photo

Go homepage
Upload pictures
Write articles

特效:在主页中制作移动文字的几种技巧_JavaScript技术_编程技术-你的首页-uuhomepage.com
  基本语法:

  请把程序中<>自行替换为<>


  <marquee>需要移动的文字</marquee><direction=#>
  1.方向#=left, right
  例:<marquee direction=left>从右向左移动</marquee>>
   <marquee direction=right>从左向右移动</marquee>>
  
  2.次数<bihavior=#>#=scroll, slide, alternate

  例:<marquee behavior=scroll>一圈一圈的绕着移动</marquee>

   <marquee behavior=slide>只移动一次就停</marquee>><marqueebehavior=alternate>来回移动,不停</marquee>
  
  3 .循环<loop=#>#=次数,若未指定则循环不止(infinite)

  例:<marquee loop=3 width=50%behavior=scroll>只走3趟</marquee>
  
  4.速度加快<scrollamount=#>

  例:<marquee scrollamount=20>移动速度加快</marquee>>
  
  5.速度减慢<scrolldelay=#>

  例:<marquee scrolldelay=500 scrollamount=100>移动速度减慢</marquee>
  
   6.底色<bgcolor=#>#=rrggbb 16进制数码,或者是下列预定义色彩:Black, Olive, Teal, Red, Blue, Maroon, Navy, Gray, Lime,Fuchsia,White, Green, Purple, Silver, Yellow, Aqua

  例:<marquee bgcolor=red>是红色的</marquee>
  
  7.面积<height=#width=#>

  例:<marquee height=80 bgcolor=red>面积变大了</marquee>






There are 0 records,
Comment:
Must be registered users to comment(必须是注册用户才能发表评论)

Disclaimer Privacy Policy About us Site Map
Copyright ©2011-
uuhomepage.com, Inc. All rights reserved.