代码如下:
<BODY>
<script language="Javascript">
<!--
var Ga=new Array()
Ga[0]=" 照片地址1 "
Ga[1]=" 照片地址2"
Ga[2]=" 照片地址3 "
Ga[3]=" 照片地址4 "
Ga[4]=" 照片地址5 "
Ga[5]=" 照片地址6 "
Ga[6]=" 照片地址7 "
Ga[7]=" 照片地址8 "
Ga[8]=" 照片地址9 "
Ga[9]=" 照片地址10"
Ga[10]=" 照片地址11 "
var hayasa=4000
var suu =1;
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.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) }
window.onload=new Function("setTimeout('kirikae()',hayasa)")
//-->
</script>
<img src=" 照片地址1 " name="rittai" border=0 // Ga[0]=" 照片地址1".
style="filter:progid:DXImageTransform.Microsoft.Stretch(stretchStyle='PUSH')">
<!-- START NNR Site Census V5.1 -->
<!-- COPYRIGHT 2004 Nielsen // Netratings -->
<script language="Javascript" type="text/javascript">
<!--
var _rsCI="cn-sina";
var _rsCG="0";
var _rsDT=0;
var _rsDU=0;
var _rsDO=0;
var _rsX6=0;
var _rsSI=escape(window.location);
var _rsLP=location.protocol.indexOf('https')>-1?'https:':'http:';
var _rsRP=escape(document.referrer);
var _rsND=_rsLP+'//secure-cn.imrworldwide.com/';
if (parseInt(navigator.appVersion)>=4)
{
var _rsRD=(new Date()).getTime();
var _rsSE=1;
var _rsSV="";
var _rsSM=0.01;
_rsCL='<scr'+'ipt language="Javascript" type="text/javascript" src="'+_rsND+'v51.js"></scr'+'ipt>';
}
else
{
_rsCL='<img src="'+_rsND+'cgi-bin/m?ci='+_rsCI+'&cg='+_rsCG+'&si='+_rsSI+'&rp='+_rsRP+'">';
}
document.write(_rsCL);
//-->
</script>
<noscript>
<img src="//secure-cn.imrworldwide.com/cgi-bin/m?ci=cn-sina&cg=0" alt="">
</noscript>
<!-- END NNR Site Census V5.1 -->
</body>
说明:以上红字只要改成你家宝宝的照片地址就可以了
需要注意的问题:
例如:
Ga[0]=" 你家宝宝照片地址"
" 照片地址 ":" 和照片地址之间一定要有空格!