i cant open a iframe using fancybox which is calling the external php script file
and this is the anchor tag i used to call
<a id="iframe" href="gallery.php" >Gallery</a>
jQuery(document).ready(function() {
jQuery("#iframe" ).fancybox({
'width' : '75%',
'height' : 885,
'autoScale' : false,
'transitionIn' : 'none',
'transitionOut' : 'none',
'type' : 'iframe',
'href' : "gallery.php"
});
});
the gallery.php file is on same folder
also the calling page is also on php
Please go through this list and make sure you have done each one:
Here is an example of what your html file should look like:
If you go through these steps and ensure your html looks exactly as I have said, you should have no issues.