首先是最最基本的几个代码:
加入视频
</textarea><embed src=http://你的MV视频来源地址 type=audio/x-pn-realaudio-plugin console=clip1 controls=ImageWindow height=210 width=290 autostart=ture loop=ture>

以上是MV的代码   height=210 width=290 表示播放器大小  

autostart=false 表示是否重复播放   false 否   ture 是

loop=false   表示是否自动播放 false 否   ture 是


贴FLASH
</textarea>
<EMBED align=middle src=FLASH的位置
width=400 height=350 type=application/x-shockwave-flash>


透明FLASH
</textarea><embed src=FLASH的位置 wmode=transparent style="position: absolute" width=380 height=270>


加入图片
</textarea><IMG src="http://你的图片地址" border=" " width="745" height="75">
⒈   不用播放器也能无限放歌曲!下面代码就是,不用播放器也能无限播放音乐代码`  
<iframe name="I1" src="
http://biz.cnhoo.com/wz/test/Edikongjian_yinyue.htm" width="1" height="1">  
</iframe>   上面的这个网址你不用改的 直接加到备注里就ok

⒉   走马灯 (就是会来回走的字)
<marquee width="157" height="21">欢迎光临`</marquee>  

⒊ 把整个网站加入空间的界面
<iframe name="I1" src="http://网站地址" width="852" height="1440">  
</iframe>  
 

 

② 背景音乐代码 [代码中的音乐地址就是网上以.mp3/.midi/.wma/.wmv结尾的网址]  
显示播放器  
</textarea><embed src=http://你的音乐地址>  
不显示播放器   </textarea><embed src=http://你的音乐地址 width="0" height="0" loop="999">  

③ 视频MTV代码   [代码中的视频文件地址就是网上以.rm结尾的网址]   (播放器的大小可以自己调整代码中的数值,只需改height =“高度”,width =“宽度”)  
</textarea>  
<embed src= http://你的视频文件地址 type=audio/x-pn-realaudio-plugin console=clip1 controls=ImageWindow height=124 width=180 autostart=true loop=true><br>  

④ 电台代码   [代码中的电台地址就是网上以.asp结尾的网址]  
</textarea>  
<embed src= http://你的电台地址 type=audio/x-pn-realaudio-plugin console=clip1 controls=ImageWindow height=124 width=180 autostart=true loop=true><br>  

