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

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

visual studio 2010 - Connect to informix database windows form application -

android - Associate same looper with different threads -