Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    May 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    i have problem with my site js & IE9

    hi
    at the first Sorry for my bad english.
    I have a joomla at the wrap5.5 framework
    I knew my frame work for Regulation module position height have a js function.
    this function is ok in IE5 & ff but in IE9 show very tall my module height.
    but i dont know what is wrong on this function . i dont know anything about JS.
    this function :
    Code:
    (function(e) {
    e.fn.matchHeight = function(f) {
        var a = 0;
        this.each(function() {
            a = Math.max(a, e(this).outerHeight())
        });
        f && (a = Math.max(a, f));
        return this.each(function() {
            var c = e(this),
                b = c.outerHeight() - c.height();
            c.css("min-height", a - b + "px")
        })
    }​
    my website:http://www.joomi.ir

  • #2
    New to the CF scene
    Join Date
    May 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    in buttom code ie9 wrong Know "b" value. because when delet "-b" working ok.but i don't know how to campatible this ?
    Code:

    (function(e) {
    e.fn.matchHeight = function(f) {
    var a = 0;
    this.each(function() {
    a = Math.max(a, e(this).outerHeight())
    });
    f && (a = Math.max(a, f));
    return this.each(function() {
    var c = e(this),
    b = c.outerHeight() - c.height();
    c.css("min-height", a - b + "px")
    })
    }​

    my website:http://www.joomi.ir


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •