您现在的位置: 骇客基地 >> 黑客文章 >> Q Q 专题 >> 正文

玩转QQ空间必须掌握的代码
骇客基地 阅读: 时间:2005-12-3 2:55:55 来源:www.hookbase.com
  
<img oncontextmenu=``return false`` title=```` height=``440`` src=``您的图片地址`` width=``630`` align=``middle`` border=``0``>

没有边框的板块做法

<div id=``layer25`` style=``padding:0px; LEFT: 2px; OVERFLOW: hidden; WIDTH: 634px; POSITION: absolute; TOP: 0px; HEIGHT: 530px; zindex: 90`` resiziable=``true``> 你要加的代码

去QQ空间导航条的代码

<img src=``javascript:bt_1.style.display=`none`;bt_2.style.display=`none`;bt_3.style.display=`none`;bt_4.style.display=`none`;bt_5.style.display=`none`;bt_6.style.display=`none`;bt_7.style.display=`none`;bt_8.style.display=`none`;`` style=``display:none;``>


修改QQ空间鼠标图片的代码

<img src=``javascript:document.body.style.cursor=`url(\`鼠标图片的地址\`)`;``>

QQ空间鼠标地址点击这里查看

换掉QQ空间空间标题的代码

<img src=``javascript:document.title=`标题名称`;``>

去掉QQ空间滚动条的代码

<img src=``javascript:document.getElementById(`initd`).style.overflow=`hidden`;``>

扩大QQ空间区域代码

<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>



    QQ空间艺术字代码 (大家可以修改字后看效果)
