Solved

JavaScript syntax error code 0

Posted on 2009-07-08
2
1,113 Views
Last Modified: 2012-06-27
Hi,

Have a site which in IE is generating the error code above. Not sure why this is, or how to remove it! The page can be found at http://www.kocurek.com/product_range

The error must relate to the JS for the lightbox images <script type="text/javascript" src="/js/jquery.lightbox.js"></script>

as I am only including this script on the product pages.

Any help in sorting this out much appreciated!

Cheers,

Daisy
0
Comment
Question by:daisydoos
[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 Comments
 
LVL 7

Accepted Solution

by:
Seo_Expert earned 500 total points
ID: 24811460
Hello daisydoos,

Problem with jquery.lightbox.js file.

Their is a call to external site and this website is not working. So you are facing.

scripts.ie6 = 'http://www.savethedevelopers.org/say.no.to.ie.6.js';

I have commented above line in jquery.lightbox.js.

I have attach jquery.lightbox.js.txt. Please download it and rename to jquery.lightbox.js  and upload to your web server.

I think this will solve your problem for IE.
//scripts.ie6 = 'http://www.savethedevelopers.org/say.no.to.ie.6.js';

Open in new window

jquery.lightbox.js.txt
0
 

Author Comment

by:daisydoos
ID: 24811627
Hi,

This is great - thank you so much for this. No idea what they're doing putting a link to a non existent url in the script - but hey ho!

Many thanks,

Daisy
0

Featured Post

Industry Leaders: 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!

Question has a verified solution.

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

This article discusses how to create an extensible mechanism for linked drop downs.
This article discusses how to implement server side field validation and display customized error messages to the client.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. 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.: (CODE)
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…

737 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