Advertisement

06.18.2008 at 08:45AM PDT, ID: 23495693
[x]
Attachment Details

'this.lightview' is null or not an object error in IE only, FF works fine

Asked by cafulford in JavaScript, Internet Explorer Web Browser, Firefox Web Browser

Tags: ,

Hi, I am having a problem with IE not behaving properly (surprise). I am getting an error in IE 6 & 7 but not in FireFox.

any help would be greatly appreciated. I am actually not the developer. I have someone doing it for me. I know a little js, but now very much. He is also stumped. If possible, please be specific in answering.

thanks so much for the help.

the error is:

Line: 15
Char: 1
Error: 'this.lightview' is null or not an object
Code: 0
URL: http://208.131.157.93/srx/Magna/promos/x.html

here is the code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Magna Adds / Promotions</title>

<link rel="stylesheet" type="text/css" href="/lightview/css/lightview.css" />
<script type="text/javascript" src="/lightview/js/prototype.js"></script>
<script type="text/javascript" src="/lightview/js/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="/lightview/js/lightview.js"></script>

</head>

<!-- <body onload="Lightview.show({ href: 'y.html', rel: 'iframe', options: { width: 1024, height: 768 }});" > -->
<body
onload="Lightview.show({
  href: 'http://208.131.157.93/srx/Magna/promos/Magna/y.html',
  options: { width: 1024, height: 768 }});"
>

</body>
</html>
Start Free Trial
[+][-]06.18.2008 at 09:00AM PDT, ID: 21814300

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.24.2008 at 09:10PM PDT, ID: 21862616

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: JavaScript, Internet Explorer Web Browser, Firefox Web Browser
Tags: javascript, IE
Sign Up Now!
Solution Provided By: b0lsc0tt
Participating Experts: 1
Solution Grade: A
 
 
[+][-]06.25.2008 at 08:49AM PDT, ID: 21866993

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628