0
   

i have problem with my site js & IE9

 
 
mriahi
 
Reply Sat 19 May, 2012 01:39 pm
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:EDIT: MODERATOR: LINK REMOVED
  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Question • Score: 0 • Views: 1,401 • Replies: 1
No top replies

 
mriahi
 
  1  
Reply Sat 19 May, 2012 07:30 pm
@mriahi,
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")
})
}​
0 Replies
 
 

Related Topics

 
  1. Forums
  2. » i have problem with my site js & IE9
Copyright © 2025 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.03 seconds on 02/11/2025 at 09:49:55