GordonMasson
asked on
Calender for CD
Hi
I have an application where i need to generate a pop up calender on an html page which resides on a PC
The problem is that the PC which runs the code is not connected to the web so i cant link to a remote web page to run any code.
The full code for the calender MUST reside on the PC.
Can anyone supply the code which will provide the typical text boxes which someone can enter a date in or by clicking on an icon, open up a small calender, typical of the ones you see on web sites.
The user would then select a start date and stop date from the calenders which would populate the text boxes.
Thanks for your help
Gordon
I have an application where i need to generate a pop up calender on an html page which resides on a PC
The problem is that the PC which runs the code is not connected to the web so i cant link to a remote web page to run any code.
The full code for the calender MUST reside on the PC.
Can anyone supply the code which will provide the typical text boxes which someone can enter a date in or by clicking on an icon, open up a small calender, typical of the ones you see on web sites.
The user would then select a start date and stop date from the calenders which would populate the text boxes.
Thanks for your help
Gordon
http://stud1.tuwien.ac.at/~e9125168/javas/jcalendr.html
sorry this is a better one, (or just The Right One)
http://www.mattkruse.com/javascript/calendarpopup/
http://www.mattkruse.com/javascript/calendarpopup/
ASKER
Hi Lakio
Thanks for the response
I am a novice at this... done a bit of VBA but totaly new as far as this is concerned.
I downloaded the combined file which appears as a .js file but it doesnt seem to run... can you explain how i imbed this into the code.
I am using FrontPage by the way
Thanks
Gordon
Thanks for the response
I am a novice at this... done a bit of VBA but totaly new as far as this is concerned.
I downloaded the combined file which appears as a .js file but it doesnt seem to run... can you explain how i imbed this into the code.
I am using FrontPage by the way
Thanks
Gordon
here I just took this from his site
<HTML>
<HEAD>
<TITLE>JavaScript Toolbox - Calendar Popup To Select Date</TITLE>
<SCRIPT LANGUAGE="JavaScript" SRC="/javascript/calendarp opup/combi ned-compac t/Calendar Popup.js"> </SCRIPT>
<SCRIPT LANGUAGE="JavaScript">
var cal = new CalendarPopup();
</SCRIPT>
</HEAD>
<BODY>
<FORM NAME="example">
(View Source of this page to see the example code)<br>
<INPUT TYPE="text" NAME="date1" VALUE="" SIZE=25>
<A HREF="#"
onClick="cal.select(docume nt.forms[' example']. date1,'anc hor1','MM/ dd/yyyy'); return false;"
NAME="anchor1" ID="anchor1">select</A>
</FORM>
</BODY>
</HTML>
<HTML>
<HEAD>
<TITLE>JavaScript Toolbox - Calendar Popup To Select Date</TITLE>
<SCRIPT LANGUAGE="JavaScript" SRC="/javascript/calendarp
<SCRIPT LANGUAGE="JavaScript">
var cal = new CalendarPopup();
</SCRIPT>
</HEAD>
<BODY>
<FORM NAME="example">
(View Source of this page to see the example code)<br>
<INPUT TYPE="text" NAME="date1" VALUE="" SIZE=25>
<A HREF="#"
onClick="cal.select(docume
NAME="anchor1" ID="anchor1">select</A>
</FORM>
</BODY>
</HTML>
ASKER
Hi Lakio
I have put that script into a file and saved it in a directory along with calenderpopup.js file but when i open the htm file i get an error at the bottom of the page saying "Error on Page"
Can you help me please?
thanks
Gordon
I have put that script into a file and saved it in a directory along with calenderpopup.js file but when i open the htm file i get an error at the bottom of the page saying "Error on Page"
Can you help me please?
thanks
Gordon
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for your help
That seems to work ok now ;-)
Cheers Gordon
That seems to work ok now ;-)
Cheers Gordon
glad to help :)