Solved

JavaScript syntax error code 0

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

In my daily work (mainly using ASP.net), I need to write a lot of JavaScript code. One of the most repetitive tasks I do are the jQuery Ajax calls. You know: (CODE) I don't know if for you it's the same, but for me is soooo tedious to write the …
I've been trying to accomplish this for a while and it just struck me yesterday how to accomplish this task. I have done searches all over the internet looking for ways to email pages from my applications and finally I have done it!!! Every single s…
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…

773 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