zoukankan      html  css  js  c++  java
  • 网页一键分享按钮HTML代码

    <div class="bdsharebuttonbox">
    <a href="#" class="bds_more" data-cmd="more"></a>
    <a href="#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间"></a>
    <a href="#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"></a>
    <a href="#" class="bds_tqq" data-cmd="tqq" title="分享到腾讯微博"></a>
    <a href="#" class="bds_renren" data-cmd="renren" title="分享到人人网"></a>
    <a href="#" class="bds_weixin" data-cmd="weixin" title="分享到微信"></a>
    </div>
    <script>
    window._bd_share_config={
            "common":{
                "bdPopTitle":"您的自定义pop窗口标题",
                "bdSnsKey":{},
                "bdText":"此处填写自定义的分享内容", 
                "bdMini":"2",
                "bdMiniList":false,
                "bdPic":"http://localhost/centlight/public/attachment/201410/24/14/5449ef39574f5_282x220.jpg", /* 此处填写要分享图片地址 */
                "bdStyle":"0",
                "bdSize":"16"
                },
            "share":{}
    };
    with(document)0[
                    (getElementsByTagName('head')[0]||body).
                    appendChild(createElement('script')).
                    src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)
    ];
            </script>

  • 相关阅读:
    如何分析页面性能?
    Java io包 ByteArrayInputStream&ByteArrayOutStream
    Java io包 inputstream&outputstream
    Java executors创建线程池和使用ThreadPoolExecutor
    Android异步任务处理
    TCP报文格式
    Java 异常
    死锁
    计算机网络-传输层
    Linux 进程同步和通信
  • 原文地址:https://www.cnblogs.com/zpblogs/p/11400204.html
Copyright © 2011-2022 走看看