中国戏曲学院附中录取:可以用的qq空间代码

来源:百度文库 编辑:中科新闻网 时间:2024/05/10 12:47:37

① 调用代码 (用这个代码可以把整个网页添加到QQ空间) [其中代码中width=\'宽度\',height=\'高度\',可以设置任意数字来更改页面大小,下面所有代码修改宽和高的方法都和这一样]

<iframe src=\'http://调用网页的地址\' width=\'628\' height=\'280\' frameborder=\'0\' scrolling=\'no\'></iframe>

本人空间的顶部FLASH,左边的公告,右边的友情链接,最下面的所有页面都是采用的这种方法.

② Flash代码 (将网上的FLASH应用到QQ空间来) [如果要插入普通Flash,则用第1条代码; 如果要插入透明Flash,则用第2条]

<embed src="http://你的Flash地址" width=360 height=280>

<embed src="http://你的透明Flash地址" wmode=transparent style="position: absolute" width=380 height=270>

举例:

会跳舞的女人透明效果代码

<embed src="http://biz.cnhoo.com/wz/test/jump_mm1.swf" quality="high" style="position: absolute; left: 77; top: 100; width:591px; height:414px" ;; wmode="transparent">

③ MTV代码 [下面只列举了1条常用的代码,如果要插入更多多媒体文件,请查看本人6月1日整理的页面 ]

<embed src="http://你的MTV地址" console=clip1 controls=imagewindow height=128 width=180 autostart=true loop=true>

④ 大图代码 (在空间添加整张图片) [利用模板的重叠性,可以插入大图后将该模块拖动到上面的模块下面重叠,以达到隐藏模块名字的作用]

<img src="http://你的图片地址" width="630" height="250"></img>

⑤ 时钟代码 (提供2种方法,建议选择第1种)

方法⑴ <center><embed src="http://你的时钟地址" width="120" height="120"></embed><br><a href="" target="_blank"></a></center>

其中,时钟地址可以采用http://free1.e-168.cn/fengzhuju/previews/clocks/clock1.swf 这个地址最后的clock1.swf可以用clock1.swf到clock140.swf中间任意一个数字替换.

方法⑵ <iframe src="http://biz.cnhoo.com/wz/liaoshiqi520/shijian520.htm" marginwidth="1" marginheight="1" scrolling="no" border="0" frameborder="0" width="132" height="21"></iframe>

⑥ 天气预报代码 (下面2种方法任选一种皆可,加到评论后自己拖动模块大小调整)

方法⑴ <iframe src=\'http://minisite.qq.com/Weather/index.html\' scrolling=\'no\' height=\'288\' width=\'222\' frameborder=\'0\' marginHeight=\'0\' marginWidth=\'0\'></iframe>

方法⑵ <iframe src=\'http://weather.qq.com/24.htm\' width=\'405\' height=\'360\' frameborder=\'0\' scrolling=\'no\'></iframe>

⑦ 星座代码 (下面2种方法任选一种皆可,方法同上)

方法⑴ <embed src="http://image2.sina.com.cn/ast/newimage/75080_02.swf" wmode=transparent style="position: absolute" width=630 height=80>

方法⑵ <embed src="http://astro.qq.com/images/index/12star/12star.swf" wmode=transparent style="position: absolute" width=630 height=80>

⑧ 网络搜索 (可根据个人爱好选择下面2种)

Google搜索代码

<FORM method=GET action="http://www.google.com/search">

<TABLE bgcolor="#303030"><tr><td>

<A HREF="http://www.google.com/intl/zh-CN/">

<IMG SRC="http://www.google.com/logos/Logo_40wht.gif"

border="0" ALT="Google" align="absmiddle"></A>

<INPUT TYPE=text name=q size=23maxlength=255 value="">

<INPUT TYPE=hidden name=hl value=zh-CN>

<INPUT TYPE=hidden name=ie value=GB2312>

<INPUT TYPE=submit name=btnG value="Google搜索">

</td></tr></TABLE>

</FORM>

百度搜索代码

<iframe id="baiduframe" border="0" vspace="0" hspace="0" marginwidth="0" marginheight="0"

framespacing="0" frameborder="0" scrolling="no" width="468" height="60"

src="http://unstat.baidu.com/bdun.bsc?tn=wyjxp&csid=106&rkcs=0&bgcr=303030&ftcr=ffffff&rk=1&bd=1&bdas=0">

</iframe>

⑨ 即时新闻代码 (下面只列举了2种常见的,直接复制到模块里即可,如果采用其他网站的滚动新闻,调用方法一样,只需更换地址)

CCTV新闻: <iframe src="http://www.cctv.com/homepage/46/index.shtml";; name="express" width="354" height="16" marginwidth="0" marginheight="0" frameborder="0" scrolling="no"></iframe>

新浪滚动新闻: <iframe src="http://news.sina.com.cn/o/allnews/input/index.html";; name="express" width="354" height="16" marginwidth="0" marginheight="0" frameborder="0" scrolling="no"></iframe>

⑩ 友情链接 (下面2种方法可以配合使用,第1种为文字型,第2种为图片型,都是滚动链接) [举例见标准格式第1行链接≯童话℃空间≮的示范,愿意和本人建友情链接的复制即可]

拉链友情链接代码

<select name=\'FriendSite\' onchange="if(this.options[this.selectedIndex].value!=\'\'){window.open(this.options[this.selectedIndex].value,\'_blank\');}" size="1" style="border-style: dashed; border-width: 1px">

<option value=\'\'>友情文字链接站点</option>

<option value="空间地址">空间名称</option>

<option value="空间地址">空间名称</option>

<option value="空间地址">空间名称</option>

</select>

Logo友情链接代码

<marquee onMouseOver="this.stop()" onMouseOut="this.start()" align=center direction=up scrollamount=1 scrolldelay=3 valign=middle behavior="scroll">

<a href=\'空间地址\' title=\'空间名称\' target=\'_self\'><img src="Logo地址" width=\'88\' height=\'31\'></a>

<a href=\'空间地址\' title=\'空间名称\' target=\'_self\'><img src="Logo地址" width=\'88\' height=\'31\'></a>

<a href=\'空间地址\' title=\'空间名称\' target=\'_self\'><img src="Logo地址" width=\'88\' height=\'31\'></a>

</marquee>

⒒ 走马灯效果代码 [下面4种滚动方法大同小异,具体效果自己去尝试,只须修改相应的地方(紫色字体的地方),高级设置请修改其他数值,暂不介绍]

文字滚动代码 (从右向左滚动)

<marquee width="157" height="21">要滚动的文字</marquee>

文字滚动代码 (从下往上滚动)

<marquee bgcolor=#ffffff class=p4 direction=up height=60 scrollamount=1 scrolldelay=50 style="COLOR: #000000; class: " width=157 text-align: left? border="0" ;>要滚动的文字</marquee>

图片滚动代码 (从右向左滚动)

<marquee scrollamount=1 scrolldelay=3 valign=middle behavior="scroll">

<img border="0" src=" http://要滚动的图片地址1">

<img border="0" src=" http://要滚动的图片地址2">

</marquee>

图片滚动代码 (从下往上滚动)

<marquee onMouseOver="this.stop()" onMouseOut="this.start()" align=center direction=up scrollamount=1 scrolldelay=3 valign=middle behavior="scroll">

<img border="0" src=" http://要滚动的图片地址1">

<img border="0" src=" http://要滚动的图片地址2">

</marquee>

⒓ 评价代码 (我这里提供的是框架,具体内容可以自己修改)

<form>

<div align="center"><center><p>

本空间很好: <input TYPE="radio" NAME="radio" value="谢谢您的鼓励和支持!" onClick="alert(value)">

本空间一般: <input TYPE="radio" NAME="radio" value="我会不断努力的!" onClick="alert(value)">

本空间太差: <input TYPE="radio" NAME="radio" value="具体的意见请QQ联系我,谢谢!" onClick="alert(value)">

</p></center></div>

</form>

⒔ 文字特效代码 (使用html代码做文字特效的方法很多,暂只介绍几种,效果自己去测试)

标语代码

<CENTER><FONT style="COLOR: #e4dc9b; FILTER: shadow(color=black); FONT-FAMILY: 华文彩云; FONT-SIZE: 30pt; LINE-HEIGHT: 150%; WIDTH: 100%"><B>要设置的文字</B></FONT></CENTER>

发光字体代码 [快速查看颜色代码都请 点击这里 ]

</textarea><table style="FILTER: glow(color=发光背景颜色代码,direction=2)"><font color=发光字体颜色代码 size=2>要设置的文字</font></table>

小技巧:在设置状字体的时候,如果把字体前加上@,会产生文字平躺的效果.

<font face="@黑体">大家好</font>

跳动文字代码

<MARQUEE behavior=alternate direction=up height=98 scrollAmount=5>

<MARQUEE behavior=altrnate scrollAmount=2 width=460>

<FONT color=red face=楷体_gb2312 size=7>要设置的文字</FONT>

</MARQUEE></MARQUE>

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>

高斯模糊字体

<span style="position:relative; width:200; height:50; filter:glow(color=#9933cc,strength=4); margin-left:4px">

<p>要设置的文字</span>

文字左右反转

<table style="Filter:FlipH">要设置的文字</table>

文字上下反转

<table style="Filter:FlipV">要设置的文字</table>

Blur风吹效果

<table style="Filter:Blur(add=1,direction=45,strength=5)要设置的文字</table>

add:是否要在已经使用Blur滤镜上的html对象上显示原来的模糊方向,0表示不显示

direction:模糊方向

strength:模糊半径大小,单位像素,默认为5,取整

Glow滤镜(光晕效果)

<table style="Filter:Glow(color=#FF0000,strength=5,direction=2)">要设置的文字</table>

color:光晕颜色,需用代码形式

strength:光晕强度,选择型参数,默认为5

direction:光晕方向,选择型参数

Shadow滤镜(阴影效果)

<table style="Filter:Shadow(color=#ff0000,direction=45)">要设置的文字</table>

color:阴影颜色,需用代码形式

strength:阴影强度,选择型参数,默认为5

direction:阴影方向,选择型参数

DropShadow(投影效果)

<table style="filter:dropshadow(color:#6600FF,offx=1,offy=1)">要设置的文字</table>

color:设置投影颜色

offx:在横坐标上的偏移,单位是像素

offy:在纵坐标上的偏移,单位是像素

positive:设置是否从对象的非透明像素建立阴影

⒕ 其它特效代码 (这里的代码没什么实际作用,主要是辅助效果)

鼠标放在图片上会显示说明字的代码

<img src="http://你的图片地址" width=620 height=138 border=0 title="说明文字" align=absmiddle>

自定义鼠标图片

<img src="http://你的图片地址" onload="document.body.style.cursor=\'url(\\\'http://您的鼠标图片的地址,可以是.ani或.cur文件\\\')\'">

主页模块虚线代码

<style type="text/css">

.tb{BORDER-BOTTOM: #000000 1px dotted;BORDER-top: #000000 1px dotted;BORDER-LEFT:

#000000 1px dotted;BORDER-RIGHT: #000000 1px dotted;}

</style>

<table width="100%" border="0" cellspacing="0" cellpadding="0">

<tr>

<td class="tb"><center>要设置的文字</td>

</tr>

</table>

禁止图片下载

<A HREF="javascript:void(0)" onMouseover="alert(\'对不起,图片不能随便下载!\')"><IMG SRC="http://你的图片地址" Align="center" Border="0" width="99" height="50"></A>

⒖ 更多高级功能

QQ在线状态代码 (可在不加好友的情况下临时聊天) [大家只需将下面的QQ号和QQ名称换成自己的即可]

<a target=blank href=http://wpa.qq.com/msgrd?V=1&Uin=QQ号&Site=QQ名称&Menu=yes>

<img border="0" SRC=http://wpa.qq.com/pa?p=1:894132:13 width="80" height="20" alt="点击这里给我发消息"></a>

网络电视代码 (此方法在网速一般的情况下效果不佳,建议不使用)

</textarea><EMBED SRC= http://你的网络电视地址 width=355 height=250 wid</textarea>

自定义模块名称 (大家可以尝试把多个代码加到一个模块,下面就是模块主题,可以自己修改)

<div id="KBStatic" style="position:absolute; left:0px; top:0px; width:200px; height:100px; z-index:25">

自定义皮肤代码 (新建立一个模块,然后在评论中加入这下面的代码,即可改变整个QQ空间整体皮肤) [此功能本人尚未测试,研究后再公布相关详细方法]

<img src="http://你的皮肤地址1" onload="document.getElementById(\'Mlogo\').style.background=\'url(http://你的皮肤地址2)\';document.getElementById(\'all\').style.background=\'url(http://你的皮肤地址3)\';" style="display:none;">

空间导航小人 (类似这种要先建一个文档,再发到自己网络空间的,都属于调用了,没网络空间的就无法尝试了)

新建立一个txt文档,然后在文档中加入下列代码:(修改的地方都已经指明了)

<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("修改成您的语言");

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("修改成您的语言");

Merlin.Play("Greet");

Merlin.Speak("修改成您的语言");

Merlin.Play("Greet");

Merlin.Hide();

}

}

//-->

</SCRIPT>

<SCRIPT>

<!--

chplay()

-->

</SCRIPT>

</body>

然后保存文档,再将文档上传到自己的网络空间,然后记住此文档的网络地址,将地址插入到下代码中:

<iframe id="main" name="I8" frameBorder="0" width="0" height="0" scrolling="no" src="http://这个文档的地址"></iframe>

再把这1行代码放到模块的评论中保存就可以了。

http://www.cnbn.cn/bbs/printpage.asp?BoardID=67&ID=816

你可以去看人家的QQ空间呀,一般上过排行榜的都有代码介绍

你想问的是什么哦