Help - Search - Members - Calendar
Full Version: Help! Paypal Shopping cart Opening in new window
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
Leesha
Hi! I am trying to get a website up to sell some things, and I'm using paypal as a sopping cart. the website makes the code for you to copy/paste it onto your site page, so that when a person clicks the "add to cart" button, they are transfered to another page through paypal that shows there basket. The problem I am having is that my website is a pop-up page, and when you click add to cart, it opens the link in a new tab rather than a different browser window, and that resizes my page (which i dont want).
here is the code-

<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but22.gif"
border="0" name="submit" alt="Make payments with PayPal - it's fast, free and
secure!" width="87" height="23"><br>
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif"
width="1" height="1"><br>
<br>
<input type="hidden" name="add" value="1"><br>
<input type="hidden" name="cmd" value="_cart"><br>
<input type="hidden" name="business" value="email"><br>
<input type="hidden" name="item_name" value="item name"><br>
<input type="hidden" name="amount" value="4.25"><br>
<input type="hidden" name="no_shipping" value="0"><br>
<input type="hidden" name="no_note" value="1"><br>
<input type="hidden" name="currency_code" value="USD"><br>
<input type="hidden" name="lc" value="US"><br>
<input type="hidden" name="bn" value="PP-ShopCartBF"><br>
</font></p><br>
</form>

if any of you can help me out, let me know! i have already tried Target:"_Blank", and new, and all, btu i may have put it in the wrong part of the code.
Thanks!
Peter1968
What's the URL of your website? Keep in mind that trying to open a new browser window/tab will annoy some people and it won't work at all for people whose browsers (or popup blockers) can disable it (i.e most of them nowadays).
Leesha
members.cox.net/discodolliesbows/

i know, but before the problem was that my layout was too big, and people with a lower resolution couldnt see the navigation at the bottom of the layout. i suppose i could just resize the layout and have it on a regular page and then the tab thing woudlnt be a big deal.. :/
Peter1968
members.cox.net/discodolliesbows/
404 Not Found
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.