Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/91.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 我无法从网站中删除此加载程序_Javascript_Html_Css_Html5 Canvas - Fatal编程技术网

Javascript 我无法从网站中删除此加载程序

Javascript 我无法从网站中删除此加载程序,javascript,html,css,html5-canvas,Javascript,Html,Css,Html5 Canvas,我正在使用这个模板:我想删除预装进度条,它以百分比显示页面加载的进度。此预加载程序的文件是 加载程序CSS文件-www[dot]themenesia[dot]com/themeforest/archi light/CSS/jpreloader.CSS JS文件-www[dot]themenesia[dot]com/themeforest/archi light/JS/jpreloader.JS 页面CSS文件-www[dot]themenesia[dot]com/themeforest/arch

我正在使用这个模板:我想删除预装进度条,它以百分比显示页面加载的进度。此预加载程序的文件是

加载程序CSS文件-www[dot]themenesia[dot]com/themeforest/archi light/CSS/jpreloader.CSS

JS文件-www[dot]themenesia[dot]com/themeforest/archi light/JS/jpreloader.JS

页面CSS文件-www[dot]themenesia[dot]com/themeforest/archi light/CSS/style.CSS

我试图删除这两个链接,并从页面中删除了css链接和脚本。我还从页面CSS文件第55行删除了此样式:

body {
    display:none;
}
但页面仍然并没有加载并在屏幕上显示空白。请帮忙

body {
    display: block !important;
}
将其添加到css的底部

更新

designesia.js

// --------------------------------------------------
    // preloader
    // --------------------------------------------------

    //calling jPreLoader function with properties
    jQuery('body').jpreLoader({
        splashID: "#jSplash",
        splashFunction: function () {  //passing Splash Screen script to jPreLoader
            jQuery('#jSplash').children('section').not('.selected').hide();
            jQuery('#jSplash').hide().fadeIn(800);
            init_de();
            var timer = setInterval(function () {
                splashRotator();
            }, 1500);
        }
    }, function () {    //jPreLoader callback function
        clearInterval();

        jQuery(function () {
            var v_url = document.URL;

            if (v_url.indexOf('#') != -1) {
                var v_hash = v_url.substring(v_url.indexOf("#") + 1);


                jQuery('html, body').animate({
                    scrollTop: jQuery('#' + v_hash).offset().top - 70
                }, 200);
                return false;
            }
        });


    });

    // End of jPreLoader script

屏幕是空白的,因为您正在隐藏尸体。加载器很可能是用javascript制作的,因此要去掉javascript和加载器的html。同时删除该行:

body {
   display: none;
}

然后,主页将显示,而加载程序将不显示。

我认为加载程序具有以下id:#jpreOverlay

尝试添加:

#jpreOverlay { display: none !important; }
添加到css中。

在css中添加以下内容:

#jpreOverlay { 
    display: none !important; 
}

@米斯塔利斯,是的,我知道。一个快速修复,但让我用正确的方法修复它。感谢lott@hunzaboy,它成功了:)我添加了body{display:block!important;}并从designesia.js中删除了脚本。您不需要添加body{display:block!important},没有它应该可以工作。:)