|
发表于 2006-3-14 09:53:05
|
显示全部楼层
<IMG style="FILTER: blendTrans(duration=crossFadeDuration)" src="http://www.thejunglelook.com/slides/1.jpg" name=SlideShow><BR>
<SCRIPT>
// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 3000
// Duration of crossfade (seconds)
var crossFadeDuration = 3
// Specify the image files
var Pic = new Array() // don't touch this
Pic[0] = 'slides/1.jpg'
Pic[1] = 'slides/2.jpg'
Pic[2] = 'slides/3.jpg'
Pic[3] = 'slides/4.jpg'
Pic[4] = 'slides/5.jpg'
Pic[5] = 'slides/6.jpg'
// ========================
// Keep the below as it is
// ========================
var t
var j = 0
var p = Pic.length
var preLoad = new Array()
for (i = 0; i < p; i++){
preLoad = new Image()
preLoad.src = Pic
}
function runSlideShow(){
if (document.all){
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
if (document.all){
document.images.SlideShow.filters.blendTrans.Play()
}
j = j + 1
if (j > (p-1)) j=0
t = setTimeout('runSlideShow()', slideShowSpeed)
}
</SCRIPT>
<BR>
<SCRIPT>
// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 3000
// Duration of crossfade (seconds)
var crossFadeDuration = 3
// Specify the image files
var Pic = new Array() // don't touch this
Pic[0] = 'slides/1.jpg'
Pic[1] = 'slides/2.jpg'
Pic[2] = 'slides/3.jpg'
Pic[3] = 'slides/4.jpg'
Pic[4] = 'slides/5.jpg'
Pic[5] = 'slides/6.jpg'
// ========================
// Keep the below as it is
// ========================
var t
var j = 0
var p = Pic.length
var preLoad = new Array()
for (i = 0; i < p; i++){
preLoad = new Image()
preLoad.src = Pic
}
function runSlideShow(){
if (document.all){
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
if (document.all){
document.images.SlideShow.filters.blendTrans.Play()
}
j = j + 1
if (j > (p-1)) j=0
t = setTimeout('runSlideShow()', slideShowSpeed)
}
</SCRIPT>
<BR><!-- NOW WE CLOSE THE GALLERY COLUMN --></TD><!-- OPEN ANOTHER COLUMN ON THE RIGHT SIDE FOR OUR MENUBAR --><TD width="5%"></TD><!-- CLOSE THE ROW FOR GALLERY AND THE SIDEBARS --></TR><!-- OPEN A FOOTER ROW --><TR valign="middle"><!-- COMBINE THE TWO COLUMNS TO MAKE ONE FULL WIDTH ROW --><TD colspan="3" align="center"> |
|