Posted by LVermeulen on July 29, 2011 at 2:52am
2 followers
Jump to:
| Project: | Modal Frame API |
| Version: | 6.x-1.7 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
(function ($) {
Drupal.behaviors.modalFrameCheckout = function(context) {
$('form#uc-catalog-buy-it-now-form-134').submit(function(e){
var modalFrameOptions = {
url: "cart/checkout",
width: 800,
height: 400
};
Drupal.modalFrame.open(modalFrameOptions);
return false;
});
};
})(jQuery);This loads the checkout page in a modal frame, but I can't figure out a way to send the post information. If I have it return true the entire page goes.
Any examples of something like this in any docs or modules online?
Comments
#1
+1 subscribing..