How to remove scroll bar from Fancybox when using Iframe?

Dear All,
Suppose you are using JQUERY  FancyBox  popup one of the best popup and showing iframe in it but you are facing issue of scrollbar. You want to avoid scrollbar from fancybox then you have to do following things and I hope it will resolve your problem too.
So here is the solution 
$(document).ready(function () {   
         $(".fancybox").fancybox({             
   'titleShow': false,               
'autoscale': false,               
'autoDimensions': false         
   });      
  });

And in CSS you have to do following things
.fancybox-type-iframe .fancybox-inner {

overflow:hidden !important ;
height:500px !important;
}

It resolved my problem I hope it will resolve your problem too.

Thanks & Best Regards,
Rajat Jaiswal

Advertisements

One thought on “How to remove scroll bar from Fancybox when using Iframe?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s