效果图如下:

代码如下:

  1. <!DOCTYPE HTML>
  2. <html style="padding-bottom: 54px;">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  7. <meta name="renderer" content="webkit">
  8. <title>jQuery分享插件jquery.share.js</title>
  9. <meta name="description" content="jQuery分享插件jquery.share.js享到QQ、微信、微博、google、in、tweeter等" />
  10. <meta name="keywords" content="分享插件,社会化分享,jquery.share.js,jquery,jquery插件" />
  11. <link rel="Shortcut icon" href="http://www.jq22.com/favicon.ico" />
  12. <link href="css/demo.css?v3" rel="stylesheet" media="all" />
  13. <!--[if IE]>
  14.  
  15. <style type="text/css">
  16. li.purchase a {
  17. padding-top: 5px;
  18. background-position: 0px -4px;
  19. }
  20.  
  21. li.remove_frame a {
  22. padding-top: 5px;
  23. background-position: 0px -3px;
  24. }
  25. </style>
  26.  
  27. <![endif]-->
  28. <style>
  29. .fdad a {
  30. color: #000;
  31. display: inline-block;
  32. overflow: hidden;
  33. text-overflow: ellipsis;
  34. white-space: nowrap;
  35. }
  36.  
  37. .fdad {
  38. top: 66px;
  39. }
  40.  
  41. .xgcj li {
  42. font-size: 14px;
  43. line-height: 20px;
  44. list-style-type: none;
  45. transition: all 1s ease 0s;
  46. border-radius: 5px;
  47. }
  48.  
  49. .xgcj li:hover {
  50. background-color: #e4e4e4;
  51. }
  52.  
  53. .xgcj {
  54. background-color: rgba(255,255,255,.3);
  55. overflow-x: hidden;
  56. }
  57.  
  58. .xgcj ul {
  59. padding: 10px
  60. }
  61.  
  62. .xgcj h3 {
  63. line-height: 30px;
  64. }
  65.  
  66. .xgcj p {
  67. padding-left: 20px;
  68. font-size: 13px;
  69. display: none;
  70. }
  71.  
  72. .xgcj span {
  73. font-family: "宋体";
  74. }
  75.  
  76. .xgcj li:hover p {
  77. display: block;
  78. }
  79. </style>
  80. <script type="text/javascript">
  81. var txt = "http://www.jq22.com/demo/myshare201704242303";
  82. window.g1 = txt.substr(0, 3);
  83. window.g2 = txt.substr(0, 19);
  84. </script>
  85. <script src="js/pace.min.js" charset="gbk"></script>
  86. <link href="css/pace-theme-barber-shop.css" rel="stylesheet" />
  87. <script src="http://libs.baidu.com/jquery/1.7.0/jquery.min.js"></script>
  88. <script src="js/jquery.qrcode.min.js"></script>
  89. <script type="text/javascript">
  90.  
  91. var theme_list_open = false;
  92.  
  93. $(document).ready(function () {
  94. function fixHeight() {
  95. var headerHeight = $("#switcher").height();
  96. $("#iframe").attr("height", $(window).height() - 54 + "px");
  97. }
  98. $(window).resize(function () {
  99. fixHeight();
  100. }).resize();
  101.  
  102. $('.icon-monitor').addClass('active');
  103.  
  104. $(".icon-mobile-3").click(function () {
  105. $("#by").css("overflow-y", "auto");
  106. $('#iframe-wrap').removeClass().addClass('mobile-width-3');
  107. $('.icon-tablet,.icon-mobile-1,.icon-monitor,.icon-mobile-2,.icon-mobile-3').removeClass('active');
  108. $(this).addClass('active');
  109. return false;
  110. });
  111.  
  112. $(".icon-mobile-2").click(function () {
  113. $("#by").css("overflow-y", "auto");
  114. $('#iframe-wrap').removeClass().addClass('mobile-width-2');
  115. $('.icon-tablet,.icon-mobile-1,.icon-monitor,.icon-mobile-2,.icon-mobile-3').removeClass('active');
  116. $(this).addClass('active');
  117. return false;
  118. });
  119.  
  120. $(".icon-mobile-1").click(function () {
  121. $("#by").css("overflow-y", "auto");
  122. $('#iframe-wrap').removeClass().addClass('mobile-width');
  123. $('.icon-tablet,.icon-mobile,.icon-monitor,.icon-mobile-2,.icon-mobile-3').removeClass('active');
  124. $(this).addClass('active');
  125. return false;
  126. });
  127.  
  128. $(".icon-tablet").click(function () {
  129. $("#by").css("overflow-y", "auto");
  130. $('#iframe-wrap').removeClass().addClass('tablet-width');
  131. $('.icon-tablet,.icon-mobile-1,.icon-monitor,.icon-mobile-2,.icon-mobile-3').removeClass('active');
  132. $(this).addClass('active');
  133. return false;
  134. });
  135.  
  136. $(".icon-monitor").click(function () {
  137. $("#by").css("overflow-y", "hidden");
  138. $('#iframe-wrap').removeClass().addClass('full-width');
  139. $('.icon-tablet,.icon-mobile-1,.icon-monitor,.icon-mobile-2,.icon-mobile-3').removeClass('active');
  140. $(this).addClass('active');
  141. return false;
  142. });
  143. });
  144. </script>
  145. <script type="text/javascript">
  146. function Responsive($a) {
  147. if ($a == true) $("#Device").css("opacity", "100");
  148. if ($a == false) $("#Device").css("opacity", "0");
  149. $('#iframe-wrap').removeClass().addClass('full-width');
  150. $('.icon-tablet,.icon-mobile-1,.icon-monitor,.icon-mobile-2,.icon-mobile-3').removeClass('active');
  151. $(this).addClass('active');
  152. return false;
  153. };
  154. </script>
  155. </head>
  156. <body id="by" style="overflow-y: hidden">
  157. <div id="switcher">
  158. <div class="center">
  159. <ul>
  160. <li class="logoTop" id="sj2"><a href="http://www.jq22.com/jquery-info13612">jQuery分享插件jquery.share.js</a></li>
  161. <div id="Device">
  162. <li class="device-monitor"><a href="javascript:">
  163. <div class="icon-monitor">
  164. </div>
  165. </a></li>
  166. <li class="device-mobile"><a href="javascript:">
  167. <div class="icon-tablet">
  168. </div>
  169. </a></li>
  170. <li class="device-mobile"><a href="javascript:">
  171. <div class="icon-mobile-1">
  172. </div>
  173. </a></li>
  174. <li class="device-mobile-2"><a href="javascript:">
  175. <div class="icon-mobile-2">
  176. </div>
  177. </a></li>
  178. <li class="device-mobile-3"><a href="javascript:">
  179. <div class="icon-mobile-3">
  180. </div>
  181. </a></li>
  182. </div>
  183. <li class="top2" id="sj"><a href="#">手机二维码预览</a><div class="vm">
  184. <div id="output"></div>
  185. <p style="color: #808080">扫一扫,直接在手机上打开</p>
  186. </div>
  187. </li>
  188. <script>
  189. jQuery('#output').qrcode({ width: 150, height: 150, text: window.location.href });
  190. </script>
  191. <li class="remove_frame" style="display:n"><a href="http://www.jq22.com/demo/myshare201704242303" title="移除框架"></a></li>
  192. </ul>
  193. </div>
  194. </div>
  195. <div id="iframe-wrap">
  196. <iframe id="iframe" src="http://www.jq22.com/demo/myshare201704242303" frameborder="0" width="100%"></iframe>
  197. </div>
  198. <div class="fdad">
  199. <div class="fdl">Advertisement</div>
  200. <div class="fdr">x</div>
  201. <div class="fdadnr">
  202. <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  203.  
  204. <ins class="adsbygoogle" style="display:inline-block;width:336px;height:280px" data-ad-client="ca-pub-2935286260943234" data-ad-slot="6063645905"></ins>
  205. <script>
  206. (adsbygoogle = window.adsbygoogle || []).push({});
  207. </script>
  208. <div class="xgcj">
  209. <ul>
  210. <div style="width:100%">
  211. <div style="float:left"><h3>相关插件</h3></div>
  212. <div style="clear: left;"></div>
  213. </div>
  214. <li>
  215. <a href="http://www.jq22.com/jquery-info18298"><span>&gt;</span> jQuery前端excel导入插件xlsx.core.js</a>
  216. <p>此插件作用可以把excel表,导入到网页中用table显示出来</p>
  217. </li>
  218. <li>
  219. <a href="http://www.jq22.com/jquery-info14085"><span>&gt;</span> jQuery社会华分享插件</a>
  220. <p>jQuery社会华分享插件支持微信,QQ,新浪,人人等</p>
  221. </li>
  222. <li>
  223. <a href="http://www.jq22.com/jquery-info761"><span>&gt;</span> jQuery网站引导插件joyride</a>
  224. <p>jQuery网站引导插件joyride</p>
  225. </li>
  226. <li>
  227. <a href="http://www.jq22.com/jquery-info9389"><span>&gt;</span> html5读取二维码</a>
  228. <p>手机端web调用摄像头读取解析二维码</p>
  229. </li>
  230. <li>
  231. <a href="http://www.jq22.com/jquery-info17899"><span>&gt;</span> CSS3开关切换按钮</a>
  232. <p>多组超具创意的CSS3开关切换按钮</p>
  233. </li>
  234. </ul>
  235. </div>
  236. </div>
  237. <script type="text/javascript">
  238. $(document).ready(function () {
  239. $(".fdr").click(function () {
  240. $(".fdad").hide();
  241. });
  242. });
  243. </script>
  244. <script>
  245. var _hmt = _hmt || [];
  246. (function () {
  247. var hm = document.createElement("script");
  248. hm.src = "//hm.baidu.com/hm.js?b3a3fc356d0af38b811a0ef8d50716b8";
  249. var s = document.getElementsByTagName("script")[0];
  250. s.parentNode.insertBefore(hm, s);
  251. })();
  252. </script>
  253. </body>
  254. </html>

