473,386 Members | 1,602 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

unknown JavaScript error in IE

Hi there, I use a Javascript lightbox application known as lightwindow on my site, basically I have set up lightwindow to launch from flash via the javascript functions, light window launches in the same way as if it had been called from the HTML page. within the flash file I have this function:

Expand|Select|Wrap|Line Numbers
  1. javascript: myLightWindow.activateWindow({rel: 'Dele[Images]', class: 'lightwindow page-options', href: 'gallery/11_image.jpg', title: 'Waiting for the show to start in Las Vegas', author: 'Jazzmatt', caption: 'Mmmmmm Margaritas! And yes, this is me...', left: 300});
  2.  
and on the HTML page I have these links for the gallery images:

[HTML]<a href="gallery/11_image.jpg" class="lightwindow hidden" rel="Dele[Images]">image #1</a>

<a href="gallery/12_image.jpg" class="lightwindow hidden" rel="Dele[Images]" title="The Y" caption="Later" params="lightwindow_show_images=1">image #2</a>

<a href="gallery/13_image.jpg" class="lightwindow hidden" rel="Dele[Images]" title="The X" caption="Later" params="lightwindow_show_images=1">image #3</a>
[/HTML]
All of this works fine in firefox, when i try it in IE6 or IE7, I get the following error:

------------------------------------------------------------------

Line: 1

Char: 53

Error: Expected Identifier, string or number

Code: 0

------------------------------------------------------------------

I have launched single images in firefox and IE using this method, but whenever i try to launch a gallery, this is what happens. I've looked through the code for trailing comma but no luck.

It also specifie Line 1 Char 53,
there is no line 1 Char 53 - the only thing that's there is a comment.

If no one can help, maybe you could point me in the direction of getting a JavaScript Validator for IE - if one exists, I would upload the source files here - but can't find a way of doing that.

Can you help??

Thank you very much.

~Shin-K
Sep 21 '07 #1
2 2343
pbmods
5,821 Expert 4TB
Heya, Shin-K. Welcome to TSDN!

Please use CODE tags when posting source code:

[CODE=javascript]
JavaScript code goes here.
[/CODE]
Sep 21 '07 #2
acoder
16,027 Expert Mod 8TB
Can you provide a link to a test page?
Sep 23 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

53
by: Cardman | last post by:
Greetings, I am trying to solve a problem that has been inflicting my self created Order Forms for a long time, where the problem is that as I cannot reproduce this error myself, then it is...
9
by: Klaus Johannes Rusch | last post by:
IE7 returns "unknown" instead of "undefined" when querying the type of an unknown property of an object, for example document.write(typeof window.missingproperty); Has "unknown" been defined...
5
by: Peter Afonin | last post by:
Hello, I'm developing an Atlas application in ASP.NET 2.0. Everything was OK, but suddenly I started to get some strange errors on one of the pages: When I click any button or invoke any...
1
by: TARUN | last post by:
Hello All, I am facing problem regarding Atlas. I have install the AtlasSetup.msi in my .NET framework 2.0, and i open the new Atlas Website...... Let me first explain the my senario, I...
1
by: Henrique | last post by:
Hi! I'm having some problems when combining these elements. :( I have a Repeater with a collumn full of LinkButtons inside an UpdatePanel. I handle the ItemCommand event of the repeater to...
2
by: oopaevah | last post by:
I am using the Microsoft.XMLHTTP object to make server requests ie; ajax. This is working 99% of the time but occasionally it will freeze at the server for 5 minutes and then raise a javascript...
7
by: John | last post by:
Hi Everyone, I'm having this extremely annoying problem with Internet Explorer 6, giving me an error message saying "unknown runtime error" whenever I try to alter the contents of a <divelement...
21
by: sheldonlg | last post by:
I have googled for '"Internet Explorer" "Unknown runtime error"' and not found anything useful. I have the following (for simplicity of presentation here): <div><table><tr><th...
3
by: vp.softverm | last post by:
hi all in the follwing part of code am getting the unknown runtime error at <select> any help .......................................... Org.getCategories({callback:function(cat) { var...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.