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


頁: [1]

#1  漸隱漸現圖片 -  (Administrator) 發表於 18-5-2012 21:28

<script language="JavaScript">
<!--
if (document.all){
kg=new Image();
kg.src="";
document.write('<span id="rings" style="position:absolute;top:0px;left:0px">'
+'<img src="http://bunbun000.com/image/07.gif" name="kg" style="position:relative"></span>');
var TimeLineTwo = 350
var TimeLineOne = 40;
var TimeLinethree = 100;
var xx=20
var xx2=100
var xx3=30
var time3=TimeLinethree/xx3
var time2=TimeLineTwo/xx2
var time1=TimeLineOne/xx
var ThreeStep = time3
var TwoStep =time2
var OneStep = time1
var xp = 100;
var yp = 100;
function SmokeRing(){
document.all.rings.document.images["kg"].style.filter='alpha(opacity='+TimeLinethree+')';
document.all.rings.document.images["kg"].style.top=yp + (-TimeLineOne);
document.all.rings.document.images["kg"].style.left=xp + (-TimeLineOne);
document.all.rings.document.images["kg"].width=TimeLineTwo;
document.all.rings.document.images["kg"].height=TimeLineTwo;
TimeLinethree-=ThreeStep;
TimeLineTwo+=TwoStep;
TimeLineOne+=OneStep;
setTimeout('SmokeRing()',50);
if ((TimeLineTwo > 280) || (TimeLineOne > 280) || (TimeLinethree < 0))
{TimeLineTwo=0;TimeLineOne=0;TimeLinethree=185;
stop=window.document.body.clientHeight-280;
sleft=window.document.body.clientWidth/2.5;
yp=Math.round(Math.random()*stop);
xp=Math.round(Math.random()*sleft);
document.all.rings.style.top=yp+document.body.scrollTop;
document.all.rings.style.left=xp+document.body.scrollLeft;
}
if ((yp < 80) || (xp < 80))
{
yp+=80;
xp+=80;
}}}
if (document.all)SmokeRing();
// -->
</script>


<FONT color=blue>&lt;script language="JavaScript"&gt;<BR>&lt;!--<BR>if (document.all){<BR>kg=new Image();<BR>kg.src="";<BR>document.write('&lt;span id="rings" style="position:absolute;top:0px;left:0px"&gt;'<BR>+'&lt;img src="<FONT color=red>圖檔網址</FONT>" name="kg" style="position:relative"&gt;&lt;/span&gt;');<BR>var TimeLineTwo = 350<BR>var TimeLineOne = 40;<BR>var TimeLinethree = 100;<BR>var xx=20<BR>var xx2=100<BR>var xx3=30<BR>var time3=TimeLinethree/xx3<BR>var time2=TimeLineTwo/xx2<BR>var time1=TimeLineOne/xx<BR>var ThreeStep = time3<BR>var TwoStep =time2<BR>var OneStep = time1<BR>var xp = 100;<BR>var yp = 100;<BR>function SmokeRing(){<BR>document.all.rings.document.images["kg"].style.filter='alpha(opacity='+TimeLinethree+')';<BR>document.all.rings.document.images["kg"].style.top=yp + (-TimeLineOne);<BR>document.all.rings.document.images["kg"].style.left=xp + (-TimeLineOne);<BR>document.all.rings.document.images["kg"].width=TimeLineTwo;<BR>document.all.rings.document.images["kg"].height=TimeLineTwo;<BR>TimeLinethree-=ThreeStep;<BR>TimeLineTwo+=TwoStep;<BR>TimeLineOne+=OneStep;<BR>setTimeout('SmokeRing()',50);<BR>if ((TimeLineTwo &gt; 280) || (TimeLineOne &gt; 280) || (TimeLinethree &lt; 0))<BR>{TimeLineTwo=0;TimeLineOne=0;TimeLinethree=185;<BR>stop=window.document.body.clientHeight-280;<BR>sleft=window.document.body.clientWidth/2.5;<BR>yp=Math.round(Math.random()*stop);<BR>xp=Math.round(Math.random()*sleft);<BR>document.all.rings.style.top=yp+document.body.scrollTop;<BR>document.all.rings.style.left=xp+document.body.scrollLeft;<BR>}<BR>if ((yp &lt; 80) || (xp &lt; 80))<BR>{<BR>yp+=80;<BR>xp+=80;<BR>}}}<BR>if (document.all)SmokeRing();<BR>// --&gt;<BR>&lt;/script&gt;</FONT><BR>

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

<form name="copy">
<textarea cols="40" name="txt" rows="4" style="BACKGROUND-COLOR:#ffffff; COLOR:#000000; FONT-SIZE:9pt">
<script language="JavaScript">
<!--
if (document.all){
kg=new Image();
kg.src="";
document.write('<span id="rings" style="position:absolute;top:0px;left:0px">'
+'<img src="http://bunbun000.com/image/07.gif" name="kg" style="position:relative"></span>');
var TimeLineTwo = 350
var TimeLineOne = 40;
var TimeLinethree = 100;
var xx=20
var xx2=100
var xx3=30
var time3=TimeLinethree/xx3
var time2=TimeLineTwo/xx2
var time1=TimeLineOne/xx
var ThreeStep = time3
var TwoStep =time2
var OneStep = time1
var xp = 100;
var yp = 100;
function SmokeRing(){
document.all.rings.document.images["kg"].style.filter='alpha(opacity='+TimeLinethree+')';
document.all.rings.document.images["kg"].style.top=yp + (-TimeLineOne);
document.all.rings.document.images["kg"].style.left=xp + (-TimeLineOne);
document.all.rings.document.images["kg"].width=TimeLineTwo;
document.all.rings.document.images["kg"].height=TimeLineTwo;
TimeLinethree-=ThreeStep;
TimeLineTwo+=TwoStep;
TimeLineOne+=OneStep;
setTimeout('SmokeRing()',50);
if ((TimeLineTwo > 280) || (TimeLineOne > 280) || (TimeLinethree < 0))
{TimeLineTwo=0;TimeLineOne=0;TimeLinethree=185;
stop=window.document.body.clientHeight-280;
sleft=window.document.body.clientWidth/2.5;
yp=Math.round(Math.random()*stop);
xp=Math.round(Math.random()*sleft);
document.all.rings.style.top=yp+document.body.scrollTop;
document.all.rings.style.left=xp+document.body.scrollLeft;
}
if ((yp < 80) || (xp < 80))
{
yp+=80;
xp+=80;
}}}
if (document.all)SmokeRing();
// -->
</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