This is an easy to use jQuery Plugin which creates a Dynamic Paypal Buy It Now Button. You can customise drop down down options and specify your paypal email address for payment.
Free jQuery Plugins, HTML5 and CSS3 Scripts - Providing tons of Jquery Plugins,Html5 and CSS3 Scripts for web developers to preview and download. By using these resources, you can create amazing effects with fancy animations of content elements like text, images and so on.
Creates a paypal buy it now button dynamically with 1 drop down box containing payment options for different t-shirt size.
;(function($) { $(document).ready(function() { var options = { formId: 'myPaypalButton', itemName: 'Buy a T-Shirt', email: '[email protected]', basePrice: 59.00, options: { sizes: { name: 'Please select your size:', type: 'select', values: { 'Size - Small' : 60.00, 'Size - Medium' : 69.00, 'Size - Large' : 79.99, 'Size - Extra Large' : 89.00, 'Size - Too Big' : 199.95 } } }, countryCode: 'au', //au, uk currencySymbol: '$', currencyCode: 'AUD' }; $('#demo1').paypalBuyButton(options); }); })(jQuery);
1.0 - Initial version - 02/12/2012