jQuery Imagefit is a simple, lightweight plugin to make images fit anywhere and anyway. Using the jQuery Imagefit plugin involves including the required script files of jQuery and jQuery Imagefit and then identifying the elements to be affected. Then finally set the ImageFit in the window load event. If you detect visual flips or white margins then try doing it in both, the 'document ready' and the 'window load' events. There might be more accurate methods depending on how you apply the plugin!
Monday, January 27, 2014
7:04 PM
No comments
jQuery Imagefit is a simple, lightweight plugin to make images fit anywhere and anyway. Using the jQuery Imagefit plugin involves including the required script files of jQuery and jQuery Imagefit and then identifying the elements to be affected. Then finally set the ImageFit in the window load event. If you detect visual flips or white margins then try doing it in both, the 'document ready' and the 'window load' events. There might be more accurate methods depending on how you apply the plugin!
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment