#1
自動轉換圖片 - 蛙 (Administrator) 發表於 27-7-2013 10:32
,"http://bunbun000.com/home/index/BBS.gif" <<< 圖片網址,可在網址列括號內內最後全句增加或減少,留意最前有一豆號
var slidespeed=3000 <<< 3000 是圖片轉換時間,越大越慢,可更改
<script language="JavaScript">
<!--
var slidespeed=3000
var slideimages=new Array("http://bunbun000.com/home/index/bunlogo2.gif","http://bunbun000.com/home/index/bunlogo3.gif","http://bunbun000.com/home/index/teresa.gif","http://bunbun000.com/home/index/BBS.gif"
var imageholder=new Array()
var ie55=window.createPopup
for (i=0;i<slideimages.length;i++){
imageholder
=new Image()
imageholder.src=slideimages
}
function gotoshow(){
window.location=slidelinks[whichlink]
}
-->
</script>
<img src="001.gif" name="slide" border=0 style="filter:progidXImageTransform.Microsoft.Pixelate(MaxSquare=15,Duration=1)" align="middle">
<script language="JavaScript1.1">
<!--
var whichlink=0
var whichimage=0
var pixeldelay=(ie55)? document.images.slide.filters[0].duration*1000 : 0
function slideit(){
if (!document.images) return
if (ie55) document.images.slide.filters[0].apply()
document.images.slide.src=imageholder[whichimage].src
if (ie55) document.images.slide.filters[0].play()
whichlink=whichimage
whichimage=(whichimage<slideimages.length-1)? whichimage+1 : 0
setTimeout("slideit()",slidespeed+pixeldelay)
}
slideit()
-->
</script>
#2
複製上列語法 - 蛙 (Administrator) 發表於 27-7-2013 10:38
<form name="copy">
<textarea cols="40" name="txt" rows="4" style="BACKGROUND-COLOR:#ffffff; COLOR:#000000; FONT-SIZE:9pt">
<script language="JavaScript">
<!--
var slidespeed=3000
var slideimages=new Array("http://bunbun000.com/home/index/bunlogo2.gif","http://bunbun000.com/home/index/bunlogo3.gif","http://bunbun000.com/home/index/teresa.gif","http://bunbun000.com/home/index/BBS.gif"
var imageholder=new Array()
var ie55=window.createPopup
for (i=0;i<slideimages.length;i++){
imageholder
=new Image()
imageholder.src=slideimages
}
function gotoshow(){
window.location=slidelinks[whichlink]
}
-->
</script>
<img src="001.gif" name="slide" border=0 style="filter:progidXImageTransform.Microsoft.Pixelate(MaxSquare=15,Duration=1)" align="middle">
<script language="JavaScript1.1">
<!--
var whichlink=0
var whichimage=0
var pixeldelay=(ie55)? document.images.slide.filters[0].duration*1000 : 0
function slideit(){
if (!document.images) return
if (ie55) document.images.slide.filters[0].apply()
document.images.slide.src=imageholder[whichimage].src
if (ie55) document.images.slide.filters[0].play()
whichlink=whichimage
whichimage=(whichimage<slideimages.length-1)? whichimage+1 : 0
setTimeout("slideit()",slidespeed+pixeldelay)
}
slideit()
-->
</script>
</textarea><br>
<input onclick="javascript:this.form.txt.focus();this.form.txt.select();" type="button" value="全選">
</form>
<br>
<script type="text/javascript"><!--
google_ad_client = "ca-pub-4078143172638881";
/* 336X280 */
google_ad_slot = "3268225205";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>