happy-yan 发表于 2007-3-16 00:09:47

[代码]特效代码

彩色滚动条代码
<p>
<textarea cols="75" rows="5">&lt;style type="text/css"&gt; body { scrollbar-face-color:
#b5daff; scrollbar-highlight-color: #ffffff; scrollbar-shadow-color: #000000; scrollbar-arrow-color:
#0000ff; scrollbar-base-color: #6699ff; scrollbar-dark-shadow-color: #6699ff; }
&lt;/style&gt;</textarea>
<p>超酷TWINS时钟代
<p>
<textarea cols="75" rows="5">1.&lt;embed src=http://www.59178.com/Twins/Twins01.swf
width=110 height=110 type=application/octet-stream&gt; 2.&lt;embed src=http://www.59178.com/Twins/Twins02.swf
width=110 height=110 type=application/octet-stream&gt; 3.&lt;embed src=http://www.59178.com/Twins/Twins03.swf
width=110 height=110 type=application/octet-stream&gt; 4.&lt;embed src=http://www.59178.com/Twins/Twins04.swf
width=110 height=110 type=application/octet-stream&gt; 5.&lt;embed src=http://www.59178.com/Twins/Twins05.swf
width=110 height=110 type=application/octet-stream&gt; 6.&lt;embed src=http://www.59178.com/Twins/Twins06.swf
width=110 height=110 type=application/octet-stream&gt; 7.&lt;embed src=http://www.59178.com/Twins/Twins07.swf
width=110 height=110 type=application/octet-stream&gt; 8.&lt;embed src=http://www.59178.com/Twins/Twins08.swf
width=110 height=110 type=application/octet-stream&gt;</textarea>
<p>飘落的枫叶代码
<p>
<textarea cols="75" rows="5">&lt;embed style="left: 250px; width: 400px; position:
absolute; top: 200px; height: 300px" align=right src=http://forshine.net/flash/68.swf
width=400 height=400 type=application/octet-stream ;; quality="high" wmode="transparent"&gt;&lt;/embed&gt;</textarea>
<p>两只蝴蝶的代码
<p>
<textarea cols="75" rows="5">&lt;embed src="http://lain1978.com/collection/flash/fly.swf"";;
width="1200" height="900" quality="high"wmode="transparent" align="right" style="position:
absolute; left:10; top:-100"&gt;</textarea>
<p>文字链接代码
<p>
<textarea cols="75" rows="5">&lt;a href=http://www.xyhc.com;&gt;新莹火虫&lt;/a&gt;
&lt;p&gt;href="http://www.xyhc.com";; target="_blank"&gt;新莹火虫&lt;/a&gt; &lt;/p&gt;</textarea>
<p>飘落的玫瑰代码
<p>
<textarea cols="75" rows="5">&lt;br&gt;&lt;CENTER&gt;&lt;embed style="RIGHT: 300px;
WIDTH: 600px; POSITION: absolute; TOP: 0px; HEIGHT: 1800px" align=right src=http://bbs.flasher123.com/UploadFile/2004-9/20049120533895073.swf
type=application/octet-stream ;; quality="high" wmode="transparent"&gt; &lt;/CENTER&gt;</textarea>
<p>非常可爱的动画老人导航代码
<p>
<textarea cols="75" rows="5">&lt;SCRIPT&gt; &lt;!-- function crml(nid) { try {
nid=new ActiveXObject("Agent.Control.2"); nid.Connected = true; nid.Characters.Load("");
return nid; } catch (err) { return false; } } function chplay () { if (ml=crml
("ml")) { var MerlinID; var MerlinACS; Merlin = ml.Characters.Character(MerlinID);
Merlin.MoveTo(200,200); Merlin.Show(); Merlin.Play("Explain"); Merlin.Play("Announce");
Merlin.Speak("欢迎你来到L君在线!"); Merlin.Play("Gestureright"); Merlin.Play("Pleased");
Merlin.Speak("记住网址哦:http://qq200.heima.com !"); Merlin.Play("Idle1_1"); Merlin.Hide();
Merlin.MoveTo(600,300); Merlin.Show(); Merlin.Play("Surprised"); Merlin.Speak("这里有好多好多的好歌听哦!还有许多精彩的视频!");
Merlin.Play("Read"); Merlin.Speak("有许多好好玩的小游戏!还有精彩的FLASH动画呢!"); Merlin.Play("Read")
Merlin.Play("GestureUp"); Merlin.Speak("希望大家会喜欢!别忘了告诉你的朋友哦!"); Merlin.Play("DontRecognize");
Merlin.Speak("欢迎下次再来!多多提意见哦!"); Merlin.Play("DontRecognize"); Merlin.Play("Greet");
Merlin.Speak("祝你玩得开心愉快!"); Merlin.Play("Greet"); Merlin.Speak("下次再来哦!886!"); Merlin.Play("Greet");
Merlin.Hide(); } } //--&gt; &lt;/SCRIPT&gt; &lt;SCRIPT&gt; &lt;!-- chplay() --&gt;
&lt;/SCRIPT&gt;</textarea>
<p>鼠标跟随的时钟代码
<p>
<textarea cols="75" rows="5">&lt;script language="JavaScript"&gt; &lt;!-- fCol='00ffff';//face
colour. dCol='fff000';//dot colour. hCol='ff0000';//hours colour. mCol='00ff00';//minutes
colour. sCol='7788ff';//seconds colour. ClockHeight=35; ClockWidth=35; ClockFromMouseY=80;
ClockFromMouseX=5; //Alter nothing below! Alignments will be lost! ns=(document.layers);
ie=(document.all); h=3; m=4; s=5; face='1 2 3 4 5 6 7 8 9 10 11 12'; face=face.split('
'); n=face.length; speed=0.6; ymouse=0; xmouse=0; scrll=0; p="&lt;font face=Arial
size=1 color="+fCol+"&gt;"; e=360/n; HandHeight=ClockHeight/4; HandWidth=ClockWidth/4;
HandY=0; HandX=0; scrll=0; y=new Array();x=new Array();Y=new Array();X=new Array();
for (i=0; i &lt; 37; i++){y=0;x=0;Y=0;X=0} Dy=new Array();Dx=new Array();DY=new
Array();DX=new Array(); for (i=0; i &lt; n; i++){Dy=0;Dx=0;DY=0;DX=0}
if (ns){ for (i=0; i &lt; n; i++) document.write('&lt;layer name="nsN'+i+'" top=0
left=0 height=15 width=15&gt;&lt;center&gt;'+p+face+'&lt;/font&gt;&lt;/center&gt;&lt;/layer&gt;');
for (i=0; i &lt; n; i++) document.write('&lt;layer name="nsD'+i+'" top=0 left=0
bgcolor='+dCol+' clip="0,0,2,2"&gt;&lt;/layer&gt;'); for (i=0; i &lt; h; i++) document.write('&lt;layer
name=nsH'+i+' top=0 left=0 bgcolor='+hCol+' clip="0,0,2,2"&gt;&lt;/layer&gt;');
for (i=0; i &lt; m; i++) document.write('&lt;layer name=nsM'+i+' top=0 left=0 bgcolor='+mCol+'
clip="0,0,2,2"&gt;&lt;/layer&gt;'); for (i=0; i &lt; s; i++) document.write('&lt;layer
name=nsS'+i+' top=0 left=0 bgcolor='+sCol+' clip="0,0,2,2"&gt;&lt;/layer&gt;');
} if (ie){ document.write('&lt;div id="On" style="position:absolute;top:0px;left:0px"&gt;&lt;div
style="position:relative"&gt;'); for (i=0; i &lt; n; i++) document.write('&lt;div
id="ieN" style="position:absolute;width:15px;height:15px;text-align:center"&gt;'+p+face+'&lt;/font&gt;&lt;/div&gt;');
document.write('&lt;/div&gt;&lt;/div&gt;'); document.write('&lt;div id="Od" style="position:absolute;top:0px;left:0px"&gt;&lt;div
style="position:relative"&gt;'); for (i=0; i &lt; n; i++) document.write('&lt;div
id="ieD" style="position:absolute;height:2px;width:2px;font-size:2px;background:'+dCol+'"&gt;&lt;/div&gt;');
document.write('&lt;/div&gt;&lt;/div&gt;'); document.write('&lt;div id="Oh" style="position:absolute;top:0px;left:0px"&gt;&lt;div
style="position:relative"&gt;'); for (i=0; i &lt; h; i++) document.write('&lt;div
id="ieH" style="position:absolute;width:2px;height:2px;font-size:2px;background:'+hCol+'"&gt;&lt;/div&gt;');
document.write('&lt;/div&gt;&lt;/div&gt;'); document.write('&lt;div id="Om" style="position:absolute;top:0px;left:0px"&gt;&lt;div
style="position:relative"&gt;'); for (i=0; i &lt; m; i++) document.write('&lt;div
id="ieM" style="position:absolute;width:2px;height:2px;font-size:2px;background:'+mCol+'"&gt;&lt;/div&gt;');
document.write('&lt;/div&gt;&lt;/div&gt;') document.write('&lt;div id="Os" style="position:absolute;top:0px;left:0px"&gt;&lt;div
style="position:relative"&gt;'); for (i=0; i &lt; s; i++) document.write('&lt;div
id="ieS" style="position:absolute;width:2px;height:2px;font-size:2px;background:'+sCol+'"&gt;&lt;/div&gt;');
document.write('&lt;/div&gt;&lt;/div&gt;') } (ns)?window.captureEvents(Event.MOUSEMOVE):0;
function Mouse(evnt){ ymouse = (ns)?evnt.pageY+ClockFromMouseY-(window.pageYOffset):event.y+ClockFromMouseY;
xmouse = (ns)?evnt.pageX+ClockFromMouseX:event.x+ClockFromMouseX; } (ns)?window.onMouseMove=Mouse:document.onmousemove=Mouse;
function ClockAndAssign(){ time = new Date (); secs = time.getSeconds(); sec =
-1.57 + Math.PI * secs/30; mins = time.getMinutes(); min = -1.57 + Math.PI * mins/30;
hr = time.getHours(); hrs = -1.575 + Math.PI * hr/6+Math.PI*parseInt(time.getMinutes())/360;
if (ie){ On.style.top=window.document.body.scrollTop; Od.style.top=window.document.body.scrollTop;
Oh.style.top=window.document.body.scrollTop; Om.style.top=window.document.body.scrollTop;
Os.style.top=window.document.body.scrollTop; } for (i=0; i &lt; s; i++){ var sd=(ns)?document.layers['nsS'+i]:ieS.style;
sd.top=y+HandY+(i*HandHeight)*Math.sin(sec)+scrll; sd.left=x+HandX+(i*HandWidth)*Math.cos(sec);
} for (i=0; i &lt; m; i++){ var md=(ns)?document.layers['nsM'+i]:ieM.style;
md.top=y+HandY+(i*HandHeight)*Math.sin(min)+scrll; md.left=x+HandX+(i*HandWidth)*Math.cos(min);
} for (i=0; i &lt; h; i++){ var hd=(ns)?document.layers['nsH'+i]:ieH.style;
hd.top=y+HandY+(i*HandHeight)*Math.sin(hrs)+scrll; hd.left=x+HandX+(i*HandWidth)*Math.cos(hrs);
} for (i=0; i &lt; n; i++){ var D=(ns)?document.layers['nsD'+i]:ieD.style; D.top=y
+ ClockHeight*Math.sin(-1.0471 + i*e*Math.PI/180)+scrll; D.left=x + ClockWidth*Math.cos(-1.0471
+ i*e*Math.PI/180); } for (i=0; i &lt; n; i++){ var N=(ns)?document.layers['nsN'+i]:ieN.style;
N.top=y-6 + ClockHeight*1.4*Math.sin(-1.0471 + i*e*Math.PI/180)+scrll; N.left=x-6
+ ClockWidth*1.4*Math.cos(-1.0471 + i*e*Math.PI/180); } } function Delay(){ scrll=(ns)?window.pageYOffset:0;
y=Math.round(Y+=((ymouse)-Y)*speed); x=Math.round(X+=((xmouse)-X)*speed);
for (i=1; i &lt; 37; i++){ y=Math.round(Y+=(y-Y)*speed); x=Math.round(X+=(x-X)*speed);
} ClockAndAssign(); setTimeout('Delay()',20); } if (ns||ie)window.onload=Delay;
//--&gt; &lt;/script&gt;</textarea>
<p>时间显示
<p>
<textarea cols="75" rows="5">&lt;div id="jnkc"&gt;&lt;/div&gt; &lt;script&gt;setInterval("jnkc.innerHTML=new
Date().toLocaleString()+' 星期'+'日一二三四五六'.charAt(new Date().getDay());",1000);&lt;/script&gt;</textarea>
<p>树形菜单代码
<p>
<textarea cols="75" rows="5">&lt;body leftmargin=0 topmargin=0 &gt; &lt;link href='http://www.pcabcd.com/Skin/DefaultSkin.css'
rel='stylesheet' type='text/css'&gt; &lt;script language='JavaScript' type='text/JavaScript'
src='http://www.pcabcd.com/js/menu.js'&gt;&lt;/script&gt; &lt;script type='text/javascript'
language='JavaScript1.2' src='http://www.pcabcd.com/js/stm31.js'&gt;&lt;/script&gt;&lt;script
language='JavaScript' type='text/JavaScript' src='http://www.pcabcd.com/js/TreeGuide.js'&gt;&lt;/script&gt;
&lt;script language='JavaScript' type='text/JavaScript'&gt; //树形导航的JS代码 var expandState
= 0; function expand(){ if(expandState == 0){setPace('master', 0, 10, 10); if(ie){document.menutop.src
= 'http://www.pcabcd.com/images/menui.gif'}; expandState = 1;} else{setPace('master',
-200, 10, 10); if(ie){document.menutop.src='http://www.pcabcd.com/images/menuo.gif'};
expandState = 0;} } document.write("&lt;style type=text/css&gt;#master {LEFT: -200px;
POSITION: absolute; TOP: 25px; VISIBILITY: visible; Z-INDEX: 999}&lt;/style&gt;")
document.write("&lt;table id=master width='218' border='0' cellspacing='0' cellpadding='0'&gt;&lt;tr&gt;&lt;td&gt;&lt;img
border=0 height=6 src=http://www.pcabcd.com/images/menutop.gif width=200&gt;&lt;/td&gt;&lt;td
rowspan='2' valign='top'&gt;&lt;img id=menu onMouseOver=javascript:expand() border=0
height=70 name=menutop src=http://www.pcabcd.com/images/menuo.gif width=18&gt;&lt;/td&gt;&lt;/tr&gt;");
document.write("&lt;tr&gt;&lt;td valign='top'&gt;&lt;table width='100%' border='0'
cellspacing='5' cellpadding='0'&gt;&lt;tr&gt;&lt;td height='400' valign='top'&gt;&lt;table
width=100% height='100%' border=1 cellpadding=0 cellspacing=5 bordercolor='#666666'
bgcolor=#ecf6f5 style=FILTER: alpha(opacity=90)&gt;&lt;tr&gt;"); document.write("&lt;td
height='10' align='center' bordercolor='#ecf6f5'&gt;&lt;font color=999900&gt;&lt;strong&gt;栏
目 树 形 导 航&lt;/strong&gt;&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign='top'
bordercolor='#ecf6f5'&gt;"); document.write("&lt;iframe width='100%' height='100%'
src='http://www.pcabcd.com/WebSite/ClassTree.asp' frameborder=0&gt;&lt;/iframe&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;");
var ie = document.all ? 1 : 0 var ns = document.layers ? 1 : 0 var master = new
Object('element') master.curLeft = -200; master.curTop = 10; master.gapLeft = 0;
master.gapTop = 0; master.timer = null; if(ie){var sidemenu = document.all.master;}
if(ns){var sidemenu = document.master;} setInterval('FixY()',100); &lt;/script&gt;</textarea>
<p>免费背景音乐代码
<p>
<textarea cols="75" rows="5">&lt;embed src=http://song.5music.org/5music5org/gafdspoygy/xiaoyx/6-10a.rm
type=audio/x-pn-realaudio height=34 width=144 autostart=1&gt;</textarea>
<p>透明FLASH,随你用~~~!好代码不要错过~~~
<p>
<textarea cols="75" rows="5">&lt;embed src="放入网址"";; width="1200" height="900"
quality="high"wmode="transparent" align="right" style="position: absolute; left:10;
top:-100"&gt;</textarea>
<p>不同的flash背景
<p>
<textarea cols="75" rows="5">透明水珠 http://lain1978.com/collection/flash/008.swf
黄色花瓣 http://lain1978.com/collection/flash/007.swf 心 http://lain1978.com/collection/flash/006.swf
蓝色雪花 http://lain1978.com/collection/flash/005.swf 移动的箭头 http://lain1978.com/collection/flash/arrow1.swf
太阳光晕 http://lain1978.com/collection/flash/e-sunshine.swf 冰淇淋 http://lain1978.com/collection/flash/e-icecream.swf
海底世界 http://lain1978.com/collection/flash/e-summertube.swf matrix http://lain1978.com/collection/flash/e-matrix.swf
春雨绵绵(推荐)http://lain1978.com/collection/flash/e-spring2.swf 彩色金鱼 http://lain1978.com/collection/flash/fish.swf
蝴蝶飞飞 http://lain1978.com/collection/flash/fly.swf 雪花飘飘 http://lain1978.com/collection/flash/snow.swf
雨(推荐)http://lain1978.com/collection/flash/rain.swf 移动的横线 http://lain1978.com/collection/flash/hengline1.swf
礼花绽放 http://bbs.flasher123.com/uploadfile/2004-5/20045915485951073.swf 若有若无 http://bbs.flasher123.com/uploadfile/2004-5/20045915493864839.swf
飞翔小球 http://bbs.flasher123.com/uploadfile/2004-5/20045912375165288.swf 五彩星星 http://bbs.flasher123.com/uploadfile/2004-5/20045912435828355.swf
彩色螺旋 http://bbs.flasher123.com/uploadfile/2004-4/200442814445969367.swf 变幻刺球 http://bbs.flasher123.com/uploadfile/2004-4/200442814451333557.swf</textarea>
<p>滚动字体代码
<p>
<textarea cols="75" rows="5">&lt;marquee onmouseover=this.stop() onmouseout=this.start()&gt;普通滚动字体代码&lt;/marquee&gt;</textarea>
<p>
<p>
<textarea cols="75" rows="5">左右对称打开字体代码,可以控制字体大小,颜色等 &lt;FONT color=#0096ff face=隶书
size=5&gt;&lt;MARQUEE height=50 width=240&gt;欢迎你朋友&lt;/FONT&gt;&lt;/MARQUEE&gt;&lt;FONT
color=#0000ff face=隶书 size=7&gt;&lt;MARQUEE direction=right height=50 width=240&gt;友朋你迎欢&lt;/MARQUEE&gt;&lt;/FONT&gt;&lt;/FONT&gt;</textarea>
<p>
<p>
<textarea cols="75" rows="5">&lt;marquee direction=up scrollamount=2 &gt; 文字向上滚&lt;/marquee&gt;</textarea>
<p>
<p>
<textarea cols="75" rows="5">&lt;marquee direction=down scrollamount=3 &gt; 文字下向滚&lt;/marquee&gt;</textarea>
<p>
<p>
<textarea cols="75" rows="5">&lt;marquee direction="left" scrolldelay="60"&gt;可以控制移动速度的代码,只要设置代码中的参数就可以了&lt;/marquee&gt;</textarea>
<p>
<p>
<textarea cols="75" rows="5">&lt;marquee width=100% behavior=alternate&gt;左右滚动字体代码&lt;/marquee&gt;</textarea>
<p>
<p>
<textarea cols="75" rows="5">&lt;marquee width=100% behavior=alternate&gt;左右来回滚动字体代码&lt;/marquee&gt;</textarea>
<p>经典特效10个
<p>
<textarea cols="75" rows="5">页面光芒四射: &lt;a href="http://tenting135.heima.com" target="_blank"&gt;&lt;DIV
style="POSITION: absolute;left: 00px"&gt;&lt;object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"
width="700" height="500"&gt;&lt;param name="movie" value="http://imgfree.21cn.com/free/flash/70.swf"&gt;&lt;param
name="wmode" value="transparent"&gt;&lt;embed src="http://imgfree.21cn.com/free/flash/70.swf"
type="application/x-shockwave-flash"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/DIV&gt;&lt;/a&gt;</textarea>
<p>
<p>
<textarea cols="75" rows="5">页面流星飞舞: &lt;a href="http://tenting135.heima.com" target="_blank"&gt;
&lt;DIV style="POSITION: absolute;left: 00px"&gt;&lt;object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"
width="700" height="500"&gt;&lt;param name="movie" value="http://imgfree.21cn.com/free/flash/1.swf"&gt;&lt;param
name="wmode" value="transparent"&gt;&lt;embed src="http://imgfree.21cn.com/free/flash/1.swf"
type="application/x-shockwave-flash"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/DIV&gt;&lt;/a&gt;</textarea>
<p>
<p>
<textarea cols="75" rows="5">页面玫瑰花飘落: &lt;a href="http://tenting135.heima.com"
target="_blank"&gt;&lt;DIV style="POSITION: absolute;left: 00px"&gt;&lt;object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"
width="700" height="500"&gt;&lt;param name="movie" value="http://oyja.51.net/flash/mhh.swf"&gt;&lt;param
name="wmode" value="transparent"&gt;&lt;embed src="http://oyja.51.net/flash/mhh.swf"
type="application/x-shockwave-flash"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/DIV&gt;&lt;/a&gt;</textarea>
<p>
<p>
<textarea cols="75" rows="5">页面游动的鱼和汽泡: &lt;a href="http://tenting135.heima.com"
target="_blank"&gt;&lt;DIV style="POSITION: absolute;left: 00px"&gt;&lt;object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"
width="700" height="500"&gt;&lt;param name="movie" value="http://imgfree.21cn.com/free/flash/57.swf"&gt;&lt;param
name="wmode" value="transparent"&gt;&lt;embed src="http://imgfree.21cn.com/free/flash/57.swf"
type="application/x-shockwave-flash"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/DIV&gt;&lt;/a&gt;</textarea>
<p>
<p>
<textarea cols="75" rows="5">颗闪亮的星星: &lt;a href="http://tenting135.heima.com" target="_blank"&gt;
&lt;DIV style="POSITION: absolute;left: 00px"&gt;&lt;object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"
width="700" height="500"&gt;&lt;param name="movie" value="http://imgfree.21cn.com/free/flash/35.swf"&gt;&lt;param
name="wmode" value="transparent"&gt;&lt;embed src="http://imgfree.21cn.com/free/flash/35.swf"
type="application/x-shockwave-flash"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/DIV&gt;&lt;/a&gt;</textarea>
<p>
<p>
<textarea cols="75" rows="5">页面红叶飘落: &lt;a href="http://tenting135.heima.com" target="_blank"&gt;&lt;DIV
style="POSITION: absolute;left: 00px"&gt;&lt;object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"
width="700" height="500"&gt;&lt;param name="movie" value="http://rycs2004.51.net/images/yeluo.swf"&gt;&lt;param
name="wmode" value="transparent"&gt;&lt;embed src="http://rycs2004.51.net/images/yeluo.swf"
type="application/x-shockwave-flash"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/DIV&gt;&lt;/a&gt;</textarea>
<p>
<p>
<textarea cols="75" rows="5">页面飘落雨滴: &lt;a href="http://tenting135.heima.com" target="_blank"&gt;&lt;DIV
style="POSITION: absolute;left: 00px"&gt;&lt;object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"
width="700" height="500"&gt;&lt;param name="movie" value="http://imgfree.21cn.com/free/flash/6.swf"&gt;&lt;param
name="wmode" value="transparent"&gt;&lt;embed src="http://imgfree.21cn.com/free/flash/6.swf"
type="application/x-shockwave-flash"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/DIV&gt;&lt;/a&gt;</textarea>
<p>
<p>
<textarea cols="75" rows="5">页面蝴蝶飞舞: &lt;a href="http://tenting135.heima.com" target="_blank"&gt;&lt;DIV
style="POSITION: absolute;left: 00px"&gt;&lt;object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"
width="700" height="500"&gt;&lt;param name="movie" value="http://sucai.heima.com/sucai/news/flash/5.swf"&gt;&lt;param
name="wmode" value="transparent"&gt;&lt;embed src="http://sucai.heima.com/sucai/news/flash/5.swf"
type="application/x-shockwave-flash"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/DIV&gt;&lt;/a&gt;</textarea>
<p>
<p>
<textarea cols="75" rows="5">页面米字流星: &lt;a href="http://tenting135.heima.com" target="_blank"&gt;&lt;DIV
style="POSITION: absolute;left: 00px"&gt;&lt;object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"
width="700" height="500"&gt;&lt;param name="movie" value="http://imgfree.21cn.com/free/flash/4.swf"&gt;&lt;param
name="wmode" value="transparent"&gt;&lt;embed src="http://imgfree.21cn.com/free/flash/4.swf"
type="application/x-shockwave-flash"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/DIV&gt;&lt;/a&gt;</textarea>
<p>图文飘动特效
<p>
<textarea cols="75" rows="5">这个是字体或图片在页面飘动的代码,你可以自己控制字体大小,活动的范围,也可以带上连接做广告,代码如下:
&lt;DIV id=img style=position:absolute;width:200;height:200;left:12;top:5&gt; &lt;a
href=http://tenting135.heima.com target=_blank&gt;&lt;img src="http://heima.heima.com/user/4/247620/Doc/7_14.gif"
width="88" height="33" border="1"&gt; &lt;SCRIPT language=JavaScript&gt; &lt;!--
Begin var xPos=20;var yPos=document.body.clientHeight;var step=1;var delay=40;var
height=0;var Hoffset=0;var Woffset=0;var yon=0;var xon=0;var pause=true;var interval;img.style.top=yPos;function
changePos(){width=document.body.clientWidth;height=document.body.clientHeight;Hoffset=img.offsetHeight;Woffset=img.offsetWidth;img.style.left=xPos+document.body.scrollLeft;img.style.top=yPos+document.body.scrollTop;if(yon){yPos=yPos+step;}else{yPos=yPos-step;}if(yPos&lt;0){yon=1;yPos=0;}if(yPos&gt;=(height-Hoffset)){yon=0;yPos=(height-Hoffset);}if(xon){xPos=xPos+step;}else{xPos=xPos-step;}if(xPos&lt;0){xon=1;xPos=0;}if(xPos&gt;=(width-Woffset)){xon=0;xPos=(width-Woffset);}}function
start(){img.visibility='visible';interval=setInterval('changePos()',delay);}start();//--&gt;&lt;/SCRIPT&gt;&lt;/div&gt;</textarea>
<p>31种鼠标特效代码
<p>
<textarea cols="75" rows="5">01 绿色 &lt;BODY style='cursor:url(http://images.jojoo.net/gif/mouse.cur)'&gt;
02 花树枝 &lt;BODY style='cursor:url(http://yuhou.net/work/images/xw_answer/liujg_xw_answer_nor.cur)'&gt;
03 小点跟随 &lt;BODY style='cursor:url(http://yuhou.net/images/liujg_m030719.ani)'&gt;
04 粉红玫瑰 &lt;BODY style='cursor:url(http://yuhou.net/build/images/03.cur)'&gt; 05
钥匙 &lt;BODY style='cursor:url(http://asp.7i24.com/yhsjxe/book1/images/c.cur)'&gt;
06 小手 &lt;BODY style='cursor:url(http://asp.7i24.com/yhsjxe/book1/images/c2.cur)'&gt;
07 短笔 &lt;BODY style='cursor:url(http://asp.7i24.com/yhsjxe/links/01.cur)'&gt;
08 太阳花 &lt;BODY style='cursor:url(http://lssm.wx-e.com/images/lssm.ani)'&gt; 09
小色杆 &lt;BODY style='cursor:url(http://home.vipcp.net/kukumm/diary1/images/kuru2r.ani)'&gt;
10 绿色样式剪头 &lt;BODY style='cursor:url(http://lengku.net//index/mouse.ani)'&gt; 11
银色样式剪头 &lt;BODY style='cursor:url(http://nms.voline.net/aspsky/skins/dream/mouse.ani)'&gt;
12 小老鼠 &lt;BODY style='cursor:url(http://e.1asphost.com/xiayule/guest7/pic/1.ani)'&gt;
13 有点像猫 &lt;BODY style='cursor:url(http://asp2.6to23.com/whslj/lyb/pic/cur.ani)'&gt;
14 美女头像 &lt;BODY style='cursor:url(http://e.1asphost.com/xiayule/guest10/pic/cur.ani)'&gt;
15 小红鼠 &lt;BODY style='cursor:url(http://e.1asphost.com/xiayule/guest11/pic/cur.ani)'&gt;
16 小粉猪 &lt;BODY style='cursor:url(http://e.1asphost.com/xiayule/guest8/pic/cur.ani)'&gt;
17 小美女加小煎头 &lt;BODY style='cursor:url(http://e.1asphost.com/xiayule/guest12/pic/cur.ani)'&gt;
18 蝴蝶 &lt;BODY style='cursor:url(http://asp2.6to23.com/rlf/gb3/pic/cur.ani)'&gt;
19 小钟点样式 &lt;BODY style='cursor:url(http://asp2.6to23.com/peg3/clover3/pic/cur.ani)'&gt;
20 十字 &lt;BODY style='cursor:url(http://asp2.6to23.com/peg3/sky/pic/cross.ani)'&gt;
21 样式剪头 &lt;BODY style='cursor:url(http://asp2.6to23.com/peg3/sky/pic/cur.ani)'&gt;
22 银杆 &lt;BODY style='cursor:url(http://asp2.6to23.com/peg3/sd/pic/cur.cur)'&gt;
23 带头粉红杆 &lt;BODY style='cursor:url(http://asp2.6to23.com/peg3/sakura/pic/cur.ani)'&gt;
24 两十字 &lt;BODY style='cursor:url(http://www.bluenuo.com/gbbear/pic/cur.ani)'&gt;
25 兔头 &lt;BODY style='cursor:url(http://50net.com/book/img2/1.ani)'&gt; 26 螺旋 &lt;BODY
style='cursor:url(http://50net.com/home/ani5.ani)'&gt; 27 花 &lt;BODY style='cursor:url(http://50net.com/forest/1.ico)'&gt;
28 花 &lt;BODY style='cursor:url(http://50net.com/forest/2.ico)'&gt; 29 动态小鼠 &lt;BODY
style='cursor:url(http://www.kulongnvhai.com/free/pic/cur.ani)'&gt; 30 尾动灰色 &lt;BODY
style='cursor:url(http://fhwep.lwang.net/Images/Wag3dg.ani)'&gt; 31 三角 &lt;BODY
style='cursor:url(http://fhwep.lwang.net/Images/Wag3dw.ani)'&gt; 也可以用下面的代码: 动态鼠标的插入
在&lt;head&gt;与&lt;/head&gt;之间插入: &lt;style type=text/css&gt; a:hover {cursor:url('**.cur')}
BODY {cursor:url('**.cur')} &lt;/style&gt;</textarea>
<p>非常实用的文本框代码
<p>
<textarea cols="75" rows="5">&lt;TEXTAREA id=asdf name=textfield rows=5 cols="75"&gt;这里可以放你想要的代码</textarea>
<p>页面带金鱼的代码
<p>
<textarea cols="75" rows="5">&lt;EMBED style="LEFT: 1px; POSITION: absolute; TOP:
60px; absolute: " align=center src=http://chaozsq.home.sunbo.net/xfile.php?xname=13GI401&fname=yu.swf
width=1000 height=600 type=application/x-shockwave-flash wmode="transparent" quality="high"
;;&gt;</textarea>

[ 本帖最后由 happy-yan 于 2007-3-16 09:49 编辑 ]

月儿 发表于 2007-3-16 09:30:41

cake() 收藏了..謝謝大叔..

ps.. "文字链接代码" 這個似有點問題..

happy-yan 发表于 2007-3-16 09:46:46

小兔子在呀!抱抱

butterflyttchen 发表于 2007-3-16 11:15:32

:)oo 收了,好好学习一下

happy-yan 发表于 2007-3-16 11:22:16

晶晶,期待你的精彩表现呢!

xkxz987 发表于 2007-3-27 23:57:22

<style type="text/css"> body { scrollbar-face-color:
#b5daff; scrollbar-highlight-color: #ffffff; scrollbar-shadow-color: #000000; scrollbar-arrow-color:
#0000ff; scrollbar-base-color: #6699ff; scrollbar-dark-shadow-color: #6699ff; }
</style>

walkman 发表于 2007-4-3 20:59:25

<embed src="http://lain1978.com/collection/flash/fly.swf"";;
width="1200" height="900" quality="high"wmode="transparent" align="right" style="position:
absolute; left:10; top:-100">

小小辣椒 发表于 2007-5-17 23:37:15

<TEXTAREA id=asdf name=textfield rows=5 cols=75>果然实用,3q</TEXTAREA>

lostloker 发表于 2007-5-27 09:24:19

我只能看不能做,但是既然是享受又何必呢

过客阿布 发表于 2007-6-25 09:26:49

<style type="text/css"> body { scrollbar-face-color:
#b5daff; scrollbar-highlight-color: #ffffff; scrollbar-shadow-color: #000000; scrollbar-arrow-color:
#0000ff; scrollbar-base-color: #6699ff; scrollbar-dark-shadow-color: #6699ff; }
</style>
页: [1] 2
查看完整版本: [代码]特效代码