Orbit/app/assets/Archive/javascripts/jquery.mu.image.resize.degs...

7 lines
215 B
JavaScript
Raw Normal View History

2012-07-26 08:39:29 +00:00
var pic = $(".app-pic").length,w,h;
for(i=0; i<pic; i=i+1) {
w = $(".app-pic").eq(i).width();
h = $(".app-pic").eq(i).height();
$(".app-pic").eq(i).find('img').muImageResize({width: w, height: h});
}