www.webdeveloper.com
Results 1 to 3 of 3

Thread: i have problem with my site js & IE9

  1. #1
    Join Date
    May 2012
    Posts
    4

    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")})}

  2. #2
    Join Date
    May 2012
    Posts
    4

  3. #3
    Join Date
    May 2012
    Posts
    4
    in buttom code ie9 wrong Know "b" value. because when delet "-b" working ok.but i don't know how to campatible this ?
    Code:
    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles