发新话题
打印

[QQ技巧]把别人漂亮的QQ空间克隆一份

[QQ技巧]把别人漂亮的QQ空间克隆一份

<FONT size=2>许多</FONT><A href="http://www.85cn.net/Article_Class.asp?ClassID=12" target=_blank><FONT color=#0000ff size=2>QQ空间</FONT></A><FONT size=2>的新手不会搜集代码,看着别人做的</FONT><A href="http://www.85cn.net/Article_Class.asp?ClassID=12" target=_blank><FONT color=#0000ff size=2>QQ空间</FONT></A><FONT size=2>超酷,自己却不知怎么入手。学习从模仿开始,我们可以先把别人的空间代码复制一份,弄个和他一样的</FONT><A href="http://www.85cn.net/Article_Class.asp?ClassID=12" target=_blank><FONT color=#0000ff size=2>QQ空间</FONT></A><FONT size=2>来研究研究。 </FONT>
<P><FONT size=2>  <B><FONT color=#cc3300>第一步:</FONT></B>首先我找一位朋友的</FONT><A href="http://www.85cn.net/Article_Class.asp?ClassID=12" target=_blank><FONT color=#0000ff size=2>QQ空间</FONT></A><FONT size=2>(在复制前最好先征得对方的同意),呵呵~卡通的透明背景Flash、飘移的文字……估计大多数人都喜欢这种布局吧(如图1)。</FONT></P>
<P><IMG style="BORDER-LEFT-COLOR: #000000; BORDER-BOTTOM-COLOR: #000000; BORDER-TOP-COLOR: #000000; BORDER-RIGHT-COLOR: #000000" alt=点击放大此图片 src="http://www.85cn.net/UploadFiles/2006828101147734.gif" onload="return imgzoom(this,550)" border=1></P>
<P align=center><FONT size=2>图1</FONT></P>
<P><FONT size=2>  <B><FONT color=#cc3300>第二步:</FONT></B>找到要复制的<A href="http://www.85cn.net/Article_Class.asp?ClassID=12" target=_blank><FONT color=#0000ff>QQ空间</FONT></A>后,记下对方的QQ号码,接着在IE浏览器中输入“http://q-zone.qq.com/fcg-bin/cgi_access_self.fcg?uin=对方的QQ号码&type=0”,此时会打开一个XML文件,在<A href="http://www.85cn.net/Article_Class.asp?ClassID=12" target=_blank><FONT color=#0000ff>QQ空间</FONT></A>中所有自定义的模块和设置都在这个XML文件里了,以下是部分代码: </FONT></P>
<P><FONT size=2>&lt;?xml version="1.0" encoding="gb2312" ?&gt; <BR>- &lt;data&gt;<BR>  &lt;style&gt;7&lt;/style&gt; <BR>  &lt;scenari_no&gt;496&lt;/scenari_no&gt; <BR>  &lt;icoke&gt;-1&lt;/icoke&gt; <BR>- &lt;items&gt;<BR>- &lt;item&gt;<BR>  &lt;type&gt;1&lt;/type&gt; <BR>  &lt;itemno&gt;1333&lt;/itemno&gt; <BR>  &lt;posx&gt;0&lt;/posx&gt; <BR>  &lt;posy&gt;0&lt;/posy&gt; <BR>  &lt;width&gt;0&lt;/width&gt; <BR>  &lt;height&gt;0&lt;/height&gt; <BR>  &lt;zindex&gt;0&lt;/zindex&gt; <BR>  &lt;/item&gt;<BR>- &lt;item&gt;<BR>  &lt;type&gt;6&lt;/type&gt; <BR>  &lt;itemno&gt;703&lt;/itemno&gt; <BR>  &lt;posx&gt;706&lt;/posx&gt; <BR>  &lt;posy&gt;280&lt;/posy&gt; <BR>  &lt;width&gt;210&lt;/width&gt; <BR>  &lt;height&gt;120&lt;/height&gt; <BR>  &lt;zindex&gt;0&lt;/zindex&gt; <BR>  &lt;/item&gt;<BR>- &lt;item&gt;<BR>  &lt;type&gt;7&lt;/type&gt; <BR>  &lt;itemno&gt;3942&lt;/itemno&gt; <BR>  &lt;posx&gt;0&lt;/posx&gt; <BR>  &lt;posy&gt;0&lt;/posy&gt; <BR>  &lt;width&gt;1&lt;/width&gt; <BR>  &lt;height&gt;73&lt;/height&gt; <BR>  &lt;zindex&gt;0&lt;/zindex&gt; <BR>  &lt;/item&gt;<BR>  &lt;/items&gt;</FONT></P>
<P><FONT size=2>  <B><FONT color=#cc3300>第三步:</FONT></B>新建一个文本文件,接着将XML文件的“&lt;itemno&gt;&lt;/itemno&gt;”中的数字以如下形式进行整理:</FONT></P>
<P><FONT size=2>  1333|703|3942|3942……</FONT></P>
<P><FONT size=2>  <B><FONT color=#cc3300>第四步:</FONT></B>在IE浏览器中输入“http://q-zone.qq.com/fcg-bin/cgi_diy_window.fcg?uin=对方的QQ号码&type=11&wndid=在文本文件中整理的数字”,呵呵~打开后你看到了什么?是不是有些像自定义的代码呢?下面是部分代码:</FONT></P>
<P><FONT color=#ff0000> </FONT></P>
<P><FONT size=2>&lt;?xml version="1.0" encoding="gb2312" ?&gt; <BR>- &lt;data&gt;<BR>- &lt;window&gt;<BR>  &lt;id&gt;219107532&lt;/id&gt; <BR>  &lt;title&gt;滚动条&lt;/title&gt; <BR>- &lt;item&gt;<BR>  &lt;id&gt;18134&lt;/id&gt; <BR>  &lt;style&gt;0&lt;/style&gt; <BR>  &lt;img&gt;http://&lt;/img&gt; <BR>  &lt;title /&gt; <BR>  &lt;url&gt;http://&lt;/url&gt; <BR>  &lt;content&gt;&lt;img src="javas&#99;ript:document.getElementById</FONT></P>
<P><FONT size=2>  ('initd').style.overflow='hidden';"&gt;&lt;/content&gt; <BR>  &lt;/item&gt;<BR>  &lt;/window&gt;<BR>- &lt;window&gt;<BR>  &lt;id&gt;220026097&lt;/id&gt; <BR>  &lt;title&gt;flash2&lt;/title&gt; <BR>- &lt;item&gt;<BR>  &lt;id&gt;17966&lt;/id&gt; <BR>  &lt;style&gt;0&lt;/style&gt; <BR>  &lt;img&gt;http://&lt;/img&gt; <BR>  &lt;title /&gt; <BR>  &lt;url&gt;http://&lt;/url&gt; <BR>  &lt;content&gt;&lt;img src="javas&#99;ript:document.getElementById ('Mlogo').&#105;nnerHTML+='&lt;div </FONT></P>
<P><FONT size=2>  style=\'position:absolute;top:0;left:0;\'&gt;&lt;EMBED </FONT></P>
<P><FONT size=2>  src=\'/article/UploadPic/2006-8/2006821225429247.swf\' quality=high wmode=\'transparent\' </FONT></P>
<P><FONT size=2>  WIDTH=\'925\' HEIGHT=\'655\' TYPE=\'application/x-shockwave-flash\'&gt;&lt;/div&gt;';"&gt;&lt;/content&gt; <BR>  &lt;/item&gt;<BR>  &lt;/window&gt;<BR>- &lt;window&gt;<BR>  &lt;id&gt;216267259&lt;/id&gt; <BR>  &lt;title&gt;鼠标&lt;/title&gt; <BR>- &lt;item&gt;<BR>  &lt;id&gt;17780&lt;/id&gt; <BR>  &lt;style&gt;0&lt;/style&gt; <BR>  &lt;img&gt;http://&lt;/img&gt; <BR>  &lt;title /&gt; <BR>  &lt;url&gt;http://&lt;/url&gt; <BR>  &lt;content&gt;&lt;img src="javas&#99;ript:document.body.style.cursor='url</FONT></P>
<P><FONT size=2>  (\'http://qqjia.com/learn/q-zone/ani6/1.ani\')'"&gt;&lt;/content&gt; <BR>  &lt;/item&gt;<BR>  &lt;/window&gt;</FONT></P>
<P><FONT size=2>  对,就是它!在打开页面中黑色显示的文字就是该<A href="http://www.85cn.net/Article_Class.asp?ClassID=12" target=_blank><FONT color=#0000ff>QQ空间</FONT></A>自定义的模块代码了。</FONT></P>
<P><FONT size=2>  <B><FONT color=#cc3300>第五步:</FONT></B>你现在要做的就是将页面中黑色的自定义代码一一添加到你的<A href="http://www.85cn.net/Article_Class.asp?ClassID=12" target=_blank><FONT color=#0000ff>QQ空间</FONT></A>里即可。</FONT></P>

TOP

发新话题