Solved

JavaScript syntax error code 0

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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Article by: DanRollins
This article describes a JavaScript program that creates a maze made of hexagonal cells.  In Part 2 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7850-Hex-Maze-Part-2.html), we'll extend the program by adding a depth-…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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…

734 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