Popup help.

Appear

Member
Jul 16, 2012
32
1
Hello there,
Is there someone that can make a button that says '' Koop nu ''
And if u click it it will open a popup with this HTML:

<form action=" " method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="5JH9WTF55M82Q">
<table>
<tr><td><input type="hidden" name="on0" value="Zet hieronder je Turn naam:">Zet hieronder je Turn naam:</td></tr><tr><td><input type="text" name="os0" maxlength="200"></td></tr>
</table>
<input type="image" src=" " border="0" name="submit" alt="PayPal, de veilige en complete manier van online betalen.">
<img alt="" border="0" src=" " width="1" height="1">
</form>

Please leave the popup HTML to this HTML in a comment.
If u maby got tips please leave them to!
- Appear.
 

Appear

Member
Jul 16, 2012
32
1
Check the first reply i posted...
Yes, i did what they said but it wont popup the Donate button.
What i want is that people can Buy VIP from my Hotel.

So if they click '' Buy Regular VIP '' That they see the donate page of people with the price.
U got it?
 

BatDev

Active Member
Apr 20, 2012
110
25
save this as donate.html

HTML:
<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="5JH9WTF55M82Q">
<table>
<tr><td><input type="hidden" name="on0" value="Zet hieronder je Turn naam:">Zet hieronder je Turn naam:</td></tr><tr><td><input type="text" name="os0" maxlength="200"></td></tr>
</table>
<input type="image" src="https://www.paypalobjects.com/nl_NL/NL/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal, de veilige en complete manier van online betalen.">
<img alt="" border="0" src="https://www.paypalobjects.com/nl_NL/i/scr/pixel.gif" width="1" height="1">
</form>


then put this in your me.php or what ever between the <head> </head> tags.

HTML:
<script language="javascript" type="text/javascript">
<!--
function popitup(url) {
    newwindow=window.open(url,'name','height=200,width=150');
    if (window.focus) {newwindow.focus()}
    return false;
}
 
// -->
</script>




Remember the change the
height=200,width=150
in the javascript

to use this javascript function you can do this below

HTML:
<a href="donate.html" onclick="return popitup('donate.html')"
    >Link to popup</a>
 

Appear

Member
Jul 16, 2012
32
1
save this as donate.html

HTML:
<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="5JH9WTF55M82Q">
<table>
<tr><td><input type="hidden" name="on0" value="Zet hieronder je Turn naam:">Zet hieronder je Turn naam:</td></tr><tr><td><input type="text" name="os0" maxlength="200"></td></tr>
</table>
<input type="image" src="https://www.paypalobjects.com/nl_NL/NL/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal, de veilige en complete manier van online betalen.">
<img alt="" border="0" src="https://www.paypalobjects.com/nl_NL/i/scr/pixel.gif" width="1" height="1">
</form>


then put this in your me.php or what ever between the <head> </head> tags.

HTML:
<script language="javascript" type="text/javascript">
<!--
function popitup(url) {
    newwindow=window.open(url,'name','height=200,width=150');
    if (window.focus) {newwindow.focus()}
    return false;
}
 
// -->
</script>




Remember the change the in the javascript

to use this javascript function you can do this below

HTML:
<a href="donate.html" onclick="return popitup('donate.html')"
    >Link to popup</a>

Omg thank u so mutch!
 

Users who are viewing this thread

Top