</pre><pre name="code" class="html"><!DOCTYPE html >
<html >
<head>
<meta http-equiv= "Content-Type" content= "text/html; charset=utf-8" />
<title>QQ空间分享</title>
<script type= "text/javascript" >
function qqShare(){
var title="呵呵呵呵" ;
url="www.baidu.com"
picurl="www.baidu.com"
var shareqqzonestring='http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?summary='+title+'&url='+url+'&pics='+picurl;
window.open(shareqqzonestring,'newwindow','height=400,width=400,top=100,left=100');
}
</script>
</head>
<body >
<input value="分享到空间" type="button" οnclick="qqShare()">
</body>
</html>
自定义qq空间分享按钮
最新推荐文章于 2023-03-26 13:35:56 发布