upd
This commit is contained in:
parent
83fd9c69f3
commit
be3e9534e9
|
@ -11,16 +11,8 @@
|
||||||
<script>
|
<script>
|
||||||
// $(function() {resizer(); })
|
// $(function() {resizer(); })
|
||||||
// $(window).load(resizer();)
|
// $(window).load(resizer();)
|
||||||
// jQuery promises API
|
|
||||||
$('img').promise().
|
|
||||||
done(function(){
|
|
||||||
resizer();
|
|
||||||
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(); })
|
||||||
|
|
||||||
function resizer() {
|
function resizer() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user