注册会员 登录
可爱老人网 返回首页

普陀申木的个人空间 http://keai99.com/?23459 [收藏] [复制] [分享] [RSS]

日志

28个遮罩效果的组合代码

热度 3已有 328 次阅读2015-6-18 16:00 |个人分类:代码| 遮罩, 效果

28个遮罩效果的组合代码


握手

路过

雷人
3

鲜花

刚表态过的朋友 (3 人)

发表评论 评论 (4 个评论)

回复 潇潇洒洒 2015-6-18 16:35
  
回复 林林五 2015-6-18 18:04
  
回复 普陀申木 2015-6-18 18:21
林林五:   
我在上面的文章中暂未将代码放入.现将代码 另写出:
<TABLE cellSpacing=0 borderColorDark=#ddb748 cellPadding=25 width=650 borderColorLight=#ddb748 background=http://img4.oldkids.cn/upload/260805000/u260804222/2013/12/21/blog_20131221170942182087.gif border=0>
  <TBODY>
    <TR>
      <TD><TABLE cellSpacing=15borderColorDark=#925316 cellPadding=0 width="100%" align=right borderColorLight=#ddb748 background=http://img1.oldkids.cn/upload/260805000/u260804222/2013/11/15/blog_20131115000729700399.gif border=1>
          <TBODY>
            <TR>
              <TD><TABLE cellSpacing=0 cellPadding=0 width="100%" borderColorLight=#ddb748 background=http://img2.oldkids.cn/upload/260805000/u260804222/2014/04/27/blog_20140427121714990638.gif border=1>
                  <TBODY>
                    <TR>
                      <TD width="100%"><TABLE cellSpacing=10 cellPadding=0 width="100%" background=http://img3.oldkids.cn/upload/260805000/u260804222/2014/04/27/blog_20140427113818559217.jpg border=0>
                          <TBODY>
                            <TR>
                              <TD width="100%"><TABLE cellSpacing=0 borderColorDark=#ddb748 cellPadding=0 width="100%" borderColorLight=#925316 background=http://img4.oldkids.cn/upload/260808000/u260806088/2014/06/13/photo_20140613144702327319.gif border=1>
                                  <TBODY>
                                    <TR>
                                      <TD><div align="center">
                                          <p>
                                            <marquee behavior="alternate" scrollamount="3" style="font-size: 20pt; filter: shadow(color=#FF00FF); width: 100%; color: white; line-height: 150%; font-family: 宋体">
                                            <b> 28个遮罩效果的组合代码</b>
                                            </marquee>
                                          </p>
                                          <script id="code" language="JavaScript">
