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

Opening pop-up window and file at the same time

Status
Not open for further replies.

bamboo

Programmer
Aug 22, 2001
89
US
Looking for a way to open up a pop-up window and file/webpage at the same time. My customer wants a user to click a link which pops up a description of the link and then when the user closes the popup the page/file is displayed. Would it be as easy as creating an onClick function that does both? Any suggestions would be great.
 
You can try something like this:

Code:
<a href="somepage.asp" onClick="alert('Description here.')">Try me</a>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top