__madmax__
Junior Member
Posts: 4
Registered: 4/11/2003
Member Is Offline
|
| posted on 4/11/2003 at 10:10 AM |
|
|
404 when scrolling
I am getting a 404 when a start scrolling thru the months (or years) when i check teh URL i can see that he move's one directory up;
Before scrolling;
http://matt/cccp/net/agenda/calendar/calendar.html?datetime=1052604000000&id=0
After scrolling
http://matt/cccp/net/calendar/calendar.html?datetime=1052604000000&id=0
Any idea's?
I have all the necessary files in one directory called calendar. (.js calendar.html en the gfx's)
|
|
|
nik
Posts:
Registered: 1/1/1970
Member Is Offline
|
| posted on 4/11/2003 at 12:11 PM |
|
|
Please, check whether you've indicated the paths properly. If you still experience problems, please, give us URL of the page with your calendar.
|
|
|
__madmax__
Junior Member
Posts: 4
Registered: 4/11/2003
Member Is Offline
|
| posted on 4/11/2003 at 02:59 PM |
|
|
i check everything i could think of...
you can view a working example at
http://net.cccp.nl/_m
or you can download the .*zip file
Attachment: cal.zip (8.89kb)
This file has been downloaded 412 times
|
|
|
__madmax__
Junior Member
Posts: 4
Registered: 4/11/2003
Member Is Offline
|
| posted on 4/14/2003 at 08:38 AM |
|
|
anybody an idea???
|
|
|
nik
Posts:
Registered: 1/1/1970
Member Is Offline
|
| posted on 4/14/2003 at 02:57 PM |
|
|
This happens because in:
var obj_calwindow = window.open(
'calendar/calendar.html?datetime=' + this.dt_current.valueOf()+ '&id=' + this.id,
'Calendar', 'width=200,height='+(this.time_comp ? 215 : 190)+
',status=1,location=1,resizable=1,top=200,left=200,dependent=yes,alwaysRaised=yes'
);
you call calendar.js specifying the path relatively default.htm page.
When you begin to scroll months or years this path is detected relatively
calendar.htm. To solve this problem specify path relatively site root directory.
|
|
|
__madmax__
Junior Member
Posts: 4
Registered: 4/11/2003
Member Is Offline
|
| posted on 4/14/2003 at 05:01 PM |
|
|
Thnxs for the reply...
I will defently try this :)
|
|
|