怎么实现. 产品显示按下一页的时候就...转换图片 php
来源:百度知道 编辑:UC知道 时间:2024/06/02 19:24:01
php的
太平洋网上的例子:http://product.pconline.com.cn/product/178/p178884.html
b uzhi dao
厉害
<SCRIPT language=JavaScript type=text/javascript>
var showImageIndex = -1;
var imageTimer;
function showImage(imageIndex)
{
var flash_img_div = document.getElementById("flash_img");
var flash_title = document.getElementById("flash_title");
if(imageIndex>fImgs.length-1){
imageIndex = 0;
}
if(!fImgs[imageIndex] || imageIndex==showImageIndex)
return false;
var imgId = "__fImg"+imageIndex;
flash_img_div.filters && flash_img_div.filters[0].Apply();
for(i=0; i<flash_img_div.childNodes.length; i++){
flash_img_div.childNodes[i].style.display = "none";
}
if( document.getElementById(imgId) ){
var imga = document.getElementById(imgId);
imga.style.display = "block";
if(imga.tagName=="OBJECT"){
imga.rewind();
imga.Play();
}
}else{