html - jQuery an aspect ratio of an image with 100% width for responsive height -
i'd have slideshow fill screen height , width, keep it's aspect ratio vertical slide effect. have crop of (very wide) width on smaller screens , stretch both ways on large screens. there calculation determine height of #slideshow window , keep aspect ratio? verbose media queries getting tiresome , reduce height much. can see problem scale window @ http://apurch.jvonhausen.com.
i saw close answer at: image size calculation keeping aspect ratio different screen resolutions , think java, not script.
Comments
Post a Comment