web前端博大精深,各種玩法都有,技術(shù)越厚,玩得越開心,技術(shù)薄弱,只能望而止步!
2017-04-28
放大后有偏移的,可以把
$("#blur-image").css("left","-"+leftMargin+"px");
$("#blur-image").css("top","-"+topMargin+"px");
改成
$("#blur-image").css("left",-leftMargin+"px");
$("#blur-image").css("top",-topMargin+"px");
$("#blur-image").css("left","-"+leftMargin+"px");
$("#blur-image").css("top","-"+topMargin+"px");
改成
$("#blur-image").css("left",-leftMargin+"px");
$("#blur-image").css("top",-topMargin+"px");
2017-04-07