Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Ben on Apr 20, 2009 14:20
open dhtmlx forum
calendar image path

In the documentation it says to use:
window.dhx_globalImgPath

To set the image path.

But what if we have calendar images and other DHTMLx extensions on the same page which have DIFFERENT image paths.

Won't this corrupt the other elements?

Answer posted by Alex (support) on Apr 21, 2009 01:23

Hello, 

the "imgs" folder with calendar images must be placed inside folder with dhtmlxcalendar.css. As calendar classes contain pathes to the images. For example:

.dhtmlxcalendar{
 background: url(imgs/cal_bg_single.gif) no-repeat;
...

}

Using dhx_globalImgPath is not necessary.

Answer posted on Apr 21, 2009 07:48
Ok thanks, the documentation for the calendar makes it seem like this is needed.
Answer posted by Alex (support) on Apr 22, 2009 05:26
Sorry for the misleading information. We'll necessarily correct the documentation.