Y2K,calendar,dynamically,produced,upon,select
Quick Search for:  in language:    
Y2K,calendar,dynamically,produced,upon,select
   Code/Articles » |  Newest/Best » |  Community » |  Jobs » |  Other » |  Goto » | 
CategoriesSearch Newest CodeCoding ContestCode of the DayAsk A ProJobsUpload
Java/ Javascript Stats

 Code: 155,451 lines
 Jobs: 364 postings

 
Sponsored by:

 

You are in:

 
Login



Latest Code Ticker for Java/ Javascript.
Protect Your Source Code ??
By christopher.rav en on 10/18


format date
By Sam Collett on 10/18


Click here to see a screenshot of this code!Applicant assessment
By SP Tang on 10/18

(Screen Shot)

Emulated Typewriter
By Mike Powers on 10/17


Click here to see a screenshot of this code!Java-Asp chat
By Paul R. Richards on 10/17

(Screen Shot)

Click here to see a screenshot of this code!The Data Markup Language
By Tanwani Anyangwe on 10/16

(Screen Shot)

ordered binary tree
By Eric Repec InetSolution on 10/16


Infinite tree w/XML
By Eric Repec InetSolution on 10/16


Click here to see a screenshot of this code!Shiznit Javascript Color Picker
By Chris Towers on 10/15

(Screen Shot)

Click here to put this ticker on your site!


Add this ticker to your desktop!


Daily Code Email
To join the 'Code of the Day' Mailing List click here!





Affiliate Sites



 
 
   

Dynamic Calendar

Print
Email
 
winzip icon
Submitted on: 7/11/2000 7:38:13 AM
By: Stephane Dorion 
Level: Advanced
User Rating: By 5 Users
Compatibility:JavaScript

Users have accessed this code 6814 times.
 
(About the author)
 
     This is a calendar that is dynamically produced upon selection of a month & year from the user. When 1st called it shows the current month & year. When clicking on a date in the produced calendar, it sends the date to a field on another page. See attached files for example. Many thanks to BungeeMan for finding the Y2K bug in the Calendar.

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzipto decompress it.

Virus note:All files are scanned once-a-day by Planet Source Code for viruses,but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:
1)Re-scan downloaded files using your personal virus checker before using it.
2)NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
1) You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.   
2) You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
3) You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
4) You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 3 submission(s) by this author

 

 
Report Bad Submission
Use this form to notify us if this entry should be deleted (i.e contains no code, is a virus, etc.).
Reason:
 
Your Vote!

What do you think of this code(in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor See Voting Log
 
Other User Comments
7/11/2000 11:49:05 AM:Michael Wieck
Looks like a good idea, but I keep 
getting errors when I try the script.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
7/11/2000 11:53:07 AM:Stephane Dorion
What is the error that you get?
Note 
that when you start the calendar, there 
is a wait time needed by the window. 
You can define this wait time in the 
calling page. Wait time is to make sure 
that window has all the info about the 
caller before attempting to transfer 
the date to the caller.
While window 
is in wait time, it is blurred, it will 
appear when wait time is over.
Also 
note that the code is not yet 
cross-browser compatible. Netscape has 
some flaws about the year.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
7/11/2000 3:06:31 PM:Michael Wieck
It says that forms is not an object or 
something like that, I don't remember. 
It's in internet explorer, not netscape.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
7/12/2000 6:10:48 AM:Stephane Dorion
This is what I thought.
Try changing 
the wait time
--> 
startCalendar(true,1000); <--
Change 
it to a higher value. The time needed 
by a computer to accept input from 
another window vary from computer to 
computer. Even if in theory no wait 
time is needed, that bug occurs often 
when we don't put any.
If that still 
does not address the problem, I will 
try to go deeper into it to fix 
it.
Stephane Dorion
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/8/2000 3:05:08 AM:Ravindra
In the CalendarExample.html
You have a 
URL variable
var URL = 
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/8/2000 7:01:27 AM:Stephane Dorion
Yes, I do have this variable. However, 
in my version there's also a value with 
it.
var URL = "indexCal.html"
Its 
supposed to be in the version that I 
sent as well. If you do not have this 
line, then obviously you should add it 
:p
Thanks.
Stephane Dorion
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/8/2000 8:07:43 AM:Ravindra
The line 
Var URL = "indexCal.html" is 
used.
But indexCal.html is missing int 
the
zip provided. Isn't the file 
essential
when it's used in the URL.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/8/2000 8:15:47 AM:Stephane Dorion
Oh my, I'm sorry, this is most 
unexcusable from me. Thank you so much 
for telling me.
I've sent the new 
version.
Note that some updates were 
also brought to the calendar, so bug 
fixes..etc.
Thanks again.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/26/2000 4:42:13 PM:bungeeman
The months are showing up improperly. 
When the calendar first appears it 
shows the current month and it is 
accurate. But when I change the month 
using the select box, all months for 
the year 2000 are actually 1999 
months.
Great program otherwise though!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
7/25/2001 12:36:38 PM:Stephenb
Excellent!
Just what Iwas looking 
for.
Thanks!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
Add Your Feedback!
Note:Not only will your feedback be posted, but an email will be sent to the code's author in your name.

NOTICE: The author of this code has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular code, please click here.
 
Name:
Comment:

 

Categories | Articles and Tutorials | Advanced Search | Recommended Reading | Upload | Newest Code | Code of the Month | Code of the Day | All Time Hall of Fame | Coding Contest | Search for a job | Post a Job | Ask a Pro Discussion Forum | Live Chat | Feedback | Customize | Java/ Javascript Home | Site Home | Other Sites | About the Site | Feedback | Link to the Site | Awards | Advertising | Privacy

Copyright© 1997 by Exhedra Solutions, Inc. All Rights Reserved.  By using this site you agree to its Terms and Conditions.  Planet Source Code (tm) and the phrase "Dream It. Code It" (tm) are trademarks of Exhedra Solutions, Inc.