• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 520
  • Last Modified:

Error on line 209388156 Object Required in IE

I'm using the debugbar toolbar to debug.
I'm adapting this website to works with ie and it uses a lot o jquery and on IE when you click on any article it shows ang error of Object Required on line 209388156. What Coud it be?
Its a brazilian website http://fabricadequadrinhos.uol.com.br/__labs/ .
Thanks in advance.
0
Eduardo Ciciliato
Asked:
Eduardo Ciciliato
  • 2
  • 2
1 Solution
 
Eduardo CiciliatoAuthor Commented:
I`ve found the error, is on this lines
if(show_array==1){
	var contentheight = (parseInt(data.images[0].height) > document.getElementById("text").clientHeight)?parseInt(show_images[0].height):document.getElementById("text").clientHeight;
}else{
	var contentheight = document.getElementById("text").clientHeight;
}

Open in new window

0
 
leakim971PluritechnicianCommented:
In props.js line 9, replace :

DEconn.style.behavior
by:
document.body.style.behavior
0
 
Eduardo CiciliatoAuthor Commented:
Thanks @leakim971, but that is the partner script I prefer to don't change it. I have solved the problem with ie. I was getting an error with clientHeight. I changed my code to:
if(show_array==1){
        var contentheight = (parseInt(data.images[0].height) > $('#text').height())?parseInt(show_images[0].height):$('#text').height();
}else{
        var contentheight = $('#text').height();
}

Open in new window

0
 
leakim971PluritechnicianCommented:
this is the only error I got on my side :


Clipboard01.jpg
Clipboard02.jpg
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now