var Ga=new Array()   
Ga[0]="http://p3.pstatp.com/large/4483/2323909598";  
Ga[1]="http://p3.pstatp.com/large/4481/2910168926";
Ga[2]="http://p2.pstatp.com/large/4481/2910558832";
Ga[3]="http://p2.pstatp.com/large/4484/2055205886";
Ga[4]="http://p1.pstatp.com/large/4478/4510376792";
Ga[5]="http://p1.pstatp.com/large/4479/4450143990";
Ga[6]="http://p2.pstatp.com/large/4336/7680318059";
Ga[7]="http://p3.pstatp.com/large/4335/7750574695";
Ga[8]="http://p2.pstatp.com/large/4337/6299550787";
Ga[9]="http://p2.pstatp.com/large/4335/7750501047";
Ga[10]="http://p2.pstatp.com/large/4341/5230148470";
Ga[11]="http://p7.pstatp.com/large/4339/5567612527";
Ga[12]="http://p2.pstatp.com/large/4335/7750697172";
Ga[13]="http://p2.pstatp.com/large/4339/5567668761";
Ga[14]="http://p3.pstatp.com/large/4482/2527176129";  
Ga[15]="http://p2.pstatp.com/large/4483/2323346818";
Ga[16]="http://p2.pstatp.com/large/4482/2527443414";
Ga[17]="http://p3.pstatp.com/large/4484/2054518231";
Ga[18]="http://p2.pstatp.com/large/4483/2323397870";
Ga[19]="http://p3.pstatp.com/large/4482/2527764572";
Ga[20]="[url]http://p3.pstatp.com/large/4482/2527814402";[/url]
Ga[21]="[url]http://p2.pstatp.com/large/4484/2055007544";[/url]
Ga[22]="[url]http://p3.pstatp.com/large/4479/4449453247";[/url]
Ga[23]="[url]http://p2.pstatp.com/large/4479/4449397756";[/url]
Ga[24]="[url]http://p2.pstatp.com/large/4480/4328455336";[/url]
Ga[25]="[url]http://p3.pstatp.com/large/4484/2055092460";[/url]
Ga[26]="[url]http://p1.pstatp.com/large/4479/4449515559";[/url]
Ga[27]="[url]http://p7.pstatp.com/large/4485/1313102852";[/url]
Ga[28]="[url]http://p2.pstatp.com/large/4485/1313046054";[/url]
var hayasa=2000   
var suu =1;
var iTransNumber=0;
var garTransitions = new Array(); //arrary of filter strings
garTransitions[0] = "progid:DXImageTransform.Microsoft.RandomDissolve()";
garTransitions[1] = "progid:DXImageTransform.Microsoft.Iris(irisStyle=, motion=out)";
garTransitions[2] = "progid:DXImageTransform.Microsoft.Iris(irisStyle=diamond,motion=in)";
garTransitions[3] = "progid:DXImageTransform.Microsoft.Iris(irisStyle=cross, motion=)";
garTransitions[4] = "progid:DXImageTransform.Microsoft.Iris(irisStyle=circle, motion=)";
garTransitions[5] = "progid:DXImageTransform.Microsoft.Iris(irisStyle=square, motion=out)";
garTransitions[6] = "progid:DXImageTransform.Microsoft.Iris(irisStyle=plus, motion=in)";
garTransitions[7] = "progid:DXImageTransform.Microsoft.Barn(orientation=vertial motion=in)";
garTransitions[8] = "progid:DXImageTransform.Microsoft.Barn(orientation=vertial motion=out)";
garTransitions[9] = "progid:DXImageTransform.Microsoft.Barn(orientation=horizontal motion=in)";
garTransitions[10] = "progid:DXImageTransform.Microsoft.Barn(orientation=horizontalmotion=out)";
garTransitions[11] = "progid:DXImageTransform.Microsoft.Pixelate()";
garTransitions[12] = "progid:DXImageTransform.Microsoft.Inset()";
garTransitions[13] = "progid:DXImageTransform.Microsoft.Checkerboard(Direction=left)";
garTransitions[14] = "progid:DXImageTransform.Microsoft.Checkerboard(Direction=right)";
garTransitions[15] = "progid:DXImageTransform.Microsoft.Checkerboard(Direction=down)";
garTransitions[16] = "progid:DXImageTransform.Microsoft.Checkerboard(Direction=up)";
garTransitions[17] = "progid:DXImageTransform.Microsoft.RandomBars(motion=horizontal)";
garTransitions[18] = "progid:DXImageTransform.Microsoft.RandomBars(motion=vertical)";
garTransitions[19] = "progid:DXImageTransform.Microsoft.Slide(bands=5, slideStyle=push)";
garTransitions[20] = "progid:DXImageTransform.Microsoft.Slide(bands=5, slidestyle=swap)";
garTransitions[21] = "progid:DXImageTransform.Microsoft.Slide(bands=5, slidestyle=hide)";
garTransitions[22] = "progid:DXImageTransform.Microsoft.Spiral()";
garTransitions[23] = "progid:DXImageTransform.Microsoft.Stretch(stretchStyle=push)";
garTransitions[24] = "progid:DXImageTransform.Microsoft.Stretch(stretchStyle=pop)";
garTransitions[25] = "progid:DXImageTransform.Microsoft.Fade(duration=2,overlap=0)";
garTransitions[26] = "progid:DXImageTransform.Microsoft.GradientWipe(duration=2,gradientSize=0.25,motion=forward )";
garTransitions[27] = "progid:DXImageTransform.Microsoft.Wheel(duration=2,spokes=16)";
garTransitions[28] = "progid:DXImageTransform.Microsoft.RadialWipe(duration=2,wipeStyle=CLOCK)";
var kirikaeGa=new Array()
for (kazu=0;kazu<Ga.length;kazu++){
kirikaeGa[kazu]=new Image()
kirikaeGa[kazu].src=Ga[kazu]}
function kirikae(){
if (window.createPopup)
rittai.style.filter = garTransitions[iTransNumber];
iTransNumber++;
if(iTransNumber==garTransitions.length)
iTransNumber=0;
if (window.createPopup)
rittai.filters[0].apply();
document.images.rittai.src=kirikaeGa[suu].src;
if (window.createPopup)
rittai.filters[0].play()
suu++
if (suu==kirikaeGa.length)
suu=0;
setTimeout("kirikae()",hayasa)
}
setTimeout("kirikae()",hayasa)
</script>
                                          <center>
                                            <img style="filter:progid:DXImageTransform.Microsoft.Stretch(stretchStyle=);" border="0" name="rittai" src="[url]http://p3.pstatp.com/large/4481/2910089329"[/url] width="614" height="461" />
                                          </center>
                                        </div ></TD>
                                    </TR>
                                  </TBODY>
                                </TABLE></TD>
                            </TR>
                          </TBODY>
                        </TABLE></TD>
                    </TR>
                  </TBODY>
                </TABLE></TD>
            </TR>
          </TBODY>
        </TABLE></TD>
    </TR>
  </TBODY>
</TABLE>
回复 瑢芳田智 2015-6-18 21:54
谢谢老师学习了!     

facelist

您需要登录后才可以评论 登录 | 注册会员

        
发布主题

手机版|公众号|小黑屋|可爱老人网

GMT+8, 2024-5-8 07:26

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

返回顶部