By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,377 Members | 1,659 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,377 IT Pros & Developers. It's quick & easy.

LightWindow not working in Internet Explorer IE

P: 3
For those of you familiar with lightwindow,
This is one of the codes for a game on my site, when i use it for firefox it works great but when i try to use it with internet explorer i get Error: invalid argument

html tester -
Expand|Select|Wrap|Line Numbers
  1. <html>
  2. <head>
  3. <script type="text/javascript" src=""></script>
  4. <script type="text/javascript" src=""></script>
  5. <script type="text/javascript" src=""></script>
  6. <link rel="stylesheet" href="" type="text/css" media="screen" />
  7. </head>
  8. <body>
  9. <a href="" class="lightwindow" params="lightwindow_width=550,lightwindow_height=411" title="Platform Racing 2"><img src="" width="111" height="111" border="0" alt=""></a>
  10. </body>
  11. </html>
Feb 20 '09 #1
Share this Question
Share on Google+
4 Replies

P: 56
What version of IE are you using? I keep the problematic(albeit necessary) IE6 SP2 around for testing and this code snippet works in the HTML tester provided with IE6. Also works fine in FF3.

Do you have friendly errors turned off? If so, what is the line and var error indicated in the IE JS error window?

If you are using IE6(not sure where it is in 7), try going to Tools > Internet Options > Advanced Tab - Then uncheck the "Disable Script Debugging (Internet Explorer)" option. This should allow you to isolate the source of your issue.

Feb 22 '09 #2

P: 3
well im using the latest internet explorer i believe it 7 or something, but my friends have tried it as well and it did not seem to work :( the thing is if it doesnt work for me then whos to say other people who go on my site wont have problems
Feb 28 '09 #3

P: 3
oh yeah and although it doesnt work for me the actual demos from the developer work (but theirs a totally black background which im fine with[in IE])
Feb 28 '09 #4

Expert Mod 15k+
P: 16,027
Check the versions of prototype/scriptaculaous + the lightwindow that you're using. Perhaps they're not compatible or not the latest versions.
Mar 3 '09 #5

Post your reply

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