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
GordonMassonAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

LakioCommented:
sorry this is a better one, (or just The Right One)
http://www.mattkruse.com/javascript/calendarpopup/
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
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook 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>
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
LakioCommented:
try this

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
GordonMassonAuthor Commented:
Thanks for your help

That seems to work ok now ;-)

Cheers Gordon
LakioCommented:
glad to help :)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.