四大 audit待遇:请问图片变化的奥秘

来源:百度文库 编辑:查人人中国名人网 时间:2024/04/29 13:00:13
网上论坛上常常有一些照片,看似平常,楼主声称回复后图片就会变化,实际上不用回复用CTR+A选中后,效果是一样的,那就是在原来图片的基础上又冒出了另一副图画,请问这是怎么做到的?谁能教教我怎么做?

html中图片变化的代码
脚本说明:
把如下代码加入<body>区域中
<span>
<script>
<!-- Enter here the url or source of picture #1 between the "" as in the example below -->
imga924180="1.gif"
<!-- Enter here the url or source of sound #1 between the "" as in the example below -->
so924180="DingDong.wav"
<!-- Enter here the url or source of picture #2 between the "" as in the example below -->
imga924181="14.gif"
<!-- Enter here the url or source of sound #2 between the "" as in the example below -->
so924181="gear_german_engage.wav"
<!-- Enter here the url or source of picture #3 between the "" as in the example below -->
imga924182="11.gif"
<!-- Enter here the url or source of sound #3 between the "" as in the example below -->
so924182="50gun_01.wav"
<!-- Enter here the width of the widest picture of the slideshow between the "" as in the example below -->
d392418="180"
<!-- Enter here the height of the tallest picture of the slideshow between the "" as in the example below -->
d492418="180"
<!-- Enter here the title of the slideshow between the "" as in the example below -->
d592418="图片显示"
<!-- Enter here the color of the border of the slideshow between the "" as in the example below -->
d692418="lime"
<!-- Enter here the style of the border of the slideshow between the "" as in the example below -->
d792418="inset"
<!-- Enter here the width of the border of the slideshow between the "" as in the example below -->
d892418="3px"
<!-- Enter here the color of the background of the slideshow between the "" as in the example below -->
d992418="black"
<!-- Enter here the font size of the title of the slideshow between the "" as in the example below -->
d1092418="15px"
<!-- Enter here the duration of the transition between the "" as in the example below -->
d1192418="3"
<!-- Don't edit from here on -->
camina92418=-1;function sou92418(){soun92418.innerHTML="<embed src='"+eval("so92418"+camina92418)+"' hidden='true'>"};function adda92418(){if (camina92418<2){camina92418++};for (d92418=0;d92418<3;d92418++){imga92418(d92418).style.visibility="hidden"};imga92418(camina92418).style.filter=("revealtrans(transition="+trans.options.selectedIndex+",duration="+d1192418+")");imga92418(camina92418).filters.item(0).apply();imga92418(camina92418).style.visibility="visible";imga92418(camina92418).filters.item(0).play()};function atr92418(){if (camina92418>0){camina92418--};for (d92418=0;d92418<3;d92418++){imga92418(d92418).style.visibility="hidden"};imga92418(camina92418).style.filter=("revealtrans(transition="+trans.options.selectedIndex+",duration="+d1192418+")");imga92418(camina92418).filters.item(0).apply();imga92418(camina92418).style.visibility="visible";imga92418(camina92418).filters.item(0).play()};document.write("<table><td><span style='background-color:"+d992418+";border:"+d692418+" "+d792418+" "+d892418+";border-bottom:0px solid "+d692418+";width:"+eval(eval(d392418)+eval(10))+";font-size:"+d1092418+";overflow:hidden;position:static;color:"+d692418+"'><center>"+d592418+"</center></span><br><span style='background-color:"+d992418+";border:"+d692418+" "+d792418+" "+d892418+";width:"+eval(eval(d392418)+eval(10))+";height:"+eval(eval(d492418)+eval(10))+";overflow:hidden;position:static;padding:5'>");document.write("<span style='position:absolute;left:-99999999' id='soun92418'>");for (uma92418=0;uma92418<3;uma92418++){document.write("<embed src="+eval("so92418"+uma92418)+" hidden='true' autostart=false>")};document.write("</span>");for (uma92418=0;uma92418<3;uma92418++){document.write("<img src="+eval("imga92418"+uma92418)+" style='position:absolute;visibility:hidden' id='imga92418'>")};document.write("</span></a><br><span style='background-color:"+d992418+";border:"+d692418+" "+d792418+" "+d892418+";border-top:0px solid "+d692418+";width:"+eval(eval(d392418)+eval(10))+";overflow:hidden;position:static'><center><input type=button value='<<' onfocus=this.blur() style='color:"+d692418+";background-color:"+d992418+"' onclick=atr92418();sou92418() style='border-color:"+d692418+"'><input type=button style='border-color:"+d692418+"' value='>>' onfocus=this.blur() style='color:"+d692418+";background-color:"+d992418+"' onclick=adda92418();sou92418()></center></span></table>")</script><!-- End of script -->
<br><br>请选择一种变换方式<br><br><select name="trans">
<option>Box in
<option>Box out
<option>Circle in
<option>Circle out
<option>Wipe up
<option>Wipe down
<option>Wipe right
<option>Wipe left
<option>Vertical blinds
<option>Horizontal blinds
<option> Checkerboard across
<option>Checkerboard down
<option>Random dissolve
<option>Split vertical in
<option>Split vertical out
<option>Split horizontal in
<option>Split horizontal out
<option>Strips left down
<option>Strips left up
<option>Strips right down
<option>Strips right up
<option>Random bars horizontal
<option>Random bars vertical
<option>Random transition
</select>

