CSS is not loaded

Hi,

I’ve a problem while loading the toolbar css.
In the file I attached it’s possible to see how my toolbar looks (white bgcolor).

These are my inclusions:

<!-- scheduler -->
<script src="dhtmlx/dhtmlxscheduler.js" type="text/javascript" charset="utf-8"></script>
<link rel="stylesheet" href="dhtmlx/dhtmlxscheduler.css" type="text/css" charset="utf-8">
<!-- general -->
<script src="dhtmlx/dhtmlx.js" type="text/javascript" charset="utf-8"></script>
<script src="dhtmlx/dhtmlxgrid_export.js" type="text/javascript" charset="utf-8"></script>
<script src="dhtmlx/dhtmlxform_item_upload.js" type="text/javascript" charset="utf-8"></script>
<script src="dhtmlx/ext/swfobject.js"></script>
<script src="dhtmlx/dhtmlxlayout_pattern4j.js" type="text/javascript" charset="utf-8"></script>
<link rel="stylesheet" href="dhtmlx/skins/dhtmlxtoolbar_dhx_skyblue.css"type="text/css"  ></link>
<link rel="stylesheet" href="dhtmlx/dhtmlx.css" type="text/css" charset="utf-8">
<!-- gantt -->
<script src="dhtmlx/dhtmlxgantt.js" type="text/javascript" charset="utf-8"></script> 
<script>dhtmlx.assert = function(){};</script>  
<link rel="stylesheet" href="dhtmlx/dhtmlxgantt.css" type="text/css" charset="utf-8">
<!-- chart -->
<script src="dhtmlx/dhtmlxchart.js" type="text/javascript" charset="utf-8"></script>
<link rel="stylesheet" href="dhtmlx/dhtmlxchart.css" type="text/css" charset="utf-8">
<!-- vault -->
<script src="dhtmlx/dhtmlxvault.js"></script>
<link rel="stylesheet" type="text/css" href="dhtmlx/skins/dhtmlxvault_dhx_skyblue.css"/>

<script src="js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="js/general_functions.js" type="text/javascript" charset="utf-8"></script>

What I’m doing wrong?
thanks in advance,
Samuel


You just need to set a skin for the toolbar:

toolbar.setSkin("dhx_skyblue")

Unfortunately it doesn’t work.
I aslo do have the folder dhxtoolbar_dhx_skyblue under imgs that’s at the same level of skins (both are under dhtmlx folder)

Here is the app

baango.net/signin.php

here the credential:
username: utente_prova
password: 123456789

Hope you can find the problem, I cannot.
I playied a lot with folders, files, csss, js…but nothing happened.

Thanks in advance,
Samuel

I just losted image file.
What dhx version do you use? It seems like you are trying to use 3.5 with older css…
You can just copy attached file in the next directory:
baango.net/dhtmlx/imgs/dhxto … x_skyblue/
If it will not fix the issue, rename it to dhxtoolbar_bg_over.gif in the same directory

Problem solved thanks!

yes, I’m using the version 3.5
Planning to move to 3.6 even if I had some problem.
I’m going to open a new post for that.

Thanks again,
Samuel

We recommend you wait a little and upgrade to 4.0 which will be in the end of May.

perfect :wink:

thanks for the spoiler.

Samuel

:wink: You are welcome!