笨笨網站超級論壇 (綠色版本)


頁: [1]

#1  框架式捲動文字 -  (Administrator) 發表於 2-6-2013 11:38

<P><FONT color=blue>&lt;option&gt;輕舟已過萬重山    &lt;&lt;&lt; 字句可加可減,首句留空是作間隔之用</FONT></P>
<P><FONT color=blue></FONT> </P>
<P><FONT color=blue size=2>setTimeout("rotate()",2000); 2000之值越大越慢,可隨意更改</FONT></P>
<P><FONT color=#0000ff size=2></FONT> </P>
<P><FONT color=#0000ff size=3></FONT> </P>
<P><FONT color=#0000ff 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></P>
<P><FONT color=purple></FONT> </P>
<P><FONT color=purple></FONT> </P>
<P><FONT color=purple>&lt;form name="menuform"&gt;&lt;center&gt;&lt;select size="1" name="msg"&gt;</FONT></P>
<P><FONT color=purple>    &lt;option&gt;<BR>    &lt;option&gt;朝辭白帝彩雲間<BR>    &lt;option&gt;千里江陵一日還<BR>    &lt;option&gt;兩岸猿聲啼不住<BR>    &lt;option&gt;輕舟已過萬重山 <BR>  &lt;/select&gt;&lt;/center&gt;&lt;/form&gt;<BR>&lt;script language="javascript"&gt;<BR>&lt;!-- Begin <BR>function rotate() { <BR>menu = document.menuform.msg; <BR>chosen = menu.selectedIndex; <BR>menu.selectedIndex= (chosen == (menu.length-1)) ? 0 : chosen + 1; <BR>setTimeout("rotate()",2000); <BR>} <BR>rotate(); <BR>--&gt; <BR>&lt;/script&gt;</FONT></P>

#2  複製上列語法 -  (Administrator) 發表於 2-6-2013 11:44

<form name="copy">
<textarea cols="40" name="txt" rows="4" style="BACKGROUND-COLOR:#ffffff; COLOR:#000000; FONT-SIZE:9pt">
<form name="menuform"><center><select size="1" name="msg">

    <option>
    <option>朝辭白帝彩雲間
    <option>千里江陵一日還
    <option>兩岸猿聲啼不住
    <option>輕舟已過萬重山
  </select></center></form>
<script language="javascript">
<!-- Begin
function rotate() {
menu = document.menuform.msg;
chosen = menu.selectedIndex;
menu.selectedIndex= (chosen == (menu.length-1)) ? 0 : chosen + 1;
setTimeout("rotate()",2000);
}
rotate();
-->
</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>
頁: [1]

Powered by Discuz Simply! 0.54 Released © wxyuan90