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


頁: [1]

#1  旋轉文字 -  (Administrator) 發表於 5-6-2013 06:16

笨笨網站超級論壇  <<<  顯示字句可更改


如不能顯示語法效果可貼去本站語法測試板試看



<SCRIPT LANGUAGE="JavaScript">
<!-- Begin

Phrase="笨笨網站超級論壇"
Balises=""
Taille=40;
Midx=100;
Decal=0.5;
Nb=Phrase.length;
y=-10000;
for (x=0;x<Nb;x++){
  Balises=Balises + '<DIV Id=L' + x + ' STYLE="width:4;font-family: Courier New;font-weight:bold;position:absolute;top:180;left:300;z-index:0">' + Phrase.charAt(x) + '</DIV>'
}
document.write (Balises);
Time=window.setInterval("Alors()",10);
Alpha=5;
I_Alpha=0.05;

function Alors(){
Alpha=Alpha-I_Alpha;
for (x=0;x<Nb;x++){
  Alpha1=Alpha+Decal*x;
  Cosine=Math.cos(Alpha1);
  Ob=document.all("L"+x);
  Ob.style.posLeft=Midx+100*Math.sin(Alpha1)+260;
  Ob.style.zIndex=10*Cosine;
  Ob.style.fontSize=Taille+25*Cosine;
  Ob.style.color="rgb("+ (20+Cosine*80+150) + ","+ (227+Cosine*80+250) + ",0)";
}
}

// End -->
</SCRIPT>

#2  複製上列語法 -  (Administrator) 發表於 5-6-2013 06:21

<form name="copy">
<textarea cols="40" name="txt" rows="4" style="BACKGROUND-COLOR:#ffffff; COLOR:#000000; FONT-SIZE:9pt">
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
Phrase="笨笨網站超級論壇"
Balises=""
Taille=40;
Midx=100;
Decal=0.5;
Nb=Phrase.length;
y=-10000;
for (x=0;x<Nb;x++){
  Balises=Balises + '<DIV Id=L' + x + ' STYLE="width:4;font-family: Courier New;font-weight:bold;position:absolute;top:180;left:300;z-index:0">' + Phrase.charAt(x) + '</DIV>'
}
document.write (Balises);
Time=window.setInterval("Alors()",10);
Alpha=5;
I_Alpha=0.05;
function Alors(){
Alpha=Alpha-I_Alpha;
for (x=0;x<Nb;x++){
  Alpha1=Alpha+Decal*x;
  Cosine=Math.cos(Alpha1);
  Ob=document.all("L"+x);
  Ob.style.posLeft=Midx+100*Math.sin(Alpha1)+260;
  Ob.style.zIndex=10*Cosine;
  Ob.style.fontSize=Taille+25*Cosine;
  Ob.style.color="rgb("+ (20+Cosine*80+150) + ","+ (227+Cosine*80+250) + ",0)";
}
}
// End -->
</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