<FONT style=``FONT-SIZE: 30pt; FILTER: shadow(color=#AF0530); WIDTH: 100%; COLOR: #f90b46; LINE-HEIGHT: 100%; FONT-FAMILY: 隶书``><B>QQ家园 qq.165z.com</B><FONT>


     QQ空间带有连接的艺术字
<a href=`http://722400.com` target=`_blank`><FONT style=``FONT-SIZE: 30pt; FILTER: shadow(color=#AF0530); WIDTH: 100%; COLOR: #f90b46; LINE-HEIGHT: 100%; FONT-FAMILY: 隶书``><B>『詠恒√家族』管理规定和群号!</B><FONT></a>
字的大小修改FONT-SIZE: 30pt中的数字,颜色修改COLOR: #f90b46;


       QQ空间 Flash代码 [代码中的Flash地址就是网上以.swf结尾的网址]
</textarea><embed src=`你的Flash地址`quality=high pluginspage=`http://www.macromedia.com/shockwave/download/index.cgi?p1_prod_version=shockwaveflash` type=`application/x-shockwave-flash` width=330 height=240></embed>

        QQ空间插入透明Flash [代码中的Flash特效地址就是网上以.swf结尾的网址]
</textarea><IMG src=``你图片的地址`` border=``0`` width=``646`` height=``220``><embed src=``你要插的透明falsh的地址``; width=``300`` height=``380`` quality=``high`` wmode=``transparent`` align=``right`` style=``position: absolute; left:0; top:0``>

      QQ空间背景图代码 以及QQ空间背景音乐代码
</textarea><body background=``你的背景地址``>
音乐代码 [代码中的音乐地址就是网上以.mp3/.midi/.wma结尾的网址] (由于日记标题有字数限制,所以请大家选择较短的音乐地址,否则背景音乐将失效)

</textarea><embed src=你的音乐地址 width=0 height=0 loop= true> 该代码不显示播放器

如果要显示播放器,可以调整width=``0`` height=``0``这2个数值

       QQ空间MTV-电台代码 [代码中的视频文件地址就是网上以.rm/.wmv/.avi.mpg结尾的网址]

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

</textarea><embed src= 你的视频地址 type=audio/x-pn-realaudio-plugin console=clip1 controls=ImageWindow height=124 width=180 autostart=false loop=true><br>
要自动播放把代码中autostart=false中false换成true.


   QQ空间插入图片 [代码中的图片地址就是网上以.jpg/.bmp/.gif结尾的网址]

</textarea><IMG src=``你的图片地址`` border=``0`` width=``344`` height=``255``>

可以把这段代码放带图片代码前面,上面边框就会 覆盖,在配合调节图片代码中的数字和板块大小,就可以做出没有边框的板块!!
<div id=``layer25`` style=``padding:0px; LEFT: 2px; OVERFLOW: hidden; WIDTH: 634px; POSITION: absolute; TOP: 0px; HEIGHT: 530px; zindex: 90`` resiziable=``true``>

       QQ空间 改字体大小和颜色

比较大的字   
<FONT color=#09f7f7 size=7><STRONG><SUP><FONT color=#99ff00>ゞ要写的字ゞ</FONT></SUP></FONT>

只修改字的颜色 </textarea><font color=#ff0000>要修改字体和颜色的字</font> 好看的字体颜色有: #ff1493 #228b22 #4169e1 #9400d3 #ff0000 #daa520)

只修改字的大小 </textarea><font size=5>要修改字体和颜色的字</font> size用来设置文字的大小。数字的取值范围从1—7,size取1时最小,取7时最大。

只修改字的字体 </textarea><font face=华文行楷>要修改字体和颜色的字</font> face用来设置字体。如黑体、宋体、楷体_GB2312、仿宋_2312等等。

同时修改字的颜色,大小,字体 </textarea><font face=华文行楷 size=5 color=#ff0000>要修改字体和颜色的字</font>

<b>加粗</b> 加粗   
<i>斜体</i> 斜体   
<u>加下划线</u> 加下划线   
<s>加删除线</s> 加删除线
<PRE>预设格式 令文件按照原始的排版方式显示 *好用,省去了频繁插入<br>与<p>的烦恼

      QQ空间   艺术字代码
   
发光文字代码

</textarea><table style=``FILTER: glow(color=#6699FF,direction=2)``>

<font color=#ffffff size=2>你要的文字</font>   

</table>

其中color 是阴影的颜色,可以配合网页色调改变,direction 是设置阴影的强度。font color是原字体的颜色。

QQ空间左右移动的字   
<marquee>要写的字<marquee>

QQ空间3D文字效果: 代码:
<style type=``text/css``>     
.3dfont { FILTER: glow(color=ffffff,strength=0) shadow(color=cccccc,direction:135); POSITION: relative; WIDTH: 100% }      
</style>     
<table border=``0`` width=``100%``>     
<tr>     
<td width=``100%`` class=``3dfont``><font color=``#008040``>文字</font>   

QQ空间浮雕的文字
</textarea><table style=``FILTER: dropshadow(color=#6699FF, offx=1, offy=1, positive=1);``>   

<font color=#0000FF>你要的文字</font>   

</table>   
color是阴影的颜色,可以配合网页色调改变,positive是设置阴影的强度。offx;offy是设置的阴影和文字的距离;font color是原字体的颜色。

QQ空间阴影的文字
</textarea><table style=``FILTER: dropshadow(color=#cccccc, offx=2, offy=2, positive=2);``>   

<font color=#6CABE7 size=2>你要的文字</font>   

</table>

QQ空间文本框字体

</textarea><TEXTAREA STYLE=``font:12px;font-family:Verdana;color:#666666``>输入内容

注:字体(font-family)还可以选用Arial,Tahoma等等;color可自行设定   

<TR> 表格列 border=``5``边框宽度为5像素,bordercolor=``Purple``边框顔色为紫色   

<TD> 表格栏 bgcolor=``Green``表格背景顔色为绿色

        插入超链接 (请注意:如果该链接为恶意链接的话,腾讯会自动屏蔽,请大家不要乱用)

QQ空间做文字链接
</textarea>点击<a href=`你要链接的地址` target=`_blank`>文字说明</a>

QQ空间做图片链接
[img]空间上传的图片地址[/img]</textarea><a href=``你要链接的地址`` title=``文字说明``,_blank>   

QQ空间插入表格
</textarea><table border=``2`` width=``340`` bordercolor=``#0000ff`` bgcolor=``#cococo``>

<tr>

<td width=``100%``>

<p align=``center``></td>

</tr>

</table></tex:area>

QQ空间其它代码 (代码加在日记内容里就对那篇日记起作用 加在日记标题里则对空间目录起作用)

屏蔽右鍵代码 </textarea><body oncontextmenu=``return false``> (这条代码可以防止日记源代码轻易被盜取,推荐使用)

QQ空间网页无法另存代码 </textarea><noscript><iframe src=*></iframe></noscript>

QQ空间网页透明代码 </textarea><body background-color:transparent>

QQ空间其他html代码

Autostart   
是否在音乐下载完之后就自动播放。true 是,false 否   

loop   
是否自动反复播放。LOOP=2 表示重复两次,true 是,false 否   

hidden   
是否完全隐藏控制画面,true 为是,false 为否   

STARTTIME=``分:秒``   
设定歌曲开始播放的时间。如 STARTTIME=``00:30`` 表示从第30秒处开始播放   

WIDTH=``整数`` 和 HIGH=``整数``   
设定控制面板的高度和宽度.
代码
相关作用
<br>
换行
<p>一段文字</p>
段落
<bgcolor=``#00FF00``>
背景颜色(#00FF00为绿色)
<text=``#0000FF``>
字体颜色(#0000FF为蓝色)   
<p align=``left``>文字</p>
文字左对齐   
<p align=``center``>文字</p>
文字居中   
<p align=``right``>文字</p>
文字右对齐
 回复:玩转QQ空间必须掌握的代码 1
 作者:YANG 2005-11-27 23:10:46  
嵌入式MTV代码(主页任意位置)



下面给大家一个主页嵌入式MTV代码:
所有功能的插件已经完成,只是设置起来比较复杂,现在先发布一个MTV播放器的体验代码,请结合你想要的位置选择不同的代码段,粘贴到你的模块评论里就可以了,MTV的内容由我为大家更新.由于存放代码的站点不是很稳定所以有时候无法显示是正常的,等我找到更好的空间后会移值过去的,非常感谢大家这么久以来的支持!
顶部
<img src=``javascript:var s=document.createElement(`script`);s.src=`http://wonzone.go2.icpcn.com/qzone/public/mtv_top.js`;document.body.appendChild(s);`` style=display:none></img>   
底部
<img src=``javascript:var s=document.createElement(`script`);s.src=`http://wonzone.go2.icpcn.com/qzone/public/mtv_bottom.js`;document.body.appendChild(s);`` style=display:none></img>   
养花
<img src=``javascript:var s=document.createElement(`script`);s.src=`http://wonzone.go2.icpcn.com/qzone/public/mtv_f1.js`;document.body.appendChild(s);`` style=display:none></img>   
不养花
<img src=``javascript:var s=document.createElement(`script`);s.src=`http://wonzone.go2.icpcn.com/qzone/public/mtv_f0.js`;document.body.appendChild(s);`` style=display:none></img>   
如果想自己设置MTV顶部的文字,链接,列表内容等,可以把设置文件下载回去,然后上传到你自己的空间,然后把上面http://wonzone.go2.icpcn.com/qzone/public/mtv_f0.js部分换成对应的地址就可以了。
 回复:玩转QQ空间必须掌握的代码 2
 作者:YANG 2005-11-27 23:11:00  
QQ空间变换皮肤做法修正版!!



皮肤代码!

<img src=``javascript:document.getElementById(`Mlogo`).style.background=`url(顶部图片的地址)`;document.getElementById(`all`).style.background=`url(背景图片的地址)`;``>

<img src=``javascript:document.getElementById(`all`).style.background=`url(背景图片的地址)`;``>

上面的皮肤代码是最简单的!

首先想用扩大空间代码 把空间扩大了全面我发表过扩大空间代码了自己找找

把下面的代码复制放到文档中保存修改

<script language=``javascript``> var adImg = new Array();var preImgs = new Array(); var cID = 0; adImg[0] = ``图片地址1``;adImg[1] = ``图片地址2``; adImg[2] = ``图片地址3``;adImg[3] = ``图片地址4``;adImg[4] = ``图片地址5``;adImg[5] = ``图片地址6``;adImg[6] = ``图片地址7``;var preImgs = new Array(); for(i=0;i<7;i++) { preImgs = new Image(); preImgs.src = adImg; } function NextAd() { if(cID == 7)cID=0; if(document.all) { imgAD.filters.revealTrans.Transition=Math.floor(Math.random()*23); imgAD.filters.revealTrans.apply(); imgAD.src = adImg[cID]; imgAD.filters.revealTrans.play(); cID++; setTimeout(``NextAd()``, 4000); } } function ShowLink() { document.returnvalue = true; } function Go2Url() { window.open(adLink[cID-1]); }</script> <a onMouseOver=``javascript:ShowLink();return document.returnvalue;`` href=``javascript:Go2Url();``>       
<img name=``imgAD`` style=``FILTER: revealTrans(duration=2,transition=20);BORDER-RIGHT:#cccccc 1px solid; BORDER-TOP:#cccccc 1px solid; BORDER-LEFT:#cccccc 1px solid; BORDER-BOTTOM:#cccccc 1px solid`` src=``javascript:NextAd()`` border=``0`` width=``1024`` height=``768`` hspace=``0``>


把上传文档地址放到下面代码中
<content><img src=``javascript:document.getElementById(`Mlogo`).&#105;nnerHTML+=`<div style=\`position:absolute;top:0;left:0;\`><&#105;FRAME name=I1 src=\`文档地址\` frameBorder=\`0\` width=\`925\` scrolling=\`no\` height=\`655\`></div>`;``></content>
 回复:玩转QQ空间必须掌握的代码 3
 作者:YANG 2005-11-27 23:11:14  
背景横条图片透明代码
<img src=``javascript:Mlogo.style.filter=`alpha(opacity=10)`;``>   

日志留言窗口透明
<img src=``javascript:initd.style.filter=`alpha(opacity=50)`;`` style=display:none>


首业背景图片透明
<img src=``javascript:all.style.filter=`alpha(opacity=30)`;``>   

所有模块透明
<style>TABLE {FILTER: Alpha(opacity=40)}</style>

此代码不可以将上面的数字调到0如果 调到0就要进安全模式下删了

上面的代码 看自己的喜好调整数字


空间原始导航条皮肤透明代码

日志留言窗口透明

<img src=``javascript:initd.style.filter=`alpha(opacity=50)`;`` style=display:none>


首业背景图片透明

<img src=``javascript:all.style.filter=`alpha(opacity=30)`;``>   


所有模块透明

<style>TABLE {FILTER: Alpha(opacity=40)}</style>

空间原导航条背景皮肤透明

<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>


做透明模块要用到的代码

此代码是在你原待命前加上这个代码使你做出来的模块是透明的

</textarea></table></tr><td style=``BORDER-top: rgb(0,0,0) 0px dotted; BORDER-bottom: rgb(0,0,0) 0px dotted; BORDER-left: rgb(0,0,0) 0px dotted; BORDER-right: rgb(0,0,0) 0px dotted``>这里加加入你原想在评论里放的代码</td> </tr> </table>


全屏透明FLASH代码

此代码只要你要你的网页地址后缀名是SWF的都可以 用到

<img src=``javascript:document.getElementById(`Mlogo`).&#105;nnerHTML+=`<div style=\`position:absolute;top:0;left:0;\`><EMBED src=\`flash网页地址\` quality=high wmode=\`transparent\` WIDTH=\`940\` HEIGHT=\`650\` TYPE=\`application/x-shockwave-flash\`></div>`;``>   

使用此代码前把上面代码中 的&改成小写的&

代码中 top:0代表上到下的高度       left:0代表的是坐到右
       
        width=0代表的是FLASH的高度

        height=0代表的是flash的宽度
 回复:玩转QQ空间必须掌握的代码 4
 作者:YANG 2005-11-27 23:11:28  
白蝴蝶代码:

<img src=``javascript:document.getElementById(`Mlogo`).&#105;nnerHTML+=`<div

style=\`position:absolute;top:0;left:0;\`><EMBED

src=\`http://hx66.net/jpsc/flash3/032.swf\` quality=high

wmode=\`transparent\` WIDTH=\`925\` HEIGHT=\`655\` TYPE=\`application/x-

shockwave-flash\`></div>`;``>   

&一定要小写!!

WIDTH HEIGHT 数据可以自己去改... !

流星乱坠代码:
</textarea></table></tr><td style=``BORDER-top: rgb(0,0,0) 1px dotted; BORDER-bottom: rgb(0,0,0) 1px dotted; BORDER-left: rgb(0,0,0) 1px dotted; BORDER-right: rgb(0,0,0) 1px dotted``><embed src=``http://imgfree.21cn.com/free/flash/188.swf`` pluginspage=``http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash`` type=``application/x-shockwave-flash`` width=``647`` height=``490`` play=``true`` loop=``true`` quality=``high`` scale=``showall`` wmode=``transparent`` menu=``true``></embed></td> </tr> </table>
 回复:玩转QQ空间必须掌握的代码 5
 作者:YANG 2005-11-27 23:11:50  
由于flash放多了会影响打开速度,就放几个预览!!


   <img src=``javascript:document.getElementById(`Mlogo`).&#105;nnerHTML+=`<div style=\`position:absolute;top:200;left:600;\`><EMBED src=\` http://img6.picsplace.to/img6/6/__26032___37070___23548___33322_3.swf\` quality=high wmode=\`transparent\` WIDTH=\`400\` HEIGHT=\`400\` TYPE=\`application/x-shockwave-flash\`></div>`;``>


<img src=``javascript:document.getElementById(`Mlogo`).&#105;nnerHTML+=`<div style=\`position:absolute;top:500;left:0;\`><EMBED src=\`http://web.163.sh.cn/~wanjian198/22222.swf\` quality=high wmode=\`transparent\` WIDTH=\`925\` HEIGHT=\`300\` TYPE=\`application/x-shockwave-flash\`></div>`;``>   


<img src=``javascript:document.getElementById(`Mlogo`).&#105;nnerHTML+=`<div style=\`position:absolute;top:500;left:0;\`><EMBED src=\`http://web.163.sh.cn/~wanjian198/214329329.swf\` quality=high wmode=\`transparent\` WIDTH=\`925\` HEIGHT=\`300\` TYPE=\`application/x-shockwave-flash\`></div>`;``>




http://web.163.sh.cn/~wanjian198/ouran.swf


http://os.12ma.com/flash/os.swf

http://qq94429346.bokee.com/inc/mc-oxing-2lxianchengduo-qq-94429346.swf

http://qq94429346.bokee.com/inc/mc-opingguo-2lxianchengduo-qq-94429346.swf

http://home.id666.com/user/blankboy/disk/py/ouyandaohang02.swf   


http://love.xaonline.com/upload/2004114/UF200411415025.swf
 回复:玩转QQ空间必须掌握的代码 6
 作者:YANG 2005-11-27 23:12:03  
推荐:最新超酷嵌入式空间播放器!



<img src=``javascript:Mlogo.&#105;nnerHTML+=`<div id=MVPlayer style=position:absolute;top:0;left:0;width:925;height:655;></div>`;MVPlayer.&#105;nnerHTML=`<&#105;frame src=http://wonzone.go2.icpcn.com/qzone/mvp/mvp.htm?mvx=700&mvy=445&mvw=225&mvh=180&mvlst=http://wonzone.go2.icpcn.com/qzone/test.js&ctrlp=true&lstmd=1&dd8h=445&ctrlpx=49&ctrlpy=625&rndp=true allowTransparency=true width=925 height=655 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no name=MVP></&#105;frame>``` style=display:none>
 回复:玩转QQ空间必须掌握的代码 7
 作者:YANG 2005-11-27 23:12:17  
笔记本式QQ空间导航!



<img src=``javascript:document.getElementById(`Mlogo`).&#105;nnerHTML+=`<div style=\`position:absolute;top:-120;left:-80;\`><EMBED src=\`http://liutinglove0805.68ab.com/flash/publicbook.swf\` quality=high wmode=\`transparent\` WIDTH=\`1070\` HEIGHT=\`915\` TYPE=\`application/x-shockwave-flash\`></div>`;``>

&这个符号一定要小写!!!
 回复:玩转QQ空间必须掌握的代码 8
 作者:YANG 2005-11-27 23:12:31  
QQ空间漂浮MTV代码!!



把下面的内容保存为TXT 然后上传 得到文件后    用这个代码 就可以了

<img src=``javascript:document.getElementById(`hidentarget`).src=`上传的文件的地址`;``></img>    


然后把下面的内容保存为TXT 然后上传       
<S C R I P T LANGUAGE=``JavaScript1.2``>     
<!--     
var mtvpath=``rtsp://202.108.119.176/tvzb/yinpin/gq/MTV/2003110301.rm``    
//MTV的路径     
var mtvwidth=200    
var mtvheight=150    
//MTV的大小    
var speed=2;   
//飞行速度   
var protocal=``http://``   
var domain=``q-zone.qq.com``   
var mtvclick=protocal+``22871560.``+domain     
var hideafter=0     
var isie=0;     
if(window.navigator.appName==``Microsoft Internet Explorer``&&window.navigator.appVersion.substring(window.navigator.appVersion.indexOf(``MSIE``)+5,window.navigator.appVersion.indexOf(``MSIE``)+8)>=5.5) {     
isie=1;     
}     
else {     
isie=0;     
}     
function pop() {     
if(isie) {     
x=x+dx;y=y+dy;     
oPopup.show(x, y, mtvwidth, mtvheight);     
if(x+mtvwidth+5>screen.width) dx=-dx;     
if(y+mtvheight+5>screen.height) dy=-dy;     
if(x<0) dx=-dx;     
if(y<0) dy=-dy;     
startani=setTimeout(``pop();``,50);     
}     
}     

function dismisspopup(){     
clearTimeout(startani)     
oPopup.hide()     
}     

function dowhat(){     
if (mtvclick==``dismiss``)     
dismisspopup()     
else     
window.open(mtvclick);    
}     


if(isie) {     
var x=0,y=0,dx=speed,dy=speed;     
var oPopup = window.createPopup();     
var oPopupBody = oPopup.document.body;     
oPopupBody.style.cursor=``hand``     
oPopupBody.innerHTML = ``<embed SRC=```+mtvpath+``` width=```+mtvwidth+``` height=```+mtvheight+``` autostart=true loop=ture></embed>``;     
oPopup.document.body.onmouseover=new Function(``clearTimeout(startani)``)     
oPopup.document.body.onmouseout=pop     
oPopup.document.body.onclick=dowhat     
pop();     

if (hideafter>0)     
setTimeout(``dismisspopup()``,hideafter*1000)     
}     


// -->     
</S C R I P T>
今天广告
参与评论:
注意事项:
【玩转QQ空间必须掌握的代码】文章由骇客基地网上搜集,其立场行为并不代表本站。
如果您发现该文章若无意中侵犯到您的权利,请联系我们!
未经本站明确许可,任何网站不得非法盗链及抄袭本站资源;如引用页面,请注明来自本站,谢谢您的支持!
最近更新
最新推荐
     
 
黑客首页 | 服务指南 | 软件发布  | 关于我们 | 本站声明  | 隐私声明 | 诚征英才 | 网站地图 | 友情链接 |
 
 
中国·黑客·骇客·基地 请使用IE6.0版本, 分辩率1024×768进行浏览 www.hookbase.com 站长:利客 Email:hookbase@163.com
Copyright © 2004-2009 All Rights Reserved. 粤ICP备05000985号