Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: Page Not Found error when scrolling
babinko
Newbie

Posts: 1
Registered: 11/18/2003
Member Is Offline
posted on 11/18/2003 at 07:33 PM Reply With Quote
Page Not Found error when scrolling


OK, this is weird. I'm getting a Page Not Found error when I use the buttons to select prior/next month/year. Has anyone experianced this behavior before? If so what is the fix?
View User's Profile View All Posts By User U2U Member
throbi
Newbie

Posts: 1
Registered: 2/5/2004
Member Is Offline
posted on 2/5/2004 at 05:14 PM Reply With Quote

Hi!


Tigra Calendar is a two-page system. The calling page and the calendar page (calendar.html).

You have the Page Not Found error due to you put your calling page and calendar page in different directories. This approach is desirable when you want to use the calendar in pages residing in different directories and you don't want to copy the Tigra Calender files into all of them.

I experienced the same problem, but it's very easy to work around:

in the calendarX.js you add the following code in line 53:

Old function cal_popupX():
---------------------------------------------------------
function cal_popupX (str_datetime) {
this.dt_current = this.prs_tsmp(str_datetime ? str_datetime : this.target.value);
if (!this.dt_current) return;

var obj_calwindow = window.open(
'calendar.html?datetime=' + this.dt_current.valueOf()+ '&id=' + this.id,
'Calendar', 'width=200,height='+(this.time_comp ? 215 : 190)+
',status=no,resizable=no,top=200,left=200,dependent=yes,alwaysRaised=yes'
);
obj_calwindow.opener = window;
obj_calwindow.focus();
}



New function cal_popupX():
---------------------------------------------------------
function cal_popupX (str_datetime) {
this.dt_current = this.prs_tsmp(str_datetime ? str_datetime : this.target.value);
if (!this.dt_current) return;

var obj_calwindow = window.open(
abspath+'calendar.html?datetime=' + this.dt_current.valueOf()+ '&id=' + this.id,
'Calendar', 'width=200,height='+(this.time_comp ? 215 : 190)+
',status=no,resizable=no,top=200,left=200,dependent=yes,alwaysRaised=yes'
);
obj_calwindow.opener = window;
obj_calwindow.focus();
}


As you have noticed, I've added a new component to the URL of the popup window. The variable "abspath" can be defined in the .js file or in the calling page.

var abspath="http://www.mysite.com/plugins/calendar/";

It is important to specify the absolut path with protocoll.

Have Fun!
Robert
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
Product Demonstrations Live Demos
Free Download Free Download
Product Documentation Documentation
Support Forum Support Forum
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004