查看完整版本: 圖片轉換控制

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>&nbsp;</P>
<P><FONT size=3></FONT>&nbsp;</P>
<P><FONT size=3></FONT>&nbsp;</P>
<P><FONT size=3></FONT>&nbsp;</P>
<P><FONT color=purple>width="100" height="100"&nbsp;&nbsp; &lt;&lt;&lt;&lt;圖片大小</FONT></P>
<P><FONT color=purple></FONT>&nbsp;</P>
<P><FONT color=purple></FONT>&nbsp;</P>
<P><FONT color=purple></FONT>&nbsp;</P>
<P><A href="http://bunbun000.com/image/05.gif"><FONT color=purple>http://bunbun000.com/image/05.gif</FONT></A><FONT color=purple>&nbsp;&nbsp; &lt;&lt;&lt;&lt;圖片網址</FONT></P></FONT>
<P><FONT color=blue></FONT>&nbsp;</P>
<P><FONT color=blue></FONT>&nbsp;</P>
<P><FONT color=blue></FONT>&nbsp;</P>
<P><FONT color=blue></FONT>&nbsp;</P>
<P><FONT color=blue></FONT>&nbsp;</P>
<P><FONT color=blue></FONT>&nbsp;</P>
<P><FONT color=blue></FONT>&nbsp;</P>
<P><FONT color=blue>&lt;table border="0" cellpadding="0"&gt;<BR>&lt;tr&gt;<BR>&lt;td width="100%"&gt;&lt;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"&gt;&lt;/td&gt;<BR>&lt;/tr&gt;<BR>&lt;tr&gt;<BR>&lt;td width="100%"&gt;&lt;form method="POST" name="rotater"&gt;<BR>&lt;div align="center"&gt;&lt;center&gt;&lt;p&gt;</FONT></P>
<P><FONT color=blue>&lt;script language="JavaScript1.1"&gt;<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&gt;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&lt;photos.length-1){<BR>which++<BR>document.images.photoslider.src=photos[which]<BR>}<BR>else window.status='End of gallery'<BR>}<BR>&lt;/script&gt;&lt;input type="button" value="&lt;&lt;Back" name="B2"<BR>onClick="backward()"&gt; &lt;input type="button" value="Next&gt;&gt;" name="B1"<BR>onClick="forward()"&gt;&lt;br&gt;<BR>&lt;/center&gt;&lt;/div&gt;<BR>&lt;/form&gt;<BR>&lt;/td&gt;<BR>&lt;/tr&gt;<BR>&lt;/table&gt;</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>
頁: [1]
查看完整版本: 圖片轉換控制