設定首頁
  网站地圖
  收藏本頁

簡体 网通 English
 
香草种子
花卉种子
藥材种子
蔬菜种子
草坪种子
更多目錄
种子价格
栽培种植
 
動態 | 圖片 | 郵箱 | 檢索 | 視頻 | 黃頁 | 圖書 | 供求 | 法規 | 地圖 | 工具器材 | 俱樂部 | 城市 | 論壇
您目前所在的位置

首頁>>网絡學院>>正文

訪問次數關閉
qq空間代碼

QQ空間皮膚代碼 
 
首先教大家怎樣免費使用只有黃鑽才可以使用的空間背景。大家都知道騰訊不讓我們在首頁中使用“Script”這個字眼,其實這是有原因的。他是怕我們自己編寫“JavaScript”程序會改寫一些空間的系統參數,造成空間混亂﹗ 350)this.style.width=350;"  
 
 
下面就介紹一下如何實現免費使用空間的所有背景皮膚﹕

其實QQ空間主要靠几個“Javascript”腳本來控制(blog.js)(common.js)(data.js)
(js.js)(layers.js)(main.js)(music.js)
(musicDemo.js)(style.js)(wnd.js)(space_scenario.js),而用戶的一些自定義信息和日記一般都以“XML”文件格式保存在服務器上。

首先一樣新建一個模版(如果不懂可以參考“QQ空間設計之新建模版”),模版名稱自已隨便取一個。
接下來在彈出如圖一所示的對話框里,先看圖﹕

現在我就來講解一下,“鏈接名稱”可以隨便起名字,“网址”“圖片”有需要的朋友可以自己添加,如果沒有一定要將其中的“http://”全部清空。關鍵的地方就是在“評論”上插入以下代碼﹕(當然也可以在原有的自建模版中加入以下代碼)
<img src="/Article/UploadPic/2005-11/2005119111938216.gif" onload="document.getElementById('all').style.background='url
(/Article/UploadPic/2005-11/2005119111938216.gif)';" style="display:none;">

下面我就說明一下代碼的意思﹕

src=""是說明圖片的位置
(/Article/UploadPic/2005-11/2005119111938216.gif)說明要用到背景圖片的网絡位置,而(/Article/UploadPic/2005-11/2005119111938216.gif)就是黃鑽專用皮膚背景中的“tree”的网絡位置了。我就是我現在用的這個背景皮膚了。

整理成格式如下﹕

<img src="圖片的网絡位置" onload="document.getElementById('all').style.background='url(背景的网絡位置)';" style="display:none;">
根据上面的思路我們不但可以使用黃鑽才可以使用的背景,還可以隨心所欲的使用空間的任何皮膚背景和自已設計好背影圖片。自己設計的背景先上傳到相冊中。再改一下上面代碼中的圖片网絡位置,就可以讓自己的背景与眾不同,很有特色的。

 

QQ空間鼠標代碼
 
如果你想在你的网站里用這個代碼
<BODY style='cursor:url(鼠標地址)'
如<body style='cursor:url( http://imgcache.qq.com/qzone/item/orig/3/1683.ani)'
如果可以的話~把這些圖片放到自己的空間里去~不過這些是ani文件﹗

QQ鼠標代碼在QQ空間的使用方法 自定義-個性設置-新建模塊-隨便輸個名字-在評論里加上以下代碼
<img src="小圖片地址,隨便找一個" onload="document.body.style.cursor='url(\'鼠標圖片的地址\')'">
最后記得保存喔~~還有把這個模塊放到角落里去~
推荐小圖片:http://bbs.w3sea.net/_mytemp/qqzone/SMLOGO.gif 一個W的圖片~

http://imgcache.qq.com/qzone/item/orig/12/1068.ani
http://imgcache.qq.com/qzone/item/orig/11/1547.ani
http://imgcache.qq.com/qzone/item/orig/10/698.ani
http://imgcache.qq.com/qzone/item/orig/10/1066.ani
http://imgcache.qq.com/qzone/item/orig/10/1050.ani
http://imgcache.qq.com/qzone/item/orig/1/193.ani
http://imgcache.qq.com/qzone/item/orig/1/1105.ani
http://imgcache.qq.com/qzone/item/orig/0/1888.ani

 

QQ空間最新代碼
 

