To see my problem in action, 1st click this link. Then click this one. Notice how the images are squished? (you may have to click a through the pager to see it).
I believe it's because of the browser cache. Here's the javascript doing the work:
$("#grid_slider").slider({
value: 50,
max: 100,
min: 10,
slide: function(event, ui) {
$('ul#grid li').css('font-size',ui.value+"px");
}
});
$("ul#grid li img").each(function() {
var width = $(this).width() / 125 + "em";
var height = $(this).height() / 125 + "em";
$(this).css("width",width);
$(this).css("height",height);
});
I hope you're able to reproduce the problem. Not sure what needs to be done to fix this... was thinking about just taking out the feature all-together. Thanks in advance.