Am using Fancybox 1.2.6 and JQuery 1.2.6,
Code:
<script type="text/javascript">
$(document).ready(function() {
$("a.iframe").fancybox({
'width' : 300,
'height' : 200,
'type' : 'iframe',
'autoScale' : false,
'transitionIn' : 'fade',
'transitionOut' : 'fade',
'speedIn' : 600,
'speedOut' : 200,
'showCloseButton' : false,
'titleShow' : false
});
});
</script>
<a class="iframe" id="iframe" href="test.html">iframe</a>
Here I am unable to fix the height and width of the window. Below i have attached the image of my output. Is there any way to fix the height and width ??
Set autoDimensions
valut to true or false
;
see http://fancybox.net/api for more details
also there is
$.fancybox.resize();
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.