Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Rodrigo Alarcon on Jun 23, 2008 21:58
open dhtmlx forum
404 Not Found on dhtmlxCalendar

Today i had decided that i wanted to use a better datepicker, so, browsing the web i ended up finding dhtmlxCalendar, it's a really cool stuff, but i'm having some BAD problems to make it work correctly. So far i've been trying to put it in a web site that is Coldfusion Based, but i'm getting some errors here.

This is the code i'm currently using:

<link rel="STYLESHEET" type="text/css" href="codebase/dhtmlxcalendar.css">
<script>
window.fe="codebase/imgs/";
</script>
<script src="codebase/dhtmlxcommon.js"></script>
<script src="codebase/dhtmlxcalendar.js"></script>
<script>
var cal1,cal2,mCal,mDCal,newStyleSheet;
var dateFrom=null;
var dateTo=null;
window.onload=function(){
cal1=new dhtmlxCalendarObject('calInput1');
}
</script>

<div class="mainContent">
<table border="0" cellpadding="5">
<tr>
<td>
<input type="text" name="calInput1" id="calInput1" readonly="true">
</td>
</tr>
</table>
<div class="mainContent">

I can click on the textbox and get the calendar skinned and working fine, but bellow the calendar i'm getting a 404 not found message, what's goin on?
Answer posted by Support on Jun 24, 2008 02:41
>> window.fe="codebase/imgs/";
a) It seems that you take the code from online samples.
The code in online samples is compressed to take lesser size, please use code from downloadable packages

The path to image folder in such case may be set as
    window.dhx_globalImgPath="codebase/imgs"

b) Be sure that you have all files from img folder of package in your image directory, including blank.html

If problem still occurs - please try to use attached js file instead of original one.
Attachments (1)