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
$(document).ready(function(){ | |
$('input').focus(function(){ | |
$enter = $(this).val(); | |
$(this).val(''); | |
}); | |
$('input').blur(function(){ | |
$leave = $(this).val(); | |
if($leave=='') {$(this).val($enter);} | |
}); |
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
var $img = $('.imagerotate img'); | |
$img.on('load', function(){ | |
var item_width = $(".pingster-gallery-item-image").width(); | |
var image_width = $(".imagerotate img").width(); | |
var image_height = $(".imagerotate img").height(); | |
var scale = image_width / image_height; | |
var image_rotated_height = item_width * scale; |
NewerOlder