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!

Launch popup window while going to next page.

Status
Not open for further replies.

dinoviapangea

Technical User
Apr 9, 2002
41
US
I want to open a popup window while linking to another page. As follows,

<CFOUTPUT>
<FORM NAME="temp" ACTION="temp2.cfm" method="POST" enablecab="No">
<input type="submit" name="test" value="Next Page" >
</FORM>
</CFOUTPUT>

When the user clicks on the form link, I not only want them to go to temp2.cfm but also want another window to popup with some information. Any suggestions?

Thanks,
Dino
 
Dino

On temp2.cfm in your body tag of the page have:

onload="window.open('something.htm')">

when you the page has loaded the file something.htm will be opened.

or if you want to control the size of the window that is opened have a look at the url below and add the params that you need.


Hope this helps!

Tony
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top