• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 245
  • Last Modified:

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
0
GordonMasson
Asked:
GordonMasson
  • 5
  • 3
1 Solution
 
LakioCommented:
sorry this is a better one, (or just The Right One)
http://www.mattkruse.com/javascript/calendarpopup/
0
 
GordonMassonAuthor Commented:
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
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
LakioCommented:
here I just took this from his site

<HTML>
<HEAD>
    <TITLE>JavaScript Toolbox - Calendar Popup To Select Date</TITLE>
    <SCRIPT LANGUAGE="JavaScript" SRC="/javascript/calendarpopup/combined-compact/CalendarPopup.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(document.forms['example'].date1,'anchor1','MM/dd/yyyy'); return false;"
   NAME="anchor1" ID="anchor1">select</A>
</FORM>

</BODY>
</HTML>
0
 
GordonMassonAuthor Commented:
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
0
 
LakioCommented:
try this

<SCRIPT LANGUAGE="JavaScript" SRC="/javascript/calendarpopup/combined-compact/CalendarPopup.js"></SCRIPT>
to
<SCRIPT LANGUAGE="JavaScript" SRC="CalendarPopup.js"></SCRIPT>
0
 
GordonMassonAuthor Commented:
Thanks for your help

That seems to work ok now ;-)

Cheers Gordon
0
 
LakioCommented:
glad to help :)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now