?
Solved

Calender for CD

Posted on 2006-03-28
8
Medium Priority
?
243 Views
Last Modified: 2010-04-09
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
Comment
Question by:GordonMasson
  • 5
  • 3
8 Comments
 
LVL 9

Expert Comment

by:Lakio
ID: 16309598
0
 
LVL 9

Expert Comment

by:Lakio
ID: 16309610
sorry this is a better one, (or just The Right One)
http://www.mattkruse.com/javascript/calendarpopup/
0
 

Author Comment

by:GordonMasson
ID: 16310036
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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 9

Expert Comment

by:Lakio
ID: 16310069
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
 

Author Comment

by:GordonMasson
ID: 16310183
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
 
LVL 9

Accepted Solution

by:
Lakio earned 2000 total points
ID: 16310284
try this

<SCRIPT LANGUAGE="JavaScript" SRC="/javascript/calendarpopup/combined-compact/CalendarPopup.js"></SCRIPT>
to
<SCRIPT LANGUAGE="JavaScript" SRC="CalendarPopup.js"></SCRIPT>
0
 

Author Comment

by:GordonMasson
ID: 16311023
Thanks for your help

That seems to work ok now ;-)

Cheers Gordon
0
 
LVL 9

Expert Comment

by:Lakio
ID: 16311079
glad to help :)
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
Suggested Courses

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question