Hi,
I am using Lightbox for Popup I have done popup form on clicking the button.
It works good. But what I need is "I want to show the popup form onload of the button" how It is possible.
Regards,
Shoaib
🙂
I am using Lightbox for Popup I have done popup form on clicking the button.
<?php
JHTML::_('behavior.modal');
echo "<a class='modal'
href='index.php?option=com_chronocontact&chronoformname=frugal_popup_form&tmpl=component'
rel='{handler: \"iframe\", size: {x: 500, y: 500}}'
><input type='button' value='Pop up' /> </a>";
?>
It works good. But what I need is "I want to show the popup form onload of the button" how It is possible.
Regards,
Shoaib
🙂