upd
This commit is contained in:
parent
157682be64
commit
096014bae4
|
@ -12,7 +12,13 @@
|
||||||
// $(function() {resizer(); })
|
// $(function() {resizer(); })
|
||||||
// $(window).load(resizer();)
|
// $(window).load(resizer();)
|
||||||
// jQuery promises API
|
// jQuery promises API
|
||||||
$('img').promise().done(function() {resizer(); console.log('done');});
|
$('img').promise().progress(function(p){
|
||||||
|
alert("Операция выполнена на " + p + " процентов");
|
||||||
|
}).
|
||||||
|
done(function(){
|
||||||
|
alert("Операция выполнена полностью!");
|
||||||
|
});
|
||||||
|
// .done(function() {resizer(); console.log('done');});
|
||||||
|
|
||||||
// $(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