Solved

JavaScript syntax error code 0

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

Independent Software Vendors: 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

In Part 1 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7849-Hex-Maze.html) we covered the hexagonal maze basics -- how the cells are represented in a JavaScript array and how the maze is displayed.  In this part, we'…
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
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…
Suggested Courses

623 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