?
Solved

Error on line 209388156 Object Required in IE

Posted on 2010-08-20
4
Medium Priority
?
518 Views
Last Modified: 2013-12-08
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
Comment
Question by:Eduardo Ciciliato
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 5

Author Comment

by:Eduardo Ciciliato
ID: 33487998
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
 
LVL 82

Expert Comment

by:leakim971
ID: 33490234
In props.js line 9, replace :

DEconn.style.behavior
by:
document.body.style.behavior
0
 
LVL 5

Accepted Solution

by:
Eduardo Ciciliato earned 0 total points
ID: 33491318
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
 
LVL 82

Expert Comment

by:leakim971
ID: 33491329
this is the only error I got on my side :


Clipboard01.jpg
Clipboard02.jpg
0

Featured Post

RHCE - Red Hat OpenStack Prep Course

This course will provide in-depth training so that students who currently hold the EX200 & EX210 certifications can sit for the EX310 exam. Students will learn how to deploy & manage a full Red Hat environment with Ceph block storage, & integrate Ceph into other OpenStack service

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
SSL stands for “Secure Sockets Layer” and an SSL certificate is a critical component to keeping your website safe, secured, and compliant. Any ecommerce website must have an SSL certificate to ensure the safe handling of sensitive information like…
The viewer will learn how to dynamically set the form action using jQuery.
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question