<img src="img.jpg" id="blur-image" />
<input type="range" min="0" max="20" value="5" id="rangectrl"/>
$(document).ready(function () {
$("#rangectrl").mousemove(function (e) {
var Value = $("#rangectrl").val();
$("#blur-image").css("filter","blur("+Value+"px)");
})
})
<input type="range" min="0" max="20" value="5" id="rangectrl"/>
$(document).ready(function () {
$("#rangectrl").mousemove(function (e) {
var Value = $("#rangectrl").val();
$("#blur-image").css("filter","blur("+Value+"px)");
})
})
$(document).ready(function () {
$("#rangectrl").mousemove(function (e) {
var Value = $("#rangectrl").val();
$("#blur-image").css("filter","blur("+Value+"px)");
})
})
$("#rangectrl").mousemove(function (e) {
var Value = $("#rangectrl").val();
$("#blur-image").css("filter","blur("+Value+"px)");
})
})
老师还出了好几季Swift教程,而且老师的简介里写的是全栈工程师,这就能说明问题啊,Swift不用写分号,JS不写分号也可以,所以统一不写才是正确选择吧~~~
2016-11-24