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


頁: [1]

#1  在站停留時間 -  (Administrator) 發表於 30-5-2012 11:23

<span id="yudan110"></span>
<script type="text/javascript"><!--
var sec=0; var min=0; var hou=0; flag=0;
function yudan_110(){sec++;
if(sec==60){sec=0;min+=1;}
if(min==60){min=0;hou+=1;}
if((min>0)&&(flag==0)){flag=1;}
document.getElementById("yudan110".innerHTML="你在本站停留了 "+hou+" 小時 "+min+" 分 "+sec+" 秒";
setTimeout("yudan_110();",1000);}
yudan_110();
// --></script>

<BR><BR<<BR><BR><BR<BR>

<P><FONT color=blue>&lt;span id="yudan110"&gt;&lt;/span&gt;<BR>&lt;script type="text/javascript"&gt;&lt;!--<BR>var sec=0; var min=0; var hou=0; flag=0;<BR>function yudan_110(){sec++;<BR>if(sec==60){sec=0;min+=1;}<BR>if(min==60){min=0;hou+=1;}<BR>if((min&gt;0)&&(flag==0)){flag=1;}<BR>document.getElementById("yudan110".innerHTML="你在本站停留了 "+hou+" 小時 "+min+" 分 "+sec+" 秒";<BR>setTimeout("yudan_110();",1000);}<BR>yudan_110();<BR>// --&gt;&lt;/script&gt;</FONT></P>
<P><FONT color=#0000ff></FONT> </P>
<P><FONT color=#0000ff></FONT> </P>
<P><FONT color=purple>你在本站停留了  &lt;&lt;&lt; 可更改</FONT></P>
<P><FONT color=#800080></FONT> </P>
<P><FONT color=#800080></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>

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

<form name="copy">
<textarea cols="40" name="txt" rows="4" style="BACKGROUND-COLOR:#ffffff; COLOR:#000000; FONT-SIZE:9pt">
<span id="yudan110"></span>
<script type="text/javascript"><!--
var sec=0; var min=0; var hou=0; flag=0;
function yudan_110(){sec++;
if(sec==60){sec=0;min+=1;}
if(min==60){min=0;hou+=1;}
if((min>0)&&(flag==0)){flag=1;}
document.getElementById("yudan110".innerHTML="你在本站停留了 "+hou+" 小時 "+min+" 分 "+sec+" 秒";
setTimeout("yudan_110();",1000);}
yudan_110();
// --></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