I.T. Discussion Community!
-Collapse +Expand
JavaScript
Search JavaScript Group:

Advanced
-Collapse +Expand JavaScript Store

Prestwood eMagazine

September Edition
Subscribe now! It's Free!
Enter your email:

   ► MB LobbyJavaScript and AJAX BoardJavaScript Topic   Print This     

Javascript window.open help

Javascript window.open help in JavaScript topic (part of our JavaScript and AJAX group).

Quick Search: Javascript   Javascript window   Javascript window open  
lightenin
 (Inactive)
leicester, -- UK

Guys, I have created a page that puts something in a paypal basket and then when it is all paid for and the return to merchant button is clicked i need to open a download link for the item bought, however i can get it to open a normal url but i cant get it to open the link i want! can u help me???

 ALSO CAN SOMEONE TELL ME WHY THE SAME LINES ARE IN TWICE?

THESE TWO PARTS TO BE LOOKED AT AND CHANGED TO OPEN http://mihd.net/kiv34u  INSTEAD OF HTTP://~~~~~/SUCCESS.HTML WILL BE BOLD , ITALIC AND RED (REMEMBER TO TELL ME WHY THERE ARE 2 THE SAME ?)

 <selection of script below> 

</SCRIPT>
<TITLE>Business Shopping Cart</TITLE>
</HEAD>
<BODY leftmargin='0' BGCOLOR="#ffffff" onload="if(win==null||win.indexOf('ick ')==-1){alert('Dem'+icount);}" VLINK="#DD81D1">
<div align="center"><table border='1' width='740' cellpadding='8'>
<tr><td>
<img name='popup'
src='affiliatepromotion1.jpg'   hspace='16' border='0' align='right'><font face='Arial' size='3'>
<b><font color='#1F921A'>36 Ways to Promote Affiliate Programs (&#163;0.01)</b></font> <br><br><font size='3' color='#1FA11A'>Within the 97 pages of this E-book the reader will learn how to create a successful business from using affiliate programs. These programs are designed by companies to gain more sales by the affiliate selling their products for them and claiming a percentage of the profit. The E-book goes from how to choose an affiliate program onwards. Every Entrepreneurs dream.</font><br><br>
<form method='POST' action='https://www.paypal.com/cart?add=1&business=a.newham%40sky.com&currency_code=GBP&lc=GB&bn=online_store_3.95&image_url=http%3A%2F%2Fuk.geocities.com%2Fandynewham85%40btinternet.com%2Fallsorts%2Fimage%2Fobj243geo249pg1p8.png&cancel_payment=http%3A%2F%2Fuk.geocities.com%2Fandynewham85%40btinternet.com%2F&return=http%3A%2F%2Fuk.geocities.com%2Fandynewham85%40btinternet.com%2Fsuccess.html&cn=Customer+Message...' target='paypal' onsubmit="paypal=window.open('https://www.paypal.com/cart?add=1&business=a.newham%40sky.com&currency_code=GBP&lc=GB&bn=online_store_3.95&image_url=http%3A%2F%2Fuk.geocities.com%2Fandynewham85%40btinternet.com%2Fallsorts%2Fimage%2Fobj243geo249pg1p8.png&cancel_payment=http%3A%2F%2Fuk.geocities.com%2Fandynewham85%40btinternet.com%2F&return=http%3A%2F%2Fuk.geocities.com%2Fandynewham85%40btinternet.com%2Fsuccess.html&cn=Customer+Message...','paypal','width=680,height=400,status=yes,location=no,menubar=no,scrollbars=yes,resizable=yes');paypal.focus();" >Qty <input type='text' name='quantity' size='3' value='1'>&nbsp;<input type='submit' value='Add to Order' name='B1' style='background-color: #C0C0C0; color: #000000; font-weight: bold'>
&nbsp;<input type='submit' value='View Order' name='display' style='background-color: #C0C0C0; color: #000000; font-weight: bold'>
<br><input type='hidden' name='item_number' value='eb-promoteaffiliate'>
<input type='hidden' name='item_name' value='36 Ways to Promote Affiliate Programs'>
<input type='hidden' name='amount' value='0.01'>
</form>
</font>
</td></tr></table>
</div><div align="center"><table border='0' >
<tr>
<td border='0' width='340'><br><p align='left'>
<font face='Arial' size='2' color='#FFFFFF'><script LANGUAGE="JavaScript"><!--
win='<b><a href="http://www.online-store.co.uk/about.html" onClick="alert(\'Purchase the registered version of the shopping cart to remove this link. www.online-store.co.uk.\');return false;">This is a demonstration Shopping Cart.<br>Click for Details.</a></b>';if(location.href.indexOf('http://') != -1){document.write(win);}
// -->
</script>

 Posted 12 years ago (Thread Starter)
Comment Quote
About lightenin -Collapse +Expand
Visit Profile
Inactive member.
Member does not subscribe to this thread.
Email Not Verified!
Once email is verified, we will review and approve the account.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #12196, 1 replies
Thread Started 10/1/2007 3:12:44 PM
View Counter=3862
Last Reply Posted 10/7/2007 9:31:43 AM)
Location=leicester, -- UK 
Joined=12 years ago   MB Posts=2  
Most Recent Post
lightenin
 (Inactive)
leicester, -- UK
 Posted 12 years ago (Thread Starter)
Comment Quote
About lightenin -Collapse +Expand
Visit Profile
Inactive member.
Member does not subscribe to this thread.
Email Not Verified!
Once email is verified, we will review and approve the account.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #12216 (Level 1.1)  Reply to 12196
Thread Started 10/7/2007 9:31:43 AM
View Counter=2
Location=leicester, -- UK 
Joined=12 years ago   MB Posts=2  

Revive Thread!

Add a comment to revive this old thread and make this archived thread more useful.

Write a Comment...
Full Editor
...
Sign in...

If you are a member, Sign In. Or, you can Create a Free account now.


Anonymous Post (text-only, no HTML):

Enter your name and security key.

Your Name:
Security key = P1173A1
Enter key:
Icon: A Post    Thread    Idea    Important!    Cool    Sad    No    Yes    Includes a Link...   
Thread #12196 Counter
3862
Since 4/2/2008

Follow PrestwoodBoards on: 


©1995-2019 PrestwoodBoards  [Security & Privacy]
Professional IT Services: Coding | Websites | Computer Tech