|
|
|
|
|
?script language="JavaScript" type="text/JavaScript">
// (C) 2000 www.CodeLifter.com
// http://www.codelifter.com
// Free for all users, but leave in this header
// NS4-6,IE4-6
// Fade effect only in IE; degrades gracefully
// $Id: slideshow.inc.php,v 1.6 2004/07/24 15:04:09 gaugau Exp $
// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 5000
// Agent sniffer shamelessly 'stolen' from the excellent X library from cross-browser.com
var xOp7=false,xOp5or6=false,xIE4Up=false,xNN4=false,xUA=navigator.userAgent.toLowerCase();
if(window.opera){
xOp7=(xUA.indexOf('opera 7')!=-1 || xUA.indexOf('opera/7')!=-1);
if (!xOp7) xOp5or6=(xUA.indexOf('opera 5')!=-1 || xUA.indexOf('opera/5')!=-1 || xUA.indexOf('opera 6')!=-1 || xUA.indexOf('opera/6')!=-1);
}
else if(document.layers) xNN4=true;
else {xIE4Up=document.all && xUA.indexOf('msie')!=-1 && parseInt(navigator.appVersion)>=4;}
// Duration of crossfade (seconds)
var crossFadeDuration = 3
// Specify the image files
// to add more images, just continue
// the pattern, adding to the array below
//Pic = new Array("../photo-m/2009910233_57_1.jpg","../photo-m/2009910233_55_2.jpg","../photo-m/2009910203_17_1.jpg","../photo-m/2009910203_17_2.jpg","../photo-m/2009910203_14_3.jpg");
//texx = new Array("???入?? ?????工???送實??....","???入?? ?????工???送實??....","封女?...封??........","封女?...封??........","封女?...封??........");
//whot = new Array("美??,"美??,"強強?,"強強?,"強強?);
Pic = new Array("../photo-m_2024/20241230194810234.jpg","../photo-m_2024/20241230194809290.jpg","../photo-m_2024/20241230193111260.jpg","../photo-m_2024/20241230193110067.jpg","../photo-m_2024/20241230193109327.jpg");
texx = new Array("......","......","......","......","......");
whot = new Array("L]","L]","","","");
var t
var j = 0
var p = Pic.length
var pos = j
var preLoad = new Array()
function preLoadPic(index)
{
if (Pic[index] != ''){
window.status='Loading : '+Pic[index]
preLoad[index] = new Image()
preLoad[index].src = Pic[index]
Pic[index] = ''
window.status=''
}
}
function runSlideShow(){
if (xIE4Up){
document.images.SlideShow.style.filter="blendTrans(duration=2)"
document.images.SlideShow.style.filter= "blendTrans(duration=crossFadeDuration)"
document.images.SlideShow.filters.blendTrans.Apply()
}
document.images.SlideShow.src = preLoad[j].src
window["uu"].href ="ADOShowBigPhoto.asp?file="+preLoad[j].src
window["text1"].innerText = texx[j]
window["whoo"].innerText = whot[j];
if (xIE4Up){
document.images.SlideShow.filters.blendTrans.Play()
}
pos = j
j = j + 1
if (j > (p-1)) j=0
t = setTimeout('runSlideShow()', slideShowSpeed)
preLoadPic(j)
}
preLoadPic(j)
|
|
|
| | |
‧本站為言論自主平台,相關圖文上載皆設有追蹤機制,網友請謹慎發言,勿涉及人身攻擊! 如面臨法律糾紛,本站有權提供發稿人資料予相關單位。 服務條款
‧Copyright ©Javon ‧
‧本站最佳顯示IE 5.5 以上版本 解析度 800 X 600以上‧
|
| |