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


頁: [1]

#1  連結文字自動變色 -  (Administrator) 發表於 3-6-2012 09:40

<P><FONT color=blue>&lt;script type="text/javascript"&gt;&lt;!--<BR>function initArray() {<BR>for (var i = 0; i &lt; initArray.arguments.length; i++) {<BR>this = initArray.arguments;}<BR>this.length = initArray.arguments.length;}<BR>var colors = new initArray("#FF0000","#FF9900","#FFFF00","#00FF00","#00FFFF","#FF00FF";<BR>link = 0;<BR>vlink = 2;<BR>function linkDance() {<BR>link = (link+1)%colors.length;<BR>vlink = (vlink+1)%colors.length;<BR>document.linkColor = colors[link];<BR>document.vlinkColor = colors[vlink];<BR>setTimeout("linkDance()",1000);}<BR>linkDance();<BR>// --&gt;&lt;/script&gt;</FONT></P>
<P><FONT color=#0000ff></FONT> </P>
<P><FONT color=#0000ff></FONT> </P>
<P><FONT color=purple>貼此語法後網頁內所有連結之文字會自動變換顏色</FONT></P>
<P><FONT color=purple></FONT> </P>
<P><FONT color=purple>括號內之色碼可隨意更改</FONT></P>
<P><FONT color=purple></FONT> </P>
<P><FONT color=purple>("#FF0000","#FF9900","#FFFF00","#00FF00","#00FFFF","#FF00FF";</FONT><BR></P>
<P><FONT color=#800080></FONT> </P>
<P><FONT color=#800080></FONT> </P>
<P><FONT color=#800080></FONT> </P><FONT color=#800080>
<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></FONT>
<P><FONT color=#800080></FONT> </P>
<P><FONT color=#800080></FONT> </P>
<P><A href="http://www.bunbunhk.com/cgi-bin/html/index.htm" target=_blank><FONT color=red size=3>語法測試板</FONT></A><FONT color=#0000ff size=3> 2</FONT></P>

#2  複製上列語法 -  (Administrator) 發表於 25-5-2013 09:56

<form name="copy">
<textarea cols="40" name="txt" rows="4" style="BACKGROUND-COLOR:#ffffff; COLOR:#000000; FONT-SIZE:9pt">
<script type="text/javascript"><!--
function initArray() {
for (var i = 0; i < initArray.arguments.length; i++) {
this = initArray.arguments;}
this.length = initArray.arguments.length;}
var colors = new initArray("#FF0000","#FF9900","#FFFF00","#00FF00","#00FFFF","#FF00FF";
link = 0;
vlink = 2;
function linkDance() {
link = (link+1)%colors.length;
vlink = (vlink+1)%colors.length;
document.linkColor = colors[link];
document.vlinkColor = colors[vlink];
setTimeout("linkDance()",1000);}
linkDance();
// --></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