我目前正在使用一種方法來確保用戶在訂購前接受T & C和我網站的警告,目前的方法只是隱藏付款選項直到兩個盒子被檢查。彈出框警告用戶沒有接受T&C(使用PayPal)
但是我的客戶不喜歡這種情況,他希望付款選項總是在那裏,但如果他們嘗試點擊購買而不先檢查兩個框,它會顯示一個警告框,說'請接受T & C和「警告」。
的頁面,付款箱可以發現是:http://rickydawn.co.uk/wolly/subscribe.php
所有我目前使用的可以在源中找到的代碼!
我該怎麼辦?我有這個腳本,將使貝寶按鈕被選中時出現一個彈出窗口,但我怎麼才能讓它只出現時,未選中框?
<script type="text/javascript">
function confSubmit()
{
return confirm("Have you read the Terms and Conditions of sale?");
}
</script>
</head>
<body>
<form onsubmit="return confSubmit();" target="paypal"
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="0000000">
<table>
<tr><td><input type="hidden" name="on0" value="Price + postage">Price +
postage</td></tr><tr><td><select name="os0">
<option value="Price + postage France">Price + postage France €00,00</option>
<option value="Price + postage CEE or Switzerland">Price + postage CEE or Switzerland
€00,00</option>
<option value="Price + postage Other Countries">Price + postage Other Countries
€00,00</option>
</select> </td></tr>
</table>
<input type="hidden" name="currency_code" value="EUR">
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_cart_SM.gif" name="submit"
alt="PayPal - The safer, easier way to pay online!" value="Submit Form">
</form>
在您的條件與條件中發現:「此處需要新的信息」。另外,請注意網址上寫着「...'/ wolly /'...」,呵呵。 – Ashe
嘿是的,它仍然是一個工作進行中;)是的,這是一個愚蠢的錯字,當設置開發文件夾:-D – RuFFCuT