This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteCond %{REQUEST_URI} !/maintenance [NC] | |
RewriteCond %{REQUEST_URI} !\.(css|gif|ico|jpg|jpeg|js|png) [NC] | |
RewriteRule .* /maintenance.html [R=503,L] | |
</IfModule> | |
# serve custom 503 response | |
ErrorDocument 503 /maintenance.html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(window).load(function() { | |
var allImages = jQuery('.image-container img'); | |
var imageSmallest = allImages[0]; | |
jQuery(allImages).each(function() { | |
// find smallest image height | |
if (jQuery(this).height() < jQuery(imageSmallest).height()) | |
imageSmallest = jQuery(this); | |
}); |