PHP群:95885625 Hbuilder+MUI群:81989597 站长QQ:634381967
    您现在的位置: 首页 > Jquery插件 > jQuery弹出层 > 正文

    jquery 图片可旋转弹出展示框插件-wowwindow

    作者:admin来源:网络浏览:时间:2014-04-29 15:08:33我要评论
    分享到

    内容介绍

    jquery 图片可旋转弹出展示框插件-wowwindow,WowWindow是Lightbox的一个替代,更加有趣,更加强大。该插件用到了css3,所以在浏览器的支持上将会有一些不足。如果你正在寻找Lightbox的替代插件,那么WowWindow将是一个不错的选择。
    核心代码

     
     
    复制代码代码如下:
    1. <script type="text/javascript">
    2.         $(document).ready(function() {
    3.             $('.popups a').wowwindow({
    4.                 draggable: true
    5.             });
    6.             $('.popups-rotate a').wowwindow({
    7.                 rotate: true,
    8.                 draggable: true
    9.             });
    10.             $('.popups-rotate-multiple a').wowwindow({
    11.                 rotate: true,
    12.                 rotations: 3,
    13.                 draggable: true
    14.             });//B5教程网
    15.  
    16.             /**
    17.              * The YouTube IFRAME doesn't work on local content,
    18.              * so for the purposes of this demo, the 'videoIframe'
    19.              * option has been set to false.  It is recommended to
    20.              * keep it set to true (the default) for compatibility
    21.              * with devices that are not Flash enabled.
    22.              */
    23.  
    24.             $('a[rel=video]').wowwindow({
    25.                 draggable: true,
    26.                 height: 225,
    27.                 width: 400,
    28.                 videoIframe: false
    29.             });
    30.             $('a[rel=video_rotate]').wowwindow({
    31.                 draggable: true,
    32.                 rotate: true,
    33.                 height: 225,
    34.                 width: 400,
    35.                 videoIframe: false
    36.             });
    37.             $('a[rel=video_multi_rotate]').wowwindow({
    38.                 draggable: true,
    39.                 rotate: true,
    40.                 rotations: 3,
    41.                 height: 225,
    42.                 width: 400,
    43.                 videoIframe: false
    44.             });//https://b5.mxunkeji.com
    45.  
    46.             $('#youtube-auto-thumbnails a').wowwindow({
    47.                 draggable: true,
    48.                 width: 480,
    49.                 height: 390,
    50.                 videoIframe: false,
    51.                 autoYouTubeThumb: 'default'
    52.             });
    53.         });
    54.     </script>

    下载资源:148 下载积分:0
    转载请注明(B5教程网)原文链接:https://b5.mxunkeji.com/content-88-166-1.html