i have one problem with fancybox script. I am using fancybox 2.1 (latest). I want for example two iframe links to be working on same page but with different settings and customization for each modal box. For example
<li><a class="fancybox fancybox.iframe" href="give-me-meal.html">first</a></li>
<li><a class="fancybox fancybox.iframe" href="give-me-meal.html">second </a></li>
I override default customization with
<script type="text/javascript">
jQuery.extend(jQuery.fancybox.defaults, {
href : 'iframe.html',
type : 'iframe',
padding : 0,
margin : 20,
width : 800,
height : 0,
minWidth : 100,
minHeight : 400,
maxWidth : 9999,
maxHeight : 9999,
autoSize : true,
autoHeight : true,
autoWidth : false,
});
</script>
But then both popups are same. I wnant to be different like second modal box to be 1000px wide and more height etc. How can i make that>
Thanks!