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: Simular to Lila's request on 8/2002
2tcreative
Newbie

Posts: 1
Registered: 2/3/2003
Member Is Offline
posted on 2/3/2003 at 03:44 PM Reply With Quote
Simular to Lila's request on 8/2002


I have followed the instructions for placement of the calendar.html page. The calendar2.js is in a javascript directory off the root, /js, and my calling page is in another directory off the root, /html. If I keep calendar.html in the same directory as the calling page I have no problem displaying the calendar, or scrolling thru multiple months or years.

However, when I move it to the root directory to make it common across several other directories and their calling pages (in other words to make one calendar.html available to all for ease of maintenance), I can only display the first occurance of the page. When I try to scroll I get this msg: Cannot find server...

The page cannot be displayed
The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings.

Yet when I move it back to the same directory as the calling page no problem with scrolling...

What gives?

Here is my window.open code:

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=400,left=500,dependent=yes,alwaysRaised=yes'
);
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 2/4/2003 at 09:06 AM Reply With Quote

use absolute path (one starting with slash) when referring calendar.html

This question is already answered in the forum with more details.
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