Solved

JavaScript syntax error code 0

Posted on 2009-07-08
2
1,098 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
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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

In this article, we'll look how to sort an Array in JavaScript, including the more advanced techniques of sorting a collection of records either ascending or descending on two or more fields. Basic Sorting of Arrays First, let's look at the …
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
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…

757 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

18 Experts available now in Live!

Get 1:1 Help Now