| | |
Opening Blank Page from within Pop-up
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Jun 2007
Posts: 3
Reputation:
Solved Threads: 0
Hi there guys,
I'm new to this forum !!! Im a newby.
I was having a problem with a new site I am working on.
I need to be able to open a new browser window from a pop-up.
I have a main page, that has a pop-up window. Inside that pop-up I have a Paypal Form with button, that when pressed I would like to open a Blank NEW Window.
At the moment it is opening the window inside the pop-up....
Is there some Javascript or something I can force a new window, like Break_out_of_frame ??
Hopeing you can help.
Warren
I'm new to this forum !!! Im a newby.
I was having a problem with a new site I am working on.
I need to be able to open a new browser window from a pop-up.
I have a main page, that has a pop-up window. Inside that pop-up I have a Paypal Form with button, that when pressed I would like to open a Blank NEW Window.
At the moment it is opening the window inside the pop-up....
Is there some Javascript or something I can force a new window, like Break_out_of_frame ??
Hopeing you can help.
Warren
•
•
Join Date: Jun 2007
Posts: 3
Reputation:
Solved Threads: 0
Hi vishesh,
Thanks for your reply.
I was wondering how you would fit that into the action of a form? I tried it (successfully opening the new window) but it's not passing any info...to my Paypal server.
I have this:
<SCRIPT language="JavaScript1.2">
function openwindow()
{
window.open("https://www.paypal.com/cgi-bin/webscr","mywindow");
}
</SCRIPT>
and a form with this:
<form action="javascript: openwindow()" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="myemail@mybusiness.com">
<input type="hidden" name="quantity" value="1">
<input type="hidden" name="item_name" value="My Business">
<input type="hidden" name="item_number" value="Busniess info">
<input type="hidden" name="amount" value="25">
<input type="hidden" name="no_shipping" value="0">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="AUD">
<input type="hidden" name="lc" value="AU">
<input type="hidden" name="bn" value="PP-BuyNowBF">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but23.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<img alt="" border="0" src="https://www.paypal.com/en_AU/i/scr/pixel.gif" width="1" height="1">
</form>
Thanks for your reply.
I was wondering how you would fit that into the action of a form? I tried it (successfully opening the new window) but it's not passing any info...to my Paypal server.
I have this:
<SCRIPT language="JavaScript1.2">
function openwindow()
{
window.open("https://www.paypal.com/cgi-bin/webscr","mywindow");
}
</SCRIPT>
and a form with this:
<form action="javascript: openwindow()" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="myemail@mybusiness.com">
<input type="hidden" name="quantity" value="1">
<input type="hidden" name="item_name" value="My Business">
<input type="hidden" name="item_number" value="Busniess info">
<input type="hidden" name="amount" value="25">
<input type="hidden" name="no_shipping" value="0">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="AUD">
<input type="hidden" name="lc" value="AU">
<input type="hidden" name="bn" value="PP-BuyNowBF">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but23.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<img alt="" border="0" src="https://www.paypal.com/en_AU/i/scr/pixel.gif" width="1" height="1">
</form>
![]() |
Similar Threads
- Blank page displayed when accessing internet sites (Web Browsers)
- Opening New Blank Window from within Pop-up (JavaScript / DHTML / AJAX)
- Browser keeps opening on its own (Viruses, Spyware and other Nasties)
- how do i disallow the user from opening the same tab page (C#)
- Explorer: about blank page pops up (Viruses, Spyware and other Nasties)
- Can't Remove About:Blank Page (Viruses, Spyware and other Nasties)
- Opening a Web Page in a New Window (Windows tips 'n' tweaks)
Other Threads in the HTML and CSS Forum
- Previous Thread: CSS positioning problems
- Next Thread: CSS redefint tab value in <pre> tag
| Thread Tools | Search this Thread |
appointments asp background backgroundcolor beta browser bug calendar cart cgi code codeinjection corporateidentity css design development displayimageinsteadofflash dreamweaver emailmarketing epilepsy explorer firefox flash form format google griefers hackers hitcounter hover html ide ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization pnginie6 positioning problem scroll seo shopping studio swf swf. textcolor timecolor titletags url urlseparatedwords visual visualization web webdevelopment webform website windows7






