Monday 15 February 2010

jquery - Can Fancybox be responsive only horizontally for tall content? -


I have a site with some very long images. I want to answer these images in a responsive way horizontally, but not standing. If they correspond to the height of the browser, they become too small to see properly.

Is this an easy way to accomplish that I am missing?

See an example below. Click on the second thumbnail "BS Swift", then launch the Fancybox in a small gray square fitToView and maxWidth try combining the API

option such as:

  $ ('.humbs_small'). Fancybox ('openEffect:' elastic ', close effect:' elastic ', prefetrrent:' fade ', next effect:' Fade ', Fituality: false, // images will not be maximized in the height of the browser maxwidth: "90 % "// images will not exceed browser width}); Check   



No comments:

Post a Comment