upd
This commit is contained in:
parent
8e7b7d5183
commit
fd59d7b0dd
|
@ -12,12 +12,8 @@
|
||||||
// $(function() {resizer(); })
|
// $(function() {resizer(); })
|
||||||
// $(window).load(resizer();)
|
// $(window).load(resizer();)
|
||||||
// jQuery promises API
|
// jQuery promises API
|
||||||
$('img').progress(function(p){
|
$('img').promise().done(function() {console.log('done');});
|
||||||
alert("Операция выполнена на " + p + " процентов");
|
|
||||||
}).
|
|
||||||
done(function(){
|
|
||||||
alert("Операция выполнена полностью!");
|
|
||||||
});
|
|
||||||
$(window).on("load", function() {resizer(); });
|
$(window).on("load", function() {resizer(); });
|
||||||
$(window).resize(function() { resizer(); })
|
$(window).resize(function() { resizer(); })
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user