<script>
function gene()
{
r=Math.floor(Math.random()*100000)
K='"'
F="s"
clrar.value="<!--Original script by SPD. Visit us for more scripts like this one at www.superprodesign.com Forbidden by copyright law to remove this comments under any situation. Enjoy! -->\n<script>\n"
for (gene1=0;gene1<num.value;gene1++){
clrar.value+="<!-- Enter here the url or source of picture #"+eval(eval(gene1)+eval(1))+" between the "+K+""+K+" as in the example below -->\nimga"+r+""+gene1+"="+K+"1.gif"+K+"\n<!-- Enter here the url or source of sound #"+eval(eval(gene1)+eval(1))+" between the "+K+""+K+" as in the example below -->\nso"+r+""+gene1+"="+K+"1.wav"+K+"\n"
}
clrar.value+="<!-- Enter here the width of the widest picture of the slideshow between the "+K+""+K+" as in the example below -->\nd3"+r+"="+K+"100"+K+"\n<!-- Enter here the height of the tallest picture of the slideshow between the "+K+""+K+" as in the example below -->\nd4"+r+"="+K+"100"+K+"\n<!-- Enter here the title of the slideshow between the "+K+""+K+" as in the example below -->\nd5"+r+"="+K+"My pictures"+K+"\n<!-- Enter here the color of the border of the slideshow between the "+K+""+K+" as in the example below -->\nd6"+r+"="+K+"darkviolet"+K+"\n<!-- Enter here the style of the border of the slideshow between the "+K+""+K+" as in the example below -->\nd7"+r+"="+K+"solid"+K+"\n<!-- Enter here the width of the border of the slideshow between the "+K+""+K+" as in the example below -->\nd8"+r+"="+K+"5px"+K+"\n<!-- Enter here the color of the background of the slideshow between the "+K+""+K+" as in the example below -->\nd9"+r+"="+K+"black"+K+"\n<!-- Enter here the font size of the title of the slideshow between the "+K+""+K+" as in the example below -->\nd10"+r+"="+K+"15px"+K+"\n<!-- Enter here the duration of the transition between the "+K+""+K+" as in the example below -->\nd11"+r+"="+K+"4"+K+"\n<!-- Don't edit from here on -->\n"

clrar.value+="camina"+r+"=-1;function sou"+r+"(){soun"+r+".innerHTML="+K+"<embed src='"+K+"+eval("+K+"so"+r+""+K+"+camina"+r+")+"+K+"' hidden='true'>"+K+"};function adda"+r+"(){if (camina"+r+"<"+eval(eval(num.value)-eval(1))+"){camina"+r+"++};for (d"+r+"=0;d"+r+"<"+num.value+";d"+r+"++){imga"+r+"(d"+r+").style.visibility="+K+"hidden"+K+"};imga"+r+"(camina"+r+").style.filter=("+K+"revealtrans(transition="+trans.options.selectedIndex+",duration="+K+"+d11"+r+"+"+K+")"+K+");imga"+r+"(camina"+r+").filters.item(0).apply();imga"+r+"(camina"+r+").style.visibility="+K+"visible"+K+";imga"+r+"(camina"+r+").filters.item(0).play()};function atr"+r+"(){if (camina"+r+">0){camina"+r+"--};for (d"+r+"=0;d"+r+"<"+num.value+";d"+r+"++){imga"+r+"(d"+r+").style.visibility="+K+"hidden"+K+"};imga"+r+"(camina"+r+").style.filter=("+K+"revealtrans(transition="+trans.options.selectedIndex+",duration="+K+"+d11"+r+"+"+K+")"+K+");imga"+r+"(camina"+r+").filters.item(0).apply();imga"+r+"(camina"+r+").style.visibility="+K+"visible"+K+";imga"+r+"(camina"+r+").filters.item(0).play()};document.write("+K+"<table><td><span style='background-color:"+K+"+d9"+r+"+"+K+";border:"+K+"+d6"+r+"+"+K+" "+K+"+d7"+r+"+"+K+" "+K+"+d8"+r+"+"+K+";border-bottom:0px solid "+K+"+d6"+r+"+"+K+";width:"+K+"+eval(eval(d3"+r+")+eval(10))+"+K+";font-size: