lightbox iframe

  • Posted in : Read
  • frostembrace
    Participant

    Hi guys. can u please help me out with smth i cant understand.

    I need to change the size of the popups iframe. it’s somehow is fixed to 640 width and i want to make it wider ideally 100% of the screen.

    I was searching on the internet for this problem people suggest different scripts but i cant understand where to put them

    ahmetsali
    Keymaster

    Hi, open js/main.js in a text editor and at line : 530 – 531 you will see lightbox iframe size;

    		$("a[rel^='fancybox']").fancybox({
    			centerOnScroll : true,
    			padding : 0,
    			margin : 44,
    			width : 640,
    			height : 360,
    

    You can alter width and height values.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register