分享的js代码,从w3c上拓下来的
2015-06-23 15:22
411 查看
<!DOCTYPE html>
<html>
<head>
<title></title>
<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"slide":{"type":"slide","bdImg":"2","bdPos":"right","bdTop":"100"}};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>
</head>
<body>
</body>
</html>
<html>
<head>
<title></title>
<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"slide":{"type":"slide","bdImg":"2","bdPos":"right","bdTop":"100"}};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>
</head>
<body>
</body>
</html>
相关文章推荐
- json中key大小写转换
- js新增ul
- JS动态标签创建
- JavaScript学习笔记(对象)
- bzoj1013 [JSOI2008]球形空间产生器sphere
- SeaJS入门
- js编写中遇到的问题-TypeError: document.body is null
- js遍历数组的错误方法
- js游戏引擎探索指南之Collie
- json学习小记
- JavaScript instanceof 的用法
- 深入了解javascript第一篇实现篇
- JSP验证码的实现
- 腾讯QQ音乐网页版 音频初始化模块解压混淆js源码
- javascript 数据类型
- JS小知识点三(for gis):openAtStart
- js去除空格(trim方法)
- js 验证身份证号码
- strusts2_json
- JavaScript 可变长度参数函数的定义