⑤ 修改字体和颜色 (变换字体颜色只需替换color = 后面的代码,好看的字体颜色有: #ff1493 #228b22 #4169e1 #9400d3 #ff0000 #daa520)  
</textarea><b><font face=华文行楷 size=5 color=#ff0000>要修改字体和颜色的字</font></b>  

⑥ 插入图片 [代码中的图片地址就是网上以.jpg/.bmp/.gif结尾的网址]  
</textarea><img src="http://你的图片地址" border="0" width="344" height="255">  

(此条代码QQ空间里可以用,上面那条暂不可用)  

⑦ 插入表格
</textarea><table border="2" width="340" bordercolor="#0000ff" bgcolor="#cococo">  

<tr> <td width="100%"> <p align="center"> </td> </tr> </table></tex:area>  

⑧ 插入超链接   (请注意:如果该链接为恶意链接的话,腾讯会自动屏蔽,请大家不要乱用)  
</textarea>点击<a href='http://你要链接的地址' target='_blank'>文字说明</a>  

⑨ 插入Flash特效   [代码中的Flash特效地址就是网上以.swf结尾的网址
</textarea><embed src=http://你的Flash特效地址 wmode=transparent style="position: absolute" width=380 height=270>  
 
下面是个人收藏的一些透明FLASH  
透明水珠
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/Upload ... 442814445969367.swf  
变幻刺球
http://bbs.flasher123.com/Upload ... 442814451333557.swf  
窗外树枝
http://kisetu.chu.jp/flash/sinryoku/sinryoku01.swf  
绿枝白云
http://kisetu.chu.jp/flash/sinryoku/sinryoku02.swf  
落花青山
http://kisetu.chu.jp/flash/nanohana/nanohana.swf  
山和花云
http://kisetu.chu.jp/flash/sakura/sakura1.swf  
浮云流水
http://kisetu.chu.jp/flash/sakura/sakura2.swf  
欢迎welcome
http://kisetu.chu.jp/flash/0205/0205_2.swf  
泳装美人
http://www.nice.or.jp/~mosmos/free/f703.swf  
飘雪寒冬
http://www.nice.or.jp/~mosmos/free/f903.swf  
蛋蛋小人
http://www.nice.or.jp/~mosmos/nice_topic/hinamaturi.swf  
白鹅戏水
http://www.nice.or.jp/~mosmos/nice_topic/hakucho.swf  
梦飞女孩
http://www.nice.or.jp/~mosmos/free/f110.swf  
落叶女孩
http://www.nice.or.jp/~mosmos/free/f111.swf  
芦苇女人
http://www.nice.or.jp/~mosmos/free/f105.swf  
静静等候
http://www.nice.or.jp/~mosmos/free/f102.swf  
静谧夜空
http://www.nice.or.jp/~mosmos/free/f101.swf  
骑车女孩
http://www.nice.or.jp/~mosmos/free/f601.swf  
鱼戏莲叶
http://zqbbs.netsh.com/usr/12/12_191_15.swf  

图片来回移动:
<marquee width="280" height="271"><img src="
http://photoimg16.qq.com/cgi-bin/load_pic?verify=hZrNq73L%2BVECm5Kk6GEUvQ%3D%3D"><img src="http://photoimg16.qq.com/cgi-bin/load_pic?verify=DVCEqx037eh3hWvSSd9jrw%3D%3D"><img src="http://photoimg19.qq.com/cgi-bin/load_pic?verify=LWlgw6P3NF1AKR%2FSN%2Bc4rA%3D%3D"><img src="http://photoimg17.qq.com/cgi-bin/load_pic?verify=aMkiiVvyux3MyVt%2FkPOWfg%3D%3D"><img src="http://photoimg17.qq.com/cgi-bin/load_pic?verify=dvg9uS7iCDxRNzboHRDWjg%3D%3D">
<img src="
http://photoimg17.qq.com/cgi-bin/load_pic?verify=YeNpUh0EHC39Pu1ZEeiYcA%3D%3D></marquee>


自动换皮肤代码
<img src="" onload="document.getElementById('Mlogo').style;document.getElementById('all').style.background='url()';" style="display:none;">

点击更换皮肤(现在代码长度有限制,自己缩减)
<FIELDSET><LEGEND><FONT color=#DA70D6><B>QQ空间换风格↓</B></FONT></LEGEND><A onmouseover="this.style.color='#5588dd';" style="FONT-WEIGHT: bold; COLOR: #5588dd; TEXT-DECORATION: none" onclick="document.getElementById('Mlogo').style.background='url(
http://photoimg16.qq.com/cgi-bin ... Tz0XFR9xb9jg%3D%3D)';document.getElementById('all').style.background='url(http://photoimg19.qq.com/cgi-bin ... Q5H1iROVANog%3D%3D)';" onmouseout="this.style.color='#3355bb';" href="http://q-zone.qq.com/client/?uin=407736391#">→粉红情人</A> <A onmouseover="this.style.color='#5588dd';" style="FONT-WEIGHT: bold; COLOR: #3355bb; TEXT-DECORATION: none" onclick="document.getElementById('Mlogo').style.background='url(http://photoimg19.qq.com/cgi-bin ... wQJu5cBlsgJQ%3D%3D)';document.getElementById('all').style.background='url(http://photoimg17.qq.com/cgi-bin ... KIA5kXj9Crog%3D%3D)';" onmouseout="this.style.color='#3355bb';" href="http://q-zone.qq.com/client/?uin=407736391#">骷髅墓地</A> <A onmouseover="this.style.color='#5588dd';" style="FONT-WEIGHT: bold; COLOR: #3355bb; TEXT-DECORATION: none" onclick="document.getElementById('Mlogo').style.background='url(http://photoimg16.qq.com/cgi-bin ... mi%2BJxh5QEg%3D%3D)';document.getElementById('all').style.background='url(http://photoimg16.qq.com/cgi-bin ... Pq2kvSREgGsw%3D%3D)';" onmouseout="this.style.color='#3355bb';" href="http://q-zone.qq.com/client/?uin=407736391#">紫玫瑰girl←</A></FONT></A>


随便宣传下我自己做的皮肤
FIELDSET><LEGEND><FONT color=#DA70D6><B>自制QQ空间皮肤↓</B></FONT></LEGEND><A onmouseover="this.style.color='#5588dd';" style="FONT-WEIGHT: bold; COLOR: #5588dd; TEXT-DECORATION: none" onclick="document.getElementById('Mlogo').style.background='url(
http://photoimg16.qq.com/cgi-bin ... Tz0XFR9xb9jg%3D%3D)';document.getElementById('all').style.background='url(http://photoimg22.qq.com/cgi-bin ... 0W9gcA1eHoug%3D%3D)';" onmouseout="this.style.color='#3355bb';" href="http://q-zone.qq.com/client/?uin=120111319#">→兰色のBoA</A></FONT></A>


导航小人以及右下角出现图片的代码:

<HTML>
<HEAD><TITLE>世界の片隅で</TITLE>
<BODY oncontextmenu=self.event.returnValue=false>
<SCRIPT>
var oPopup = window.createPopup();
var popTop=50;
function popmsg(msgstr){
var winstr="<table style=\"border: 1 solid #000000\" width=\"230\" height=\"176\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" background=\"\" >";
winstr+="<tr><td height=\"30\"> </td></tr><tr><td align=\"center\"><table width=\"90%\" height=\"110\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">";
winstr+="<tr><td valign=\"top\" style=\"font-size:12px; color: #ffffff; face: Tahoma\">"+msgstr+"</td></tr></table></td></tr></table>";
oPopup.document.body.innerHTML = winstr;
popshow();
}
function popshow(){
window.status=popTop;
if(popTop>1720){
clearTimeout(mytime);
oPopup.hide();
return;
}else if(popTop>1520&&popTop<1720){
oPopup.show(screen.width-250,screen.height,241,1720-popTop);
}else if(popTop>1500&&popTop<1520){
oPopup.show(screen.width-250,screen.height+(popTop-1720),241,172);
}else if(popTop<180){
oPopup.show(screen.width-250,screen.height,241,popTop);
}else if(popTop<220){
oPopup.show(screen.width-250,screen.height-popTop,241,172);
}
popTop+=10;
var mytime=setTimeout("popshow();",100);
}
popmsg("   <P><FONT color=#09f709>欢迎光临世界の片隅で!<P>觉得喜欢的话有空常来哦~</FONT> ");
</SCRIPT>
</body>
<SCRIPT>
<!--
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("欢迎光临世界の片隅で^o^!");
Merlin.Play("Gestureright");
Merlin.Play("Pleased");
Merlin.Speak("我的空间是不是很不错啊");
Merlin.Play("Idle1_1");
Merlin.Hide();
Merlin.MoveTo(600,300);
Merlin.Show();
Merlin.Play("Surprised");
Merlin.Speak("四处看看!我的空间很特色的哦");
Merlin.Play("Read");
Merlin.Speak("帮忙灌下水哦~~");
Merlin.Play("Read")
Merlin.Play("GestureUp");
Merlin.Speak("请带走你喜欢的,留下您善意的脚印");
Merlin.Play("DontRecognize");
Merlin.Speak("感谢您的到来!");
Merlin.Play("DontRecognize");
Merlin.Play("Greet");
Merlin.Speak("88!以后常来哦~ ");
Merlin.Hide();
}
}
//-->
  </SCRIPT>

