麻烦问下各位大虾,我实现一个js的分享功能
(function(){
  var _w = 72 , _h = 16;
  var param = {
  url:location.href,
  type:'3',
  count:'1', /**是否显示分享数,1显示(可选)*/
  appkey:document.location, /**您申请的应用appkey,显示分享来源(可选)*/
  title:document.title, /**分享的文字内容(可选,默认为所在页面的title)*/
  pic:'<%=basePath%>images/test1.jpg', /**分享图片的路径(可选)*/
  ralateUid:'', /**关联用户的UID,分享微博会@该用户(可选)*/
  rnd:new Date().valueOf()
  }
  var temp = [];
  for( var p in param ){
  temp.push(p + '=' + encodeURIComponent( param[p] || '' ) )
  }
  document.write('<iframe allowTransparency="true" frameborder="0" scrolling="no" src="http://hits.sinajs.cn/A1/weiboshare.html?' + temp.join('&') + '" width="'+ _w+'" height="'+_h+'"></iframe>')
})()在新浪官网上copy的js,文字可以发送,但是pic 图片发送不过去,在线等,急啊..麻烦各位大虾了!!!!