<script type=”text/javascript” src=”http://widget.renren.com/js/rrshare.js”></script>
<a name=”xn_share” onclick=”shareClick()” type=”button_large” href=”javascript:;”></a>
<script type=”text/javascript”>
function shareClick() {
var rrShareParam = {
resourceUrl : ”, //分享的资源Url
srcUrl : ”, //分享的资源来源Url,默认为header中的Referer,如果分享失败可以调整此值为resourceUrl试试
pic : ”, //分享的主题图片Url
title : ”, //分享的标题
description : ” //分享的详细描述
};
rrShareOnclick(rrShareParam);
}
</script>
<script type=”text/javascript” src=”http://widget.renren.com/js/forward.js” async=”true”></script>