Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Acrobat window loses focus

Status
Not open for further replies.

cactus1000

Programmer
Aug 31, 2001
149
US
I have a web page which dynamically creates PDFs. When the PDF is created, Acrobat launches in front of the browser window (using this code):

function Open_link_subwindow(Link_href)
{
var Link_subwindow = window.open('','linksubwindow','width=600, height=420, resizable, scrollbars, status, toolbar, menubar')
Link_subwindow.location = Link_href
Link_subwindow.focus()
}

However, if you return the browser to the front and click on the "view PDF" a second time, Acrobat will not regain focus. It's like this code works only once.

Does anyone know wwhat's wrong here?

My browser is IE 6.0 and Acrobat is version 7.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top