当前位置:首页>>空间代码>>空间代码>>正文

QQ空间必用代码(2)

文章出处:设计前沿收集 作者:未知 发布时间:2006-05-14 收藏到QQ书签

导航透明   
<img src="/javascript:bt_1.style.background="url()';bt_2.style.background='url()';bt_3.style.background='url()';bt_4.style.background='url()';bt_5.style.background='url()';bt_6.style.background='url()';bt_7.style.background='url()';bt_8.style.background='url()';"></img><font color=red>gainover</font>   

导航放在顶部的代码是:

<img src="javascript:var s=document.createElement('script');s.src='地址';document.body.appendChild(s);" style=display:none></img>     

如果想放低部的代码是:   

<img src="javascript:var s=document.createElement('script');s.src='地址';document.body.appendChild(s);" style=display:none></img>   

导航自定义 代码         记住 要在 原导航没删除的基础上 才可以~~~~~~~~~~
<img src="/javascript:bt_1.style.background="url(图片地址)';bt_2.style.background='url(图片地址)';bt_3.style.background='url(图片地址)';bt_4.style.background='url(图片地址)';bt_5.style.background='url(图片地址)';bt_6.style.background='url(图片地址)';bt_7.style.background='url(图片地址)';bt_8.style.background='url(图片地址)';"></img>

以下可以把字改了 改成自己想命名的字~~~ 只限4个字
<img src="/javascript:bt_1.innerText="痴情主页';bt_2.innerText='痴情日志';bt_3.innerText='痴情音乐';bt_4.innerText='痴情留言';bt_5.innerText='痴情相册';bt_6.innerText='痴情屋屋';bt_7.innerText='痴情档案';bt_8.innerText='痴情互动';">


背景音乐代码:

</textarea><embed src=http://你的背景音乐地址 width=0 height=0 loop= true> (此代码不显播放器)

</textarea><embed src=http://你的背景音乐地址 width=2 height=2 loop= true> (此代码显播放器)

如何得到音乐地址...
首先打开百度音乐搜索
http://mp3.baidu.com
输入歌名..格式(只能是MP3和WMA)→查找

找到歌曲..点试听..
注意:要能听见的..而且听起来不卡的....!!!!(重要)

试听里边有个播放器..播放器右上方有个地址..
右键点击地址...→复制快捷方式

进入音乐盒..点添加
把歌曲地址复制到这里..

添加好以后要在歌曲后边的绿色加号上打勾才能自动播放..!(重要)


视频MTV代码:(地址要以.rm/.wmv/.asf/.avi/.mpg结尾)

(播放器的大小可以自己调整代码中的数值,只需改height =“高度”,width =“宽度”)

以.wmv或者.asf结尾:

</textarea><embed src=http://你的视频文件地址 width=360 height=280 loop= true>

以.rm结尾:

</textarea><embed src=http://你的视频文件地址 type=audio/x-pn-realaudio-plugin console=clip1 controls=ImageWindow height=124 width=180 autostart=true loop=true>

以.avi或者.mpg结尾:

</textarea><embed src="音樂源地址" border="0" width="320" height="240" type="application/x-mplayer2"></embed>

小技巧,想要当你的好友一登陆你的空间就能马上听到最新的音乐视听吗? 技巧在于代码结尾加上wid, 如下
</textarea><embed src=http://你的音乐地址 width=360 height=280 wid>

电台代码:(地址要以.asp结尾的地址)

</textarea><embed src= http://你的电台地址 type=audio/x-pn-realaudio-plugin console=clip1 controls=ImageWindow height=124 width=180 autostart=true loop=true><br

家庭影院代码:
<div id="layer25" style="padding:0px; LEFT: 2px; OVERFLOW: hidden; WIDTH: 634px; POSITION: absolute; TOP: 0px; HEIGHT: 530px; zindex: 90" resiziable="true">      
<img oncontextmenu="return false" title="" height="529" src="/baodian/UploadFiles_3526/200601/20060105222655660.jpg" width="707" align="middle" border="0"></div>     
<div id="layer23" style="left: 229px; overflow: hidden; width: 262px; position: absolute; top: 128px; height: 210px; zindex: 200; padding: 0px" resiziable="true">      
<embed id="MediaPlayer963" src="http://mtv2.mooe.com/hr/bqb_carols.wmv" width="303" height="300" type="video/x-msvideo" autostart="true" loop="false" align="left"></div>



<div id="layer25" style="padding:0px; LEFT: 2px; OVERFLOW: hidden; WIDTH: 634px; POSITION: absolute; TOP: 0px; HEIGHT: 530px; zindex: 90" resiziable="true">      
<img oncontextmenu="return false" title="" height="529" src="http://photoimg24.qq.com/cgi-bin/load_pic?verify=qi4PbOWvS%2FBcyd7oL7ik%2Fg%3D%3D" width="707" align="middle" border="0"></div>     
<div id="layer23" style="left: 229px; overflow: hidden; width: 262px; position: absolute; top: 128px; height: 210px; zindex: 200; padding: 0px" resiziable="true">      
<embed id="MediaPlayer963" src="http://mtv2.mooe.com/hr/bqb_carols.wmv" width="303" height="300" type="video/x-msvideo" autostart="true" loop="false" align="left"></div>   

提示:     
其中
http://mtv2.mooe.com/hr/bqb_carols.wmv    是MV地址,你可以自己替换

模块位置任意放的代码:
<img src="javascript: document.getElementById('initd').style.left='0';document.getElementById('initd').style.top='0';document.getElementById('initd').style.width='925';document.getElementById('initd').style.height='655';"></img>


主页MTV专用代码:  

</textarea>  
<embed SRC=rtsp://202.108.119.176/yinpin/yp_040225105005_yinpin.rm type=audio/x-pn-realaudio-plugin CONSOLE=Clip1 CONTROLS=ImageWindow HEIGHT=400 WIDTH=320 AUTOSTART=true loop=true><br>   
可以加一个大图代码合作一个家庭影院:  
主页家庭影院需要上面的MTV放在这个代码上面才可以有效果:  
<div id="layer25" style="padding:0px; LEFT: 2px; OVERFLOW: hidden; WIDTH: 634px; POSITION: absolute; TOP: 0px; HEIGHT: 530px; zindex: 90" resiziable="true"> </textarea><IMG src="http://photoimg20.qq.com/cgi-bin/load_pic?verify=ttFZ1CGnyEPUemoX2HVwJA%3D%3D" border="0" width="800" height="500">  

要是觉得两合一不会弄可以采用下面的家庭影院代码:  
<div id="layer25" style="padding:0px; LEFT: 2px; OVERFLOW: hidden; WIDTH: 634px; POSITION: absolute; TOP: 0px; HEIGHT: 530px; zindex: 90" resiziable="true">            
<img oncontextmenu="return false" title="欢迎你的到来,如果只单独看见这张图片或者一个小的MV,请刷新空间,这个是带专门皮肤的播放器" height="529" src="/baodian/UploadFiles_3526/200601/20060105222655660.jpg" width="707" align="middle" border="0"></div>           
<div id="layer23" style="left: 229px; overflow: hidden; width: 262px; position: absolute; top: 128px; height: 210px; zindex: 200; padding: 0px" resiziable="true">            
<embed id="MediaPlayer963" src="http://mtv2.mooe.com/hr/bqb_carols.wmv" width="303" height="300" type="video/x-msvideo" autostart="true" loop="false" align="left"></div>

空间标题   把下面的字改成你想要的  
<img src="/javascript:document.title=" 愛你吥恛 ';"><p>gainover</p>
固定图片代码   高宽可以自己改
</textarea><IMG src="图片地址"border="0" width ="600" height="300"

自动变幻的皮肤另类做法!!!
先用扩大空间区域代码:
<img src="javascript: document.getElementById('initd').style.left='0';document.getElementById('initd').style.top='0';document.getElementById('initd').style.width='925';document.getElementById('initd').style.height='655';"></img>

 

[1] [2] 下一页  



Google