473,766 Members | 2,020 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

unknown JavaScript error in IE

1 New Member
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="lightwin dow hidden" rel="Dele[Images]">image #1</a>

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

<a href="gallery/13_image.jpg" class="lightwin dow hidden" rel="Dele[Images]" title="The X" caption="Later" params="lightwi ndow_show_image s=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 2362
pbmods
5,821 Recognized Expert Expert
Heya, Shin-K. Welcome to TSDN!

Please use CODE tags when posting source code:

[CODE=javascrip t]
JavaScript code goes here.
[/CODE]
Sep 21 '07 #2
acoder
16,027 Recognized Expert Moderator MVP
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
5741
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 difficult to know what is going on. One of these Order Forms you can see here... http://www.cardman.co.uk/orderform.php3
9
10738
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 as a valid return value for the typeof operator in a later version of ECMAScript or is this a JScript "feature"? -- Klaus Johannes Rusch
5
1952
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 server-side script, I'm getting a popup window: "Unknown error". So I'm stuck. There is no error number, so I cannot investigate it further. There are no errors on the server side - when I debug, everything is OK, the
1
1834
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 have data grid(5 colunm datagrid) on my Page. It's First Colunm is LinkButton whose text property contain the ID. As i click on the this
1
3279
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 fire a desired action, but when I click on any LinkButton, it returns a javascript alert-like message saying "Unknown error".
2
4823
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 exception "Unknown name". After the exception I can run the same request ok, and keep doing so until the next time it freezes for 5 minutes. What does the "Unknown name" javascript exception mean?
7
38024
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 using innerHTML. Now, I've researched this problem on the web, and found many references to it, but none of them quite addressed my specific situation, and since my experience with JavaScript is limited, I was not able to adapt the solutions I...
21
2122
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 id="foo"></th></tr></table></div> In my javascript I have two lines: var titleObj = document.getElementById('foo'); titleObj.innerHTML = "Name is bar";
3
2076
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 begin="<select name='categorylist' id='categorylist' onchange='eval(this.value);'>"; var opt="<option value=\"\" >Select Category</option>"; for(var i=0; i<cat.length; i++)
0
10168
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10008
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9959
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9837
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7381
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6651
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5279
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5423
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3532
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.