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

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

问题描述:

我使用此模板:http://www.themenesia.com/themeforest/archi-light/index-onepage.html我想要删除显示页面加载百分比进度的预加载程序进度栏。这个预加载的文件是我无法从网站中删除此加载程序

装载机CSS文件 - 万维网[点] themenesia [点] com/themeforest /阿尔基光/ CSS/jpreloader.css

JS文件 - 万维网[点] themenesia [点] com /themeforest/archi-light/js/jpreloader.js

页CSS文件 - 万维网[点] themenesia [点] com/themeforest /阿尔基光/ CSS/style.css中

我试图同时删除并从页面中删除css链接和脚本。我也从页面中删除了这种风格CSS文件55行:

body { 
    display:none; 
} 

但仍然页面不加载并显示空白屏幕上。请帮忙!

body { 
    display: block !important; 
} 

将此添加到您的CSS的底部。

UPDATE

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 
+0

什么坏主意... – Mistalis

+0

@Mistalis,是的,我知道。快速修复,但让我以正确的方式修复它。 – Aslam

+0

感谢lott @ hunzaboy,它的工作:) 我加 机构{ display:block!important; } 并从designesia.js中删除脚本 –

删除以下行屏幕是空白的,因为你是藏匿尸体。加载器很可能是用JavaScript编写的,所以为了去掉那个javascript和加载器的html。一并删除此行:

body { 
    display: none; 
} 

然后在主网页会再次出现,并加载不会。

我认为装载机有以下ID:#jpreOverlay

尝试添加:

#jpreOverlay { display: none !important; } 

到你的CSS。

+0

它!重要不重要,但是,你是对的 –

+0

是的,真的,!重要的。原谅我:P :) –

添加在你的CSS这样的:

#jpreOverlay { 
    display: none !important; 
}