<SCRIPT>
<!--
chplay()
-->
</SCRIPT>

<SCRIPT language=JavaScript><!--

function getCookieVal(offset)

 

{var endstr=document.cookie.indexOf(";",offset);if(endstr==-1)

 

endstr=document.cookie.length;return unescape(document.cookie.substring(offset,endstr));}function GetCookie(name)

 

{var arg=name+"=";var alen=arg.length;var clen=document.cookie.length;var i=0;while(i<clen)

 

{var j=i+alen;if(document.cookie.substring(i,j)==arg)

 

return getCookieVal(j);i=document.cookie.indexOf(" ",i)+1;if(i==0)

 

break;

 

}return null;}function SetCookie(name,value)

 

{var argv=SetCookie.arguments;var argc=SetCookie.arguments.length;var expires=(2<argc)?argv[2]:null;var path=(3<argc)?argv[3]:null;var domain=(4<argc)?argv[4]:null;var secure=(5<argc)?argv[5]:false;document.cookie=name+"="+escape(value)+((expires==null)?"":("; expires="+expires.toGMTString()))+((path==null)?"":("; path="+path))+((domain==null)?"":("; domain="+domain))+((secure==true)?"; secure":"");}function ResetCounts(name)

 

{visits=0;SetCookie("visits",visits,expdate,"/",null,false);location.reload();}

//-->

 

</SCRIPT>
</HEAD>
</body>
</html>
兰色部分是右下角图片的代码,其中红色部分是可以改动的地方,大家可以用网络上的图片把那个连接改成你喜欢的图片(推荐用BOA的,最BOA)欢迎光临世界の片隅で!<P>觉得喜欢的话有空常来哦~是你可以写上图片上的字,自己可以改掉,color=#09f709是字的颜色代码,可以改,<p>是换行符号,世界の片隅で是我空间的名字大家不要再给我做广告了,呵呵我人品多好``

后面不是兰色的部分是导航老人代码,那些句子可以自己改,别忘记后面的",老人的动作也可以改,动作列表点这里http://bbs.51soft.com/viewthread.php?tid=328963

最后一定一定记得把你写好的代码复制到记事本,把记事本保存到网络上,并获取网络地址,在空间新建一个板块把下面代码插进去
<iframe id="main" name="I8" frameBorder="0" width="0" scrolling="no" height="0" src="刚才那个记事本的网络地址"></iframe>


百度搜索代码
<iframe id="baiduframe" border="0" vspace="0" hspace="0" marginwidth="0" marginheight="0"
framespacing="0" frameborder="0" scrolling="no" width="700" height="50"
src="
http://unstat.baidu.com/bdun.bsc?tn=xinbi164&csid=1&rkcs=0&bgcr=E2EEFC&ftcr=003366&wd=700&ht=50&tbsz=12&sropls=1,4,6,2,3&kwnm=18&kwgp=1&rk=1&bd=1&bdas=1&tbst=1&sropst=1">
</iframe>

我空间中间的按钮
<style type="text/css">
<!--
.over {color:red; background: pink}
.down {color:red; background: pink; font-style: italic}
-->
</style>
<input
type="Button" value="我``我有话对你讲" name="Button"
onMouseOver="this.className='over';"
onMouseOut="this.className='';this.value="/你为什么不按我?!'"
onMouseDown="this.className='down';"
onMouseUp="this.className='over';"
onClick="this.value='我是真的好喜欢你!'">应该知道怎么改吧

本文引用:babylove 发表于 2005-9-25 18:15:27