QQ空間在不斷的更新,使用QQ空間最新代碼可以讓我們的主頁空間跟上潮流,本站在努力收集最新的QQ空間代碼供大家參考。

1.背景皮膚
<img src=" javascript :document.getElementById('Mlogo').style.background='url
(頂部一條圖片的地址)';document.getElementById('all').style.background=
'url(背景圖片的地址)';">

如果你不想改頂部圖片條的話只要這樣就夠了﹕
<img src=" javascript :document.getElementById('all').style.background=
'url(背景圖片的地址)';">

2.清空頂部一條背景圖片的方法﹕
<img src=" javascript :Mlogo.style.background='';" style="display:none
;"><p>gainover</p>

3.去掉主題部分的滾動條的方法﹕
<img src=" javascript :document.getElementById('initd').style.overflow
='hidden';"><p>gainover</p>

4.清除導航條,
<img src="/ javascript :bt_6.style.display='none";bt_7.style.display='
none';bt_8.style.display='none';" style="display:none;"><p>gainover</p>

5.導航透明
<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>

6.導航放在頂部的代碼是﹕

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

7.自定義導航
<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>

<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='流星互動';">

8.FLASH導航代碼:

導航1.
</textarea></table></tr><td><embed src="http://www.52blog.net/user1/
53094/upload/200510219465.swf" pluginspage="http://www.macromedia.com
/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="
application/x-shockwave-flash" width="650" height="600" play="true"
loop="true" quality="high" scale="showall" wmode="transparent"
menu="true"></embed></td>
</tr></table><p>mina.yaoer</p>

導航2.
</textarea></table></tr><td><embed src="http://www.52blog.net/user1/
53094/upload/200510189456.swf" pluginspage="http://www.macromedia.com
/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type=
"application/x-shockwave-flash" width="930" height="660" play="true"
loop="true" quality="high" scale="showall" wmode="transparent" menu
="true"></embed></td>
</tr></table><p>mina.yaoer</p>

導航3.
</textarea></table></tr><td><embed src="http://www.52blog.net/user1/
53094/upload/200510206210.swf" pluginspage="http://www.macromedia.com
/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="
application/x-shockwave-flash" width="680" height="450" play="true"
loop="true" quality="high" scale="showall" wmode="transparent"
menu="true"></embed></td>
</tr></table><p>mina.yaoer</p>

代碼里面的width=" " height=" "
是根据自己的需要設置的.!
我設置的是全屏的,就如我的示范空間一樣,!
如果大家要全屏放置此導航.!
就要特別注意:
首先當然是需要先用一個代碼
模塊位置任意放的代碼:
<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>
*皮膚全屏FLASH代碼
<img src=" javascript :document.getElementById('Mlogo').innerHTML+='
<div style=\'position:absolute;top:0;left:0;\'><EMBED src=\'輸入地址\'
quality=high wmode=\'transparent\' WIDTH=\'925\' HEIGHT=\'655\' TYPE=\'
application/x-shockwave-flash\'></div>';">

9.主頁上的MTV播放器

<embed id="MediaPlayer963" src="MTV的地址" width="305" height="250" type=
"video/x-msvideo" autostart="true" loop="false" align="left">
家庭影院 來個簡單點 設置好了的
<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="http://biz.cnhoo.
com/wz/test/qq324181_GIF.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>

QQ空間背景代碼
 
QQ空間的背景代碼是一個ID為”ALL“的大TABLE表格的背景圖片,仍然使用onload,onclick這類与img標簽或超級連接配合就能自動/手動更改QZONE背景。看下QZONE源文件能發現靠上面一條BANNER圖片條TD ID為MLOGO,配合圖片ONLOAD与style.background屬性可以更改﹕

<img src="http://bbs.w3sea.net/_mytemp/qqzone/SMLOGO.gif" onload="document.getElementById('Mlogo').style.background='url(頂部一條圖片的地址)';document.getElementById('all').style.background='url(背景圖片的地址)';" style="display:none;">

不更改QQ空間頂部背景的代碼﹕

<img src="http://bbs.w3sea.net/_mytemp/qqzone/SMLOGO.gif" onload="document.getElementById('all').style.background='url(背景圖片的地址)';" style="display:none;">

點一下圖片換一個背景的代碼:

