让博客显示QQ签名
{Graygift} 2009年07月19日 星期天12:57 下午. 点击量:67 次
看到我主页上面的留言了没有,其实我是看到虫下米网的标题才发现的,跑到Google上搜索了一遍!发现了一个软件服务,那就是QQ滔滔。
QQ推出的滔滔。你可以在使用网页、QQ机器人、QQ签名、手机四种渠道更新,真正的随时随地!加入代码可以使你的博客显示你的滔滔,就好比微博客一样。
使用方法如下:先去QQ滔滔注册;登录以后在“插件”-“JavaScript插件”得到javascript代码。把它加入到博客文件就可以了!
具体方法我是查看虫下米的源代码:
html代码:
1 2 3 4 5 | <div id="taotao"> <div id="description"> <script type="text/javascript">var taotao_qq=888888; var taotao_num=1;var taotao_type=0;</script><script type="text/javascript" charset="utf-8" src="http://www.taotao.com/js/dkapi.js"></script> </div> </div> |
把888888换成自己的QQ号就行
css代码:
1 2 3 4 5 6 7 8 | #taotao{font-size:11px;left:50%;/*离父容器左边的距离是父容器宽度50%*/ margin-left:-150px; /*这个是要居中div的宽度一半*/ position:absolute; /*绝对定位*/ top:33px;/*距顶部高度 */color: #A8A8A8} /*意思就是,tiaotao的左上顶点在父容器的中间,再左移本身150px, 上移本身宽一半,高的33px */ #description table{display:none;} /*消除description的table*/ #description{ padding:0 5px; width:440px; /*这个自己调*/} |
感谢虫下米

对《让博客显示QQ签名》评论