就想游城市

快捷导航
登录 |注册居民 |
查看: 3518|回复: 2

把别人漂亮的QQ空间克隆一份

[复制链接]
发表于 2008-5-26 12:11:28 | 显示全部楼层 |阅读模式

加入城市,听原创电台,写情感文字,分享你的一切。

您需要 登录 才可以下载或查看,没有帐号?注册居民

x

 许多QQ空间的新手不会搜集代码,看着别人做的QQ空间超酷,自己却不知怎么入手。学习从模仿开始,我们可以先把别人的空间代码复制一份,弄个和他一样的QQ空间来研究研究。

  第一步:首先我找一位朋友的QQ空间(在复制前最好先征得对方的同意),呵呵~卡通的透明背景Flash、飘移的文字……估计大多数人都喜欢这种布局吧(如图1)。

QQ粉丝网

图1

  第二步:找到要复制的QQ空间后,记下对方的QQ号码,接着在IE浏览器中输入“http://q-zone.qq.com/fcg-bin/cgi_access_self.fcg?uin=对方的QQ号码&type=0”,此时会打开一个XML文件,在QQ空间中所有自定义的模块和设置都在这个XML文件里了,以下是部分代码: 

<?xml version="1.0" encoding="gb2312" ?>
- <data>
  <style>7</style>
  <scenari_no>496</scenari_no>
  <icoke>-1</icoke>
- <items>
- <item>
  <type>1</type>
  <itemno>1333</itemno>
  <posx>0</posx>
  <posy>0</posy>
  <width>0</width>
  <height>0</height>
  <zindex>0</zindex>
  </item>
- <item>
  <type>6</type>
  <itemno>703</itemno>
  <posx>706</posx>
  <posy>280</posy>
  <width>210</width>
  <height>120</height>
  <zindex>0</zindex>
  </item>
- <item>
  <type>7</type>
  <itemno>3942</itemno>
  <posx>0</posx>
  <posy>0</posy>
  <width>1</width>
  <height>73</height>
  <zindex>0</zindex>
  </item>

  </items>

  第三步:新建一个文本文件,接着将XML文件的“<itemno></itemno>”中的数字以如下形式进行整理:

  133370339423942……

  第四步:在IE浏览器中输入“http://q-zone.qq.com/fcg-bin/cgi_diy_window.fcg?uin=对方的QQ号码&type=11&wndid=在文本文件中整理的数字”,呵呵~打开后你看到了什么?是不是有些像自定义的代码呢?下面是部分代码:

<?xml version="1.0" encoding="gb2312" ?>

  - <data>
- <window>
  <id>219107532</id>
  <title>滚动条</title>
- <item>
  <id>18134</id>
  <style>0</style>
  <img>http://</img>
  <title />
  <url>http://</url>
  <content><img src="Javascript:document.getElementById

  ('initd').style.overflow='hidden';"></content>
  </item>
  </window>
- <window>
  <id>220026097</id>
  <title>flash2</title>
- <item>
  <id>17966</id>
  <style>0</style>
  <img>http://</img>
  <title />
  <url>http://</url>
  <content><img src="javascript:document.getElementById ('Mlogo').innerHTML+='<div

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

  src=\'http://imgfree.21cn.com/free/flash/9.swf\' quality=high wmode=\'transparent\'

  WIDTH=\'925\' HEIGHT=\'655\' TYPE=\'application/x-shockwave-flash\'></div>';"></content>
  </item>
  </window>
- <window>
  <id>216267259</id>
  <title>鼠标</title>
- <item>
  <id>17780</id>
  <style>0</style>
  <img>http://</img>

  <title />
  <url>http://</url>
  <content><img src="javascript:document.body.style.cursor='url

  (\'http://qqjia.com/learn/q-zone/ani6/1.ani\')'"></content>
  </item>
  </window>

对,就是它!在打开页面中黑色显示的文字就是该QQ空间自定义的模块代码了。

  第五步:你现在要做的就是将页面中黑色的自定义代码一一添加到你的QQ空间里即可。

[ 本帖最后由 ﹟#.丑闻﹣ 于 2008-5-28 17:25 编辑 ]
这是个寂寞却幸福的城市,这是个声音与耳朵相恋的城市 93you.com
发表于 2008-5-26 20:00:39 | 显示全部楼层
怎么图片看不到啊
这是个寂寞却幸福的城市,这是个声音与耳朵相恋的城市 93you.com
 楼主| 发表于 2008-5-27 08:29:12 | 显示全部楼层
:D 看不到就对了
这是个寂寞却幸福的城市,这是个声音与耳朵相恋的城市 93you.com
您需要登录后才可以回帖 登录 | 注册居民

本版积分规则

唯一的遗憾是我们连一张合照都没有。

就想游设计 ( 桂ICP备13002329 | 桂公网安备 45030502000286号 )|手机版|Archiver|Sitemap

Powered by Discuz! © 2007-2025 就想游城市原创风格 Jokke Design

GMT+8, 2025-6-7 03:43