Jquery分享插件的更多相关文章

  1. 分享7款非常实用的jQuery/CSS3插件演示和源码

    上次我们分享了15款效果很酷的最新jQuery/CSS3特效,非常不错,今天要分享7个非常实用的jQuery/CSS3插件演示和源码,一起来看看. 1.jQuery ajax点击地图显示商家网点分布 ...

  2. 分享8款绚丽的HTML5/jQuery特效插件

    有几天没有分享前端资源了,今天要向大家分享15款非常给力的HTML5/jQuery特效插件,废话少说,一起来看看. 1.CSS3图片重力感应特效 很酷的一款CSS3模拟重力感应特效,你可以拖动图片来甩 ...

  3. 分享一款页面视差滚动切换jquery.localscroll插件

    今天给大家分享一款页面视差滚动切换jquery.localscroll插件. 滚动鼠标液动条看下页面的切换效果.该插件适用浏览器:IE8.360.FireFox.Chrome.Safari.Opera ...

  4. 分享在MVC3.0中使用jQuery DataTable 插件

    前不久在网络上看见一个很不错的jQuery的DataTable表格插件.后来发现在MVC中使用该插件的文章并不多.本文将介绍在MVC3.0如何使用该插件.在介绍该插件之前先简单介绍一下,推荐该插件的原 ...

  5. 分享JQuery动画插件Velocity.js的六种列表加载特效

    分享JQuery动画插件Velocity.js的六种列表加载特效.在这款实例中给中六种不同的列表加载效果.分别为从上飞入.从右侧飞入.从左侧飞入.和渐显.一起看下效果图: 在线预览   源码下载 实现 ...

  6. 《JQuery常用插件教程》系列分享专栏

    <JQuery常用插件教程>已整理成PDF文档,点击可直接下载至本地查阅https://www.webfalse.com/read/201719.html 文章 使用jquery插件实现图 ...

  7. 15 款 jQuery 社交分享插件

    过去几年中社交媒体越来越流行了,能够分享音乐.视频.图像甚至是其他的 docs 文档到互联网上去,这样子还能够提高页面的点击量.通常,一些社交媒体插件都能允许你的用户分享你网站上的内容到其他的社交平台 ...

  8. 雷林鹏分享:jQuery EasyUI 插件

    jQuery EasyUI 插件 jQuery EasyUI 提供了用于创建跨浏览器网页的完整的组件集合,包括功能强大的 datagrid(数据网格).treegrid(树形表格). panel(面板 ...

  9. 使用jQuery.form插件,实现完美的表单异步提交

    传送门:异步编程系列目录…… 时间真快,转眼一个月快结束了,一个月没写博客了!手开始生了,怎么开始呢…… 示例下载:使用jQuery.form插件,实现完美的表单异步提交.rar 月份的尾巴,今天的主 ...

随机推荐

  1. Kibana 搜索语法

    Kibana 搜索语法 Kibana 支持三种搜索语法, 分别是 Lucene query 语法, 基于 json 的 ES query语法, 以及 Kuery 语法. 前两种语法可以直接使用, Ku ...

  2. 新浪某站CRLF Injection导致的安全问题

    CRLF攻击的一篇科普:新浪某站CRLF Injection导致的安全问题(转) 转:https://www.leavesongs.com/PENETRATION/Sina-CRLF-Injectio ...

  3. luogu 2216 理想的正方形 单调队列(其实没有DP)

    #include<bits/stdc++.h> using namespace std; ; ; int a,b,n; int g[A][A],q[A][N],Q[A][N]; int h ...

  4. RMQ st算法 区间最值模板

    #include<bits/stdc++.h> ; ; int f[N][Logn],a[N],lg[N],n,m; int main(){ cin>>n>>m; ...

  5. mysql数值运算符和函数

    mysql> |+------------+1 row in set (0.00 sec) mysql> SELECT FLOOR(3.99);  # 舍1取整+------------- ...

  6. vs 调式连接oracle报错问题32,64位问题

    wind8 系统选择项目时生成目标平台选择为X86 报错“System.Exception”类型的未经处理的异常在 WindowsFormsApplication1.exe 中发生 其他信息: 尝试加 ...

  7. Python之进程 2 - multiprocessing模块

    ​ 我们已经了解了,运行中的程序就是一个进程.所有的进程都是通过它的父进程来创建的.因此,运行起来的python程序也是一个进程,那么我们也可以在程序中再创建进程.多个进程可以实现并发效果,也就是说, ...

  8. python发送网络请求

    1.使用urllib模块(使用不方便,建议使用第二种) get请求: res = urlopen(url) from urllib.request import urlopen url = 'http ...

  9. 标准盒模型、IE盒模型

    结论:IE盒模型是陈旧知识点,除了帮助理解css3 box-sizing: border-box(等分宽度布局)外没什么用. 标准(W3C)模型中:CSS中的宽(width) = 内容 (conten ...

  10. linux scanf函数%d后加空白

    参考链接: https://bbs.csdn.net/topics/390389059 关键点: scanf()中空白字符(包括/n,space)会使scanf()函数在读操作中略去输入中的零个或者一 ...