PDA

View Full Version : Black page between all the page



Moumoutte
11 Sep 2009, 12:50 AM
Hi,

First of all, sorry for my about English..


I have a little problems with Extjs. When I include the necessary files for use Extjs with the script balise,

<script type="text/javascript" src="/include/script/ext-3.0.0/adapter/ext/ext-base.js"></script>
<script type="text/javascript" src="/include/script/ext-3.0.0/ext-all-debug.js"></script>

(I'm sure about the path for this files, some scripts i wrote work..), each time a page is request, a black backgroud appear while 0,5 sec and after, the page is loaded. You can test it, http://e-euroculture.eu, it's a french website, and subscription is necessary, but you can refresh the login page to see the problem.

Thx's for your help,

Sincerely,

Condor
11 Sep 2009, 12:56 AM
It's your own style.css doing that:

body {
background-color:#000000;
background-image:url(bg.jpg);
background-position:center top;
background-repeat:repeat;
color:#1A4892;
font-family:Georgia,"Times New Roman",Times,serif;
font-size:12px;
list-style-type:none;
}
(choose a color that best matches bg.jpg)

Moumoutte
11 Sep 2009, 1:14 AM
Thanx you for your answer. In deed, i have a black background color. I image if i can see the background, it's because the Extjs loading ?
There are some files (from extjs library) not really useful that i can remove from my server to increase the loading time ?

Condor
11 Sep 2009, 1:16 AM
You could use the 'Build your own' feature to create an Ext library that only contains the stuff you actually use.