Archive
Posts Tagged ‘set height’
Set Fancybox height and width
April 16, 2014
Leave a comment
To set height and width of fancybox popup add following script in page head section
————————————————————————————————-
<script language=”javascript” type=”text/javascript”>
$(document).ready(function () {
$(‘.fancyboxcustomaddteam’).fancybox({
‘width’: 850,
‘height’: 800,
‘transitionIn’: ‘elastic’, // this option is for v1.3.4
‘transitionOut’: ‘elastic’, // this option is for v1.3.4
// if using v2.x AND set class fancybox.iframe, you may not need this
‘type’: ‘iframe’,
// if you want your iframe always will be 600×250 regardless the viewport size
‘fitToView’: false // use autoScale for v1.3.4
});
});
</script>
————————————————————————————————-
Hope it helps !
Categories: ASP.NET
fancybox, height, increase height, set fancybox, set height, width
Comments