蛙 17-5-2012 16:47
圖片轉換控制
<FONT color=blue>
<P><FONT color=blue><FONT size=3>如不能顯示語法效果可貼去本站</FONT><A href="http://www.bunbun000.com/html/index.htm" target=_blank><FONT color=red size=3>語法測試板</FONT></A><FONT color=#0000ff size=3>試看</FONT></FONT></P>
<P><FONT size=3></FONT> </P>
<P><FONT size=3></FONT> </P>
<P><FONT size=3></FONT> </P>
<P><FONT size=3></FONT> </P>
<P><FONT color=purple>width="100" height="100" <<<<圖片大小</FONT></P>
<P><FONT color=purple></FONT> </P>
<P><FONT color=purple></FONT> </P>
<P><FONT color=purple></FONT> </P>
<P><A href="http://bunbun000.com/image/05.gif"><FONT color=purple>http://bunbun000.com/image/05.gif</FONT></A><FONT color=purple> <<<<圖片網址</FONT></P></FONT>
<P><FONT color=blue></FONT> </P>
<P><FONT color=blue></FONT> </P>
<P><FONT color=blue></FONT> </P>
<P><FONT color=blue></FONT> </P>
<P><FONT color=blue></FONT> </P>
<P><FONT color=blue></FONT> </P>
<P><FONT color=blue></FONT> </P>
<P><FONT color=blue><table border="0" cellpadding="0"><BR><tr><BR><td width="100%"><img src="</FONT><A href="http://bunbun000.com/image/05.gif"><FONT color=blue>http://bunbun000.com/image/05.gif</FONT></A><FONT color=blue>" width="100" height="100" name="photoslider"></td><BR></tr><BR><tr><BR><td width="100%"><form method="POST" name="rotater"><BR><div align="center"><center><p></FONT></P>
<P><FONT color=blue><script language="JavaScript1.1"><BR>var photos=new Array()<BR>var which=0</FONT></P>
<P><FONT color=blue>/*Change the below variables to reference your own images. You may have as many images in the slider as you wish*/<BR>photos[0]="</FONT><A href="http://bunbun000.com/image/05.gif"><FONT color=blue>http://bunbun000.com/image/05.gif</FONT></A><FONT color=blue>"<BR>photos[1]="</FONT><A href="http://bunbun000.com/image/06.gif"><FONT color=blue>http://bunbun000.com/image/06.gif</FONT></A><FONT color=blue>"<BR>photos[2]="</FONT><A href="http://bunbun000.com/image/07.gif"><FONT color=blue>http://bunbun000.com/image/07.gif</FONT></A><FONT color=blue>"<BR>photos[3]="</FONT><A href="http://bunbun000.com/image/08.gif"><FONT color=blue>http://bunbun000.com/image/08.gif</FONT></A><FONT color=blue>"</FONT></P>
<P><FONT color=blue>function backward(){<BR>if (which>0){<BR>window.status=''<BR>which--<BR>document.images.photoslider.src=photos[which]<BR>}<BR>}</FONT></P>
<P><FONT color=blue>function forward(){<BR>if (which<photos.length-1){<BR>which++<BR>document.images.photoslider.src=photos[which]<BR>}<BR>else window.status='End of gallery'<BR>}<BR></script><input type="button" value="<<Back" name="B2"<BR>onClick="backward()"> <input type="button" value="Next>>" name="B1"<BR>onClick="forward()"><br><BR></center></div><BR></form><BR></td><BR></tr><BR></table></FONT><BR></P>
蛙 25-5-2013 12:32
複製上列語法
<form name="copy">
<textarea cols="40" name="txt" rows="4" style="BACKGROUND-COLOR:#ffffff; COLOR:#000000; FONT-SIZE:9pt">
<table border="0" cellpadding="0">
<tr>
<td width="100%"><img src="http://bunbun000.com/image/05.gif" width="100" height="100" name="photoslider"></td>
</tr>
<tr>
<td width="100%"><form method="POST" name="rotater">
<div align="center"><center><p>
<script language="JavaScript1.1">
var photos=new Array()
var which=0
/*Change the below variables to reference your own images. You may have as many images in the slider as you wish*/
photos[0]="http://bunbun000.com/image/05.gif"
photos[1]="http://bunbun000.com/image/06.gif"
photos[2]="http://bunbun000.com/image/07.gif"
photos[3]="http://bunbun000.com/image/08.gif"
function backward(){
if (which>0){
window.status=''
which--
document.images.photoslider.src=photos[which]
}
}
function forward(){
if (which<photos.length-1){
which++
document.images.photoslider.src=photos[which]
}
else window.status='End of gallery'
}
</script><input type="button" value="<<Back" name="B2"
onClick="backward()"> <input type="button" value="Next>>" name="B1"
onClick="forward()"><br>
</center></div>
</form>
</td>
</tr>
</table>
</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>