Hi people of the good life,
I'm working on a project with VM2 and i want to use the facebox a bit more. How can i load content, like after pressing select a payment, into facebox? Cheers guys because i just breaking my head about it.
Nobody?
Küldve az én iPad-ről Tapatalk HD használatával
cart/tmpl/default.php
Here is the code for the terms of service
$document = JFactory::getDocument ();
$document->addScriptDeclaration ("
//<![CDATA[
jQuery(document).ready(function($) {
$('div#full-tos').hide();
$('a#terms-of-service').click(function(event) {
event.preventDefault();
$.facebox( { div: '#full-tos' }, 'my-groovy-style');
});
});
//]]>
");
and the link for terms of service
<a href="<?php JRoute::_ ('index.php?option=com_virtuemart&view=vendor&layout=tos&virtuemart_vendor_id=1') ?>" class="terms-of-service" id="terms-of-service" rel="facebox"
target="_blank">
Have you tried modifying that code for payment?