首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >jQuery等高列

jQuery等高列
EN

Stack Overflow用户
提问于 2011-08-14 06:24:28
回答 2查看 1.2K关注 0票数 1

http://shoes4school.project-x.me/get-involved.html

有没有人能告诉我我做错了什么? jQuery专栏的假...在尝试了几种不同的方法后,我无法让它工作……

我使用的代码是...我的url在上面。

内容块$(“.content- $j(".content-block").height(Math.max($("#right").height(),”).height());

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2012-08-03 11:04:06

如何在网页上添加栏目

代码语言:javascript
复制
(function($){
// add a new method to JQuery

$.fn.equalHeight = function() {
   // find the tallest height in the collection
   // that was passed in (.column)
    tallest = 0;
    this.each(function(){
        thisHeight = $(this).height();
        if( thisHeight > tallest)
            tallest = thisHeight;
    });

    // set each items height to use the tallest value found
    this.each(function(){
        $(this).height(tallest);
    });
}
})(jQuery);
票数 2
EN

Stack Overflow用户

发布于 2011-08-14 06:31:10

Firebug显示此错误:

代码语言:javascript
复制
preloadImages is not defined
 preloadImages([ 
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/7053688

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档