![]() |
| ||||||||
|
|||||||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
|
DayJobAnnihilation.com
War Room Member
Join Date: Nov 2006
Location: Singapore
Posts: 2,298
Thanks: 98
Thanked 85 Times in 43 Posts
|
Hi guys,
I have been looking for a way to stop exit pop-ups from appearing when visitors click a Paypal buy button. For normal links, I know we're supposed to use onclick="exit=false" and that does it. For the life of me though, I can't figure out how to make it work with a Paypal button. Your help is much appreciated! Fabian |
|
"FREE Report Reveals How I Rake In $500+ A Day From Article Marketing And How You Can Too..."
Click Here To Get Your FREE Report! "How I Built An Opt-In List Of 237,540 Subscribers In Less Than 12 Months!" Instantly Download Your No-Cost Report! |
|
|
|
|
|
|
#2 |
|
Senior Warrior Member
War Room Member
Join Date: Aug 2008
Location: Atlanta GA Metro Area, USA.
Posts: 1,767
Blog Entries: 3
Thanks: 62
Thanked 295 Times in 236 Posts
|
Centralize your button/exit management Javascript and use a switch statement to determine the action to take.
|
|
Product Reviews | Earn Online Cash | Social Bookmarking Money
Free WordPress Themes: Boring Memo | Dateless Mini-Site | Info Magazine Keyword Based Content Generation: Blog Content Wizard Discount Templates, Graphics and Scripts: Templates for Website [Warrior Discount Code: WF102009] |
|
|
|
|
|
|
#3 |
|
www.Richard-Legg.com
Join Date: Feb 2007
Location: Seattle, WA
Posts: 233
Thanks: 0
Thanked 17 Times in 10 Posts
|
Hey Fabian,
Instead of directly using a paypal button, try making the 'buy now' button/image link to another file, e.g. order.php, which loads and posts the paypal payment code automatically. That way you can then add the 'exit=false' code to the order.php link as you would any other link. That's a quick workaround. You can also usually add it to the paypal button code, but you need the button code to be un-encrypted so you can add it to the 'action' tag. But doing that will leave your thank you page URL exposed unless you can encrypt it some other way AFTER modifying it. I tend to stick with just linking to another file that loads the payment code for me. Hope this helps, Richard |
|
|
|
|
|
|
![]() |
|
| Tags |
| blocking, buttons, paypal, popups |
| Thread Tools | |
|
|
![]() |