 |
HTML Help Please Search for the answer to your question before asking it! Thanks.
|
| View previous topic :: View next topic |
| Author |
Message |
John B
Joined: 31 Jul 2009
Posts: 4
|
| Posted: Wed Aug 05, 2009 11:57 am IE 8 Breaks JS window.open |
|
|
I recently updated to IE 8 and discovered that the JS I use on a web site will no longer open a new window. For example:
http://www.polyhedronlearning.com/cengage/lab_5.html
Click "Hands-On" to open the Shockwave in its own window.
It's worked fine in all Mac and Windows browsers until now. It's now giving me the message:
Line 18
Error: object expected
It looks like line 18 is:
if (parseInt(navigator.appVersion) >= 4) win.window.focus();
I know very little about IE or Windows. Could this have something to do with JS being disabled or some other security setting?
Also, I just noticed that if you click "Video" on that same page and then click the video link, that window opens without error. And it's the same code. Although it did tell me a plug-in was disabled. Good thing I knew it meant QuickTime. I don't know how this got disabled, as I didn't change anything. |
|
|
PayneLess Designs
Joined: 28 Feb 2007
Posts: 4289
Location: MS
|
| Posted: Wed Aug 05, 2009 3:46 pm |
|
|
See if you can find your error here:
JavaScript Lint Checker |
|
|
| |
|
|
|
Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.19 © 2001, 2002 phpBB Group
|