Safari不显示.gif加载程序

时间:2015-09-15 08:25:54

标签: jquery html safari

我正在尝试在我的网页加载时显示.gif加载程序,因为加载需要花费大量时间,因为我对Google API进行了大量调用

适用于Mozilla / Chrome,但不适用于Safari和IE

这是我的代码:



jQuery(function($) {
    // Lorsque notre contenu est chargé
    $('.loader').click(function() {
        $("#load").show();
        $('html,body').animate({
            scrollTop: 0
        }, 'slow');
        disableScroll();
        $('html,body').css("overflow","hidden");
    });
});

.loading {
    background: transparent url("data:image/gif;base64,R0lGODlhMgAyAPcAAAAAAAEBAQICAgMDAwQEBAUFBQYGBgcHBwgICAkJCQoKCgsLCwwMDA0NDQ4ODg8PDxAQEBERERISEhMTExQUFBUVFRYWFhcXFxgYGBkZGRoaGhsbGxwcHB0dHR4eHh8fHyAgICEhISIiIiMjIyQkJCUlJSYmJicnJygoKCkpKSoqKisrKywsLC0tLS4uLi8vLzAwMDExMTIyMjMzMzQ0NDU1NTY2Njc3Nzg4ODk5OTo6Ojs7Ozw8PD09PT4+Pj8/P0BAQEFBQUJCQkNDQ0REREVFRUZGRkdHR0hISElJSUpKSktLS0xMTE1NTU5OTk9PT1BQUFFRUVJSUlNTU1RUVFVVVVZWVldXV1hYWFlZWVpaWltbW1xcXF1dXV5eXl9fX2BgYGFhYWJiYmNjY2RkZGVlZWZmZmdnZ2hoaGlpaWpqamtra2xsbG1tbW5ubm9vb3BwcHFxcXJycnNzc3R0dHV1dXZ2dnKAeW6Ie2uQfWiWf2WbgGOggmGkg2Cng16qhFythVqxhVi0hle1hla2hlW3hlW4hla3h1a3h1e3h1i1h12zhGSvgWurfXGpenemdn6jcoWfbo2bapWXZaGSXK2MVbeIT8KDQM1/NNR8Kth6Jdt4IN92HOF1GON0FuVyFOlwEO1uDfBtC/JsCfRrCPhpBftnAv1mAf5mAP5mAP5mAP5mAP5mAP5mAP5mAP5mAP5mAP5mAP5mAP5mAP5mAP5mAP5mAP5mAP5mAP5mAP5mAf5vD/17JPyGNvyQRvubWPqkZ/urdPyv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7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+////////////////////////////////////////////////////CP4A8wkcSLCgwYMIEypcyLChw4cQI0qcSLGixYsYM2o06C2Vx48fvQlEBbKkwI4lQzpE1aalS5eoBL6c2WYkTZgrb7aMmU9nS5s6eTJkGVSmT6A3hS4kmtSoTqQ0lSpkGtXpTagzpSakmtUqTawvtSLkGtbrTLA4G5JN67NmvrU7cxbtefStT7EHvaHay5evyLd9A58M3PfvxsOID8Ntg9cgskOQI0dGJrdpw8eSJVNWe9ch5syQNw/tfBn05MpVS5s+JHopaYafQbee+nph7Myzt9ZWeFsz6q6qTeceuzth79OJkyuniDJlqr8knac6Kf3577J0n9qdO3puW7RxOT97r7u4ccHyZl+CZ3ydLfnixMdrRy/e8vftlrvbf8/dtfyr+KXGkF6E7QVdgXsNhqBhyzXo4IMQRijhhBRWFBAAIfkECQQA+QAsAAAAADIAMgCHAAAAAQE") no-repeat scroll 50% 50%;
}

<div style="display: none;" id="load">
<p class="span_loader" style="font-size: 20px;">Veuillez patienter pendant le chargement de la page...<br/>Merci.</p>
<p class="loading"></p>
</div>
&#13;
&#13;
&#13;

我只是将.loader类添加到一个元素中以激活我的加载器

1 个答案:

答案 0 :(得分:1)

添加高度&amp;宽度

.loading {
    width: 50px;
    height: 50px;
}