• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 525
  • 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

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