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

Load 2 pages with one click - HELP PLEASE

Status
Not open for further replies.

ineedhelplease

Technical User
Dec 18, 2002
18
US
Here is the scenario:

I have a web site with a link that point to an external site. I need to have a popup load - the popup has instructions for the external site - when the user clicks the link to exit my site and enter the external site.

Example:

1. User is on my site
2. User clicks a link to go to the external site (same window) I do not control the external site; it is hosted and operated by a third party.

3. I need a popup to load on top of the external site page to remind users of specific instruction on what to do.

Can this be done?

Thank you for your help (I am new to Java Script).
 
Yep. Just have the onClick call a JavaScript fuction, which performs two separate window.open() statements.

You may not control the content of each window, but you control the window itself, so can put focus on whichever you prefer.

If you still need more help, I'll write you a sample.



Thomas D. Greer

Providing PostScript & PDF
Training, Development & Consulting
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top