Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Use 100% width and max:
width: '100%',
maxWidth: 900
I am using device.js library
var fancy = { minWidth: 900 }; // дефолт
if ( $( document ).width < 900 ) fancy.minWidth = 400;
if ( device.mobile() ) fancy.minWidth = 200; // использована device.js
$( "li a" ).fancybox( fancy );
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question