点击按钮关注新浪微博,自动加关注代码,这是根据新浪官方代码修改的,大家可以自定义一下。把uid后面的数字修改为自己微博账号,样式也可以自己修改,也可进入微博组件中自己更换样式。 本文示例: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>点击按钮自动加关注代码——新浪微博</title> </head> <body> <iframe allowtransparency="" border="0" frameborder="0" height="22" marginheight="0" marginwidth="0" scrolling="no" src="http://widget.weibo.com/relationship/followbutton.php?width=200&height=22&uid=liehuonet&style=5&btn=red&dpc=1" style="width: 64px; height: 22px;" width="200"></iframe> </body> </html><div style="text-align:center;margin:30px 0 0 0;"><hr style="color:#999;height:1px;">如不能显示效果,请按Ctrl+F5刷新本页,更多网页代码:<a href='http://www.veryhuo.com/' target='_blank'>http://www.veryhuo.com/</a></div>提示:可修改后代码再运行! 文章导航 jQuery配合Css模拟五星级评分效果代码网页元素onmouseover实现鼠标响应图片变换