怎么在网页上嵌入新浪微博页面

 

模板代码如下:

1 <div id="weibo" class="panel">  
2     <ul class="panel_head"><span>test-新浪微博</span></ul>  
3     <ul class="panel_body">  
4         <iframe id="weibo" style="width:500px; height:500px;" frameborder="0" scrolling="no" src="http://v.t.sina.com.cn/widget/widget_blog.php?uid=123456789"></iframe>  
5     </ul>  
6 </div>  

如果想要更换,则只需要改uid,如果要改高度和宽度,则改width和height即可;

posted @ 2016-08-08 09:56  KSnow  阅读(5599)  评论(0编辑  收藏  举报