<a href="#" onclick="document.getElementById('Mlogo').style.background='url
(http://www.oiblog.com/uploadfile/2005817132955865.JPG)';
document.getElementById ('all').style.background='url(http://www.oiblog.com
/uploadfile/2005817133014672.JPG)';">火影忍者</a>
替換网頁和名字就OK

QQ空間flash代碼
 
代碼里面的width=" " height=" "
是根据自己的需要設置的!
我設置的是全屏的,就如我的示范空間一樣!

導航1.
</textarea></table></tr><td><embed src="http://www.52blog.net/user1/53094
/upload/200510219465.swf"pluginspage="http://www.macromedia.com/shockwave/
download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="650"
height="600" play="true" loop="true" quality="high" scale="showall"
wmode="transparent" menu="true"></embed></td>
</tr></table><p>mina.yaoer</p>

導航2.
</textarea></table></tr><td><embed src="http://www.52blog.net/user1/53094
/upload/200510189456.swf"pluginspage="http://www.macromedia.com/
shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
type="application/x-shockwave-flash" width="930" height="660" play="true" loop="true"
quality="high" scale="showall" wmode="transparent" menu="true"></embed></td>
</tr></table><p>mina.yaoer</p>

導航3.
</textarea></table></tr><td><embed src="http://www.52blog.net/user1/53094/upload
/200510206210.swf"pluginspage="http://www.macromedia.com/shockwave/download/
index.cgi?P1_Prod Version=ShockwaveFlash" type="application/x-shockwave-flash"
width="680" height="450" play="true" loop="true" quality="high" scale="showall" wmode="transparent" menu="true"></embed></td>
</tr></table><p>mina.yaoer</p>

QQ空間播放器代碼
 
播放音樂主要需要以下几個步驟實現:
1.在QQ空間添加播放器(付費与免費均有);
2.到音樂搜索网站尋找可以播放的音樂;
3.在QQ空間的音樂盒中收藏找到的音樂,并且添加到播放器.

說明﹕請先查看演示,再選擇自己喜歡的播放器,每种播放器均可放在空間的任意地方,代碼中的"top"是指“距离QQ空間頂端的長度”,“left”是指“距离空間左端的長度”,例如﹕"top:0"并且"left:0"就是表示該播放器處于空間的左上角,其他位置的請大家自行摸索。

代碼一:

<img src="javascript:document.getElementById('Mlogo').&#105;nnerHTML+='<div style=\'position:absolute;top:100;left:250;\'><&#105;FRAME name=I1 src=\' http://www.caibird.com.cn/support/28_flashmp3player_
caibird/28_flashmp3player_caibird.asp \' frameBorder=\'0\' width=\'300\' scrolling=\'no\' height=\'320\'></div>';">

代碼二:

<img src="javascript:document.getElementById('Mlogo').&#105;nnerHTML+='<div style=\'position:absolute;top:0;left:50;\'><&#105;FRAME name=I1 src=\' http://www.caibird.com.cn/support/29-miniflashmp3-caibird/29-flashMP3Player.asp \' frameBorder=\'0\' width=\'160\' scrolling=\'no\' height=\'72\'></div>';">

非常小巧的播放器,MP3 30余首

 

QQ空間MTV代碼
 
代碼如下﹕
<EMBED src="地址"autostart="true"loop="true" width="450" height ="350" >

其中autostart="true"的意思是打開主頁后自動播放,如果要手動播放的話,可以將它刪掉﹔width和height分別是顯示出來的MTV的寬和高,請大家根据需要調節。

QQ空間系列五——插入rm格式視頻

我前面已經講過如何插入MTV,對象全部是以.wav .wmv等格式結尾的文件,那么到底如何插入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>

下一篇
設為首頁代碼大全
上一篇
自适應圖片大小的彈出窗口

關于我們 | About US | 本站服務 | 負責聲明 | Seed China | 交換鏈接 | 聯絡我們
點此處与我們在線交流&或給我們留言
Copyright © 2004 - 2008 Big5.zhongzi.Net, All Rights Reserved
版權所有﹕中華种子网 運營﹕种子中國网絡信息中心
電話:+086-021-54081687 電傳:+086-021-51901687
Email/Msn: hongkong@zhongzi.net
滬ICP備05000005號 公安机關网絡備案許可証
seeds
ICP
seedchina,chinaseed