微软msn spaces中的那种照片显示效果是怎么做出来的?有谁知道??讨论一下!! 我没有想明白!! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 应该是javascript filters[0].Apply();可以实现这个效果. <script language=JavaScript>var imgUrl=new Array();var imgLink=new Array();var adNum=0;imgLink[0]="http://www.hilon.com.cn/subject/happysummer-chinaren/";imgUrl[0]="http://photocdn.sohu.com/20050803/Img226549178.jpg";imgLink[1]="http://club.chinaren.com/bbs/index.jsp?boardid=13&hotmsgid=13085905";imgUrl[1]="http://photocdn.sohu.com/20050816/Img226688163.jpg";imgLink[2]="http://club.chinaren.com/bbs/index.jsp?boardid=4&hotmsgid=13111890";imgUrl[2]="http://photocdn.sohu.com/20050815/Img226674296.jpg";function playTran(){ if (document.all) imgInit.filters.revealTrans.play();}function nextAd(){ if(adNum<imgUrl.length-1) adNum++; else adNum=0; if (document.all){ imgInit.filters.revealTrans.Transition=6; imgInit.filters.revealTrans.apply(); playTran(); } document.images.imgInit.src=imgUrl[adNum]; theTimer=setTimeout("nextAd()", 6000);}function goUrl(){ jumpUrl=imgLink[adNum]; jumpTarget='_blank'; if (jumpUrl != ''){ if (jumpTarget != '') window.open(jumpUrl,jumpTarget); else location.href=jumpUrl; }}</script><span><img src="javascript:nextAd()" name=imgInit onclick="goUrl()" width=120 height=160 vspace="1" border=0 style="FILTER: revealTrans(duration=2,transition=20);cursor:hand"></span></A> 有谁能帮我解释一下这是什么原因造成的吗?谢谢。 xmlhttp 定时刷新页面上的Label控件,知道思路,不懂得写脚本. VS.Net 2005的网站发布很麻烦!!! ASP.NET页面传值方法. 关于获取焦的问题 求助 帮忙看一下这个格式化有什么问题!! 请问怎么得到一个表中有多少列? 'False'转换为数据类型为 bit 的列时发生语法错误 怎样将Session值传给一对话框?在C#中怎样使用javascript?在线等,谢谢! 如何设置图像的透明度???? 简单问题: 如何展开treeview中某个特定的结点?
filters[0].Apply();
可以实现这个效果.
var imgUrl=new Array();
var imgLink=new Array();
var adNum=0;imgLink[0]="http://www.hilon.com.cn/subject/happysummer-chinaren/";
imgUrl[0]="http://photocdn.sohu.com/20050803/Img226549178.jpg";
imgLink[1]="http://club.chinaren.com/bbs/index.jsp?boardid=13&hotmsgid=13085905";
imgUrl[1]="http://photocdn.sohu.com/20050816/Img226688163.jpg";
imgLink[2]="http://club.chinaren.com/bbs/index.jsp?boardid=4&hotmsgid=13111890";
imgUrl[2]="http://photocdn.sohu.com/20050815/Img226674296.jpg";
function playTran(){
if (document.all) imgInit.filters.revealTrans.play();
}function nextAd(){
if(adNum<imgUrl.length-1) adNum++;
else adNum=0;
if (document.all){
imgInit.filters.revealTrans.Transition=6;
imgInit.filters.revealTrans.apply();
playTran();
}
document.images.imgInit.src=imgUrl[adNum];
theTimer=setTimeout("nextAd()", 6000);
}function goUrl(){
jumpUrl=imgLink[adNum];
jumpTarget='_blank';
if (jumpUrl != ''){
if (jumpTarget != '')
window.open(jumpUrl,jumpTarget);
else
location.href=jumpUrl;
}
}
</script>
<span><img src="javascript:nextAd()" name=imgInit onclick="goUrl()" width=120 height=160 vspace="1" border=0 style="FILTER: revealTrans(duration=2,transition=20);cursor:hand"></span></A>