您好,欢迎来到源码搜藏!分享精神,快乐你我!提示:担心找不到本站?在百度搜索“源码搜藏”,网址永远不丢失!
  • 首 页
  • 在线工具
  • 当前位置:首页 > 网页特效 > jQuery特效 >

    jQuery等高排列插件matchHeight

    时间:2014-06-25 17:28 来源:互联网 作者:源码搜藏 浏览:收藏 挑错 推荐 打印

    效果预览 进入下载地址列表

    jQuery等高排列插件matchHeightjQuery等高排列插件matchHeight是一款响应式平等高度插件jquery.matchHeight。jQuery响应式瀑布流jQuery插件


    <script type="text/javascript" src="js/jquery.min.js"></script>
            <script type="text/javascript" src="js/jquery.matchHeight.js"></script>
            <script type="text/javascript">
                (function() {


                    /* matchHeight example */


                    $(function() {
                        // apply your matchHeight on DOM ready (they will be automatically re-applied on load or resize)


                        // get test settings
                        var byRow = $('body').hasClass('test-rows');


                        // apply matchHeight to each item container's items
                        $('.items-container').each(function() {
                            $(this).children('.item').matchHeight(byRow);
                        });


                        // example of removing matchHeight
                        $('.test-remove').click(function() {
                            $('.items-container').each(function() {
                                $(this).children('.item').matchHeight('remove');
                            });
                        });
                    });


                })();
            </script>

    jQuery等高排列插件matchHeight由源码搜藏网整理,转载请注明出处http://www.codesocang.com/texiao/jQuerytexiao/9586.html 源码搜藏承诺:本站所有资源无病毒,无弹窗,无干扰链接!