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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with scripting

Status
Not open for further replies.

sujji9

MIS
Apr 17, 2007
3
AP
Hi, need some help.
Here is the scenario.

I have a IE window with a list of few documents(pdf's). When I click on the one pdf, (let's call it as 1st pdf) the pdf opens in the IE window, which is completely fine. the 1st pdf has some hyperlinks to open pdf docs. when I click on the hyperlink, the 2nd pdf opens in a new window, which is exactly what we want. But the window where the 1st pdf is there, goes back to the list where i have list of docs. But this behaviour should not happen. The first pdf should stay in the same page.

What i saw noticed was, when the second pdf is opening in new window, the parent pdf window is getting refreshed. How can i stop it from refreshing so that it stays in the first pdf only??


i tried to comment history.back() function, with which the 1st pdf window goes blank.

Thanks
Sujatha
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top