I set the image path to point to the icons, which works, but then I get a 404 error because Javascript is still looking for the default icons.
[code] windows = new dhtmlXWindows({
image_path:“icons/”,
});
//Create the chart windows
var chartWin = windows.createWindow({
id:"chart_window",
width:500, height:300,
center:true
});
var chartOptWin = windows.createWindow({
id:"chartopts_window",
width:300, height:200,
center:true
});
//Set the chart options
chartWin.setIcon("chart_window.gif", "chart_window.gif");
chartOptWin.setIcon("chart_options_window.gif", "chart_options_window.gif");[/code]
As you can see, the icons display correctly:
When the windows load, these two errors pop up:
I don’t understand why it’s still looking in the skin’s image folder.