I'm using fancybox to open external urls. I tired this code for fancybox-html class a href:
$(document).ready(function() {
$(".fancybox-html").fancybox({
fitToView : false,
width : '90%',
height : '90%',
autoSize : false,
closeClick : false,
openEffect : 'none',
closeEffect : 'none'
});
});
HTML:
<script type="text/javascript" src="http://localhost:8000/media/js/jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="http://localhost:8000/media/js/jquery.pageslide.min.js"></script>
<script type="text/javascript" src="http://localhost:8000/media/js/autocomplete.js"></script>
<!-- <script type="text/javascript" src="http://localhost:8000/media/js/overlay.js"></script> -->
<!-- FancyBox -->
<link href="http://localhost:8000/media/fancybox/jquery.fancybox.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="http://localhost:8000/media/fancybox/jquery.fancybox.pack.js"></script>
<script type="text/javascript" src="http://localhost:8000/media/fancybox/jquery.easing-1.3.pack.js"></script>
<script type="text/javascript" src="http://localhost:8000/media/fancybox/jquery.mousewheel-3.0.6.pack.js"></script>
this did not work, the iframe opens in different dimensions like it ignores my settings. is it possible to debug it?
maybe I'm missing some libraries.
Any ideas?