View Full Version : How do I make an I frame link go to a pop up window.

Sep 26th, 2009, 04:22 AM
Hello all, sorry for a vague subject line I think if you go to my test page link here.


I have a pay pal link at the bottom right corner that, when I click on the "Buy Now" button it goes to another page with in the I frame instead of too another pop up window.

My goal is simply just to be able to click on the "buy now" button and it will take the user to a new window entirely.

This is the code that I have on my test page at this time. As a side thought, is there anything I can do to this code to lower the size of the table. Right now if I look at the code by itself its a really long horizontal table, I would love to get it too more of a Width-256 Height-122 table....does that make any sense?

Below is the full generated I Frame code for the "Buy Now" button issue and table size issue.

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="8468078">
<tr><td><input type="hidden" name="on0" value="Smart Business Workshop">Smart Business Workshop</td></tr><tr><td><select name="os0">
<option value="Promo Price">Promo Price $250.00
<option value="Regular Price">Regular Price $300.00
<option value="Reference Materials">Reference Materials $20.00
</select> </td></tr>
<input type="hidden" name="currency_code" value="USD">
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="0" height="0">

Thank you for taking the time to read this and any help would be greatly appreciated. :D

Sep 26th, 2009, 09:16 PM
replace this line:

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">

with this:

<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">

Sep 26th, 2009, 11:34 PM
I really appreciate the help, thank you very much... ckeyrouz:thumbsup:

Sep 26th, 2009, 11:45 PM
Most welcome.