Solved

Error on line 209388156 Object Required in IE

Posted on 2010-08-20
4
511 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
  • 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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

There are a couple ways to attach a JavaScript function to dynamically created elements. You can make a new script for each element as it’s created or you can use delegation. Delegation allows a single script that is added at page creation to mat…
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 the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…

705 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now