2014-10-16 75 views
-2

我们公司的网站(http://latitudesign.net)今天上午正常工作,并加载文本动画和背景滑块(backstretch.js)。但是,在更新网站徽标后,网站现在隐藏在白色背景之后,并且在调整大小后,网站的主体会再次变得明显。有任何想法吗?我试图恢复到以前的网站状态,但无济于事。它似乎只发生在Chrome上,没有看到任何其他浏览器包括手机的问题。Chrome在网站上显示白色叠加层

代码运行的网页加载

<script type="text/javascript"> 
//<![CDATA[ 
    $(window).load(function() { // makes sure the whole site is loaded 
     $("#status").fadeOut(); // will first fade out the loading animation 
     $("#preloader").delay(350).fadeOut("slow"); // will fade out the white DIV that covers the website. 



    $.backstretch([ 
"images/13.jpg", 
"images/34.jpg", 
"images/44.jpg", 
"images/AIG_interior.gif", 
"images/30.jpg", 
"images/31.jpg", 
"images/32.jpg", 
"images/42.gif", 
"images/35.jpg", 
"images/36.jpg" 
], { 
    fade: 1000, 
    duration: 2700 

}); 




    }) 
//]]> 

难道还有我在CSS导致这种情况发生改变了吗?

+4

我们不介意读者;请发布您的代码。 – j08691 2014-10-16 17:25:30

+0

从Chrome上的控制台:无法加载资源:服务器的状态为404(Not Found)http://latitudesign.net/css/jplayer.css。没有一些代码就无法做更多的事情。 – Marcelo 2014-10-16 17:31:58

回答

0

这是主机的问题或您的.htaccess,

好像这个文件丢失和,而不是该出现找不到网页。解决方案将只是创建此文件或删除链接到它的html行。

+0

我删除了缺少的css文件的链接,但尚未解决问题。 – 2014-10-16 17:44:00

0

您需要位置:相对于背部伸展。

<div class="backstretch" style="[...]position: relative;"> 
+0

我尝试调整到相对位置,并更正了隐藏菜单栏的位置,但未删除覆盖背景滑块的白色覆盖图。是否有可能弄乱拿着徽标的白色标题上的CSS? – 2014-10-16 17:51:56

0

问题是animate.css ...我删除它,现在它的工作正常。