• 分享功能


    <a href="http://help.360buy.com/help/question-134.html" target="_blank" title="查看推荐有礼规则">推荐有礼</a>:</span>
          <div>
          <a href="javascript:void(0)" onclick="jdPshowRecommend('http://v.t.sina.com.cn/share/share.php?appkey=2445336821','sina')" id="site-sina" title="推荐到新浪微博">sina</a>
          <a href="javascript:void(0)" onclick="jdPshowRecommend('http://v.t.qq.com/share/share.php?source=1000002&site=http://www.360buy.com','qzone')" id="site-qzone" title="推荐到腾讯微博">qzone</a>
          <a href="javascript:void(0)" onclick="jdPshowRecommend('http://share.renren.com/share/buttonshare/post/1004?','renren')"  id="site-renren" title="推荐到人人">renren</a>
                            <a href="javascript:void(0)" onclick="jdPshowRecommend('http://www.kaixin001.com/repaste/share.php?','kaixing')" id="site-kaixing" title="推荐到开心网">kaixing</a>
          <a href="javascript:void(0)" onclick="jdPshowRecommend('http://www.douban.com/recommend/?','douban')"  id="site-douban" title="推荐到豆瓣">douban</a>           
          <a href="javascript:void(0)" onclick="jdPshowRecommend('http://profile.live.com/badge/?','MSN')" id="site-msn" title="推荐到MSN">msn</a>
          <a href="javascript:void(0)" id="site-qq" title="通过QQ发送链接给好友">qq</a>
          <a target="_blank" href="http://club.360buy.com/jdFriend/tjyl.aspx?product=1000401879" id="site-email" title="邮件" target="_blank">email</a>
          </div>
         </li>
         <script type="text/javascript">
             function jdPshowRecommend(url,stype) {
                 var title = "奥莱克(Alllike) PDVD-A28 平板移动便携式DVD 9寸高清屏 支持TV/USB/插卡/游戏/耳机 黑色";
                 var content = "我在@京东商城 发现了一个非常不错的商品:奥莱克(Alllike) PDVD-A28 平板移动便携式DVD 9寸高清屏 支持TV/USB/插卡/游戏/耳机 黑色,京东价:¥655.00。感觉不错,分享一下";
                 var img ="http://img10.360buyimg.com/n1/5308/faf618c4-0154-4c1a-a518-81b19f2c744e.jpg";
                 var productUrl ="http://www.360buy.com/product/1000401879.html?sid=";
                 var pin = readCookie("pin")||"";
                 if (stype == "qzone") {
                     url = url + "&title=" + content + "&pic=" + img + "&url=" + productUrl + pin;
                 }
                 if (stype == "sina") {
                     url = url + "&title=" + content + "&pic=" + img + "&url=" + productUrl + pin;
                 }
                 if (stype == "renren") {
                     url = url + "title=" + title +"&content="+ content + "&pic=" + img + "&url=" + productUrl + pin;
                 }
                 if (stype == "kaixing") {
                     url = url + "rtitle=" + title + "&rcontent=" + content + "&rurl=" + productUrl + pin;
                 }
                 if (stype == "douban") {
                     url = url + "title=" + title + "&comment=" + content + "&url=" + productUrl + pin;
                 }
                 if (stype == "MSN") {
                     url = url + "url=" + productUrl + pin + "&title=" + title + "&description=" + content + "&screenshot=" + img;
                 }
                 window.open(encodeURI(url),"","height=500, width=600");
             }
         </script>
  • 相关阅读:
    lufylegendRPG游戏引擎 Yorhom's Game Box
    讨论交流 Yorhom's Game Box
    货币之间的大小写转换
    Unreal3的D3D渲染器部分
    Linxu宿主目录
    用于主题检测的临时日志(b25e234297d442ccba394dd2241308d2 3bfe001a32de4114a6b44005b770f6d7)
    Linux命令 文件命名规则 基础
    C#_GDI_文章粗略整合
    由IDisposable接口导致的using使用 以及using的其他用法
    ADO.NET基础备忘1_SqlConnection SqlCommand SqlDataReader
  • 原文地址:https://www.cnblogs.com/scottpei/p/2116476.html
Copyright © 2020-2023  润新知