• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

window.focus() or Adobe plug-in?

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Dinner will be steamed monkey heads with a side of tiny ads.
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic