wood burning stoves*
The moose likes HTML, CSS and JavaScript and the fly likes window.focus()  or Adobe plug-in? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "window.focus()  or Adobe plug-in?" Watch "window.focus()  or Adobe plug-in?" New topic
Author

window.focus() or Adobe plug-in?

Ludmila Snova
Greenhorn

Joined: Aug 31, 2006
Posts: 20
I have a web application where user can click a link and PDF file is loaded in a popup window. Users, who have Adobe 6 installed does not have any issues if they did not close popup window and click another link. The new PDF file simply reloads in the same popup window. However, after upgrading Adobe to version 7 or higher, users have to close popup window, before clicking the link to open PDF file. If popup window is open and the link is clicked, the JavaScript error is given:
Member not found �.

After investigation, I found that if I comment out the window.focus() function in my JS, it works fine, no error is given. But, the popup window is not activated, so user does not see it.
So, I am trying to understand there the actual problem is: in the Adobe plug-in for IE or in the browser, or somewhere else and how can I fix it.

If somebody has any clue, please help. Any help is appreciated.

This is JS I am using:

[ September 05, 2007: Message edited by: Bear Bibeault ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: window.focus() or Adobe plug-in?