PopCalendar
Ein DHTML-Datepicker, der es in sich hat:
A datepicker for your Webpages.
- Mehrsprachigkeit: englisch (en), spanisch (es), deutsch (de), norwegisch (no), holländisch (nl), polnisch (pl), italienisch (it), dänisch (da), portugiesisch (pt)
(mehr Sprachen gerne gesehen... would like to see more languages...)
multi-language: supports english (en), spanish (es), german (de), norwegian (no), dutch (nl), polish (pl), italian (it), danish (da), portuguese (pt) - Flexibilität flexibility
- Bedienfreundlichkeit usability
Download
Hier: popcalendar1.5.zip
Installation
-
In der Seite irgendwo das JavaScript einbinden:
Put this in your Page:<script type="text/javascript" src="popcalendar.js"></script> -
dann zum Beispiel einen Button hinzufügen:
Insert a button:<input type="button" value="12/23/2009" onclick="popCalendar.show(this)" /> - Ergebnis result:
Varianten Variants
-
Kalender in englisch, Wochenbeginn ist Sonntag, keine Datumswerte in der Vergangenheit erlaubt:
English calendar, begin of week is Sunday, no datevalues in past allowedErgebnis:<input type="button" value="30/10/2009" onclick="popCalendar.show(this,this,'dd/mm/yyyy','en',false,null,null,0)" /> -
in holländisch, mit Textbox als Ziel:
The dutch version with textbox:Ergebnis:<form action=""> <input type="text" id="thedate" value="21.12.2009" size="10" maxlength="10" /> <input type="button" onclick="popCalendar.show(this,'thedate','dd.mm.yyyy','nl')" value=" ... " /> </form>
- InternetExplorer < 7 overlaps selectboxes and applets in front of the popCalendar. To hide these temporarily just edit popcalendar.js:
122
hideElements : false,
- You are able to enable one-letter-Weekdays in popCalendar. To show those, edit popcalendar.js:
120
showDayLetter : false,
Syntax
Der Aufruf des PopCalendars hat folgende Syntax: call popCalendar with following syntax:popCalendar.show(btn, ctl, format, lang, past, x, y, start)
- btn
- der zugehörige Button the button
Accepts objects and strings. If you hand over a string, PopCalendar looks for that ID in document. - ctl
-
optional
das Zielobjekt, in welchem das Datum landet (button, textbox, etc.)
the target-field for the date-value
Accepts also objects and strings. If you hand over a string, PopCalendar looks for that ID in document. - format
-
optional
ein Datumsformat, welches der Kalender interpretiert.
als Trenner sind folgende Zeichen erlaubt: '-', ' ', '.', '/'.
Erkannt werden folgende Datums-token: accepted date-tokens:- d - 1…31
- dd - 01…31
- m - 1…12
- mm - 01…12
- mmm - JAN…DEZ
- mmmm - Januar…Dezember
- yyyy - z.B. 2009
just look for constructDate() in popcalendar.js for more formats - lang
-
optional
Sprache des Kalenders:
- 'da' - dänisch danish
- 'de' - deutsch german
- 'en' - englisch english
- 'es' - spanisch spanish
- 'fr' - französisch french
- 'it' - italienisch italian
- 'nl' - holländisch dutch
- 'no' - norwegisch norwegian
- 'pl' - polnisch polish
- 'pt' - portugiesisch portuguese
the language of your calendar - past
-
optional
true/false - gibt an, ob das Datum in der Vergangenheit liegen darf (false - kein Datum in der Vergangenheit)
allows date in the past (=false) - x
-
optional
absolute x-position des PopCalendars
absolute x-position of PopCalendar - y
- optional absolute y-position des PopCalendars
absolute y-position of PopCalendar - start
- optional Wochenstart, 1 = Montag, 0 = Sonntag, etc.
start of week (1=Monday, 0=Sunday, etc.)
Mitarbeit! Help appreciated!
Wenn Ihr Kommentare, Verbesserungsvorschläge usw dazu habt: einfach eine kurze eMail an <info at alquanto dot net>!
Please help us if you can: improve the popcalendar with new features, report bugs and so on...
License
PopCalendar is published under the GNU Lesser General Public License (LGPL). Feel free to modify it! Use it!
History
2009-12-11 - ALQUANTO
- released v1.5
- fixed some bugs, added lazy param-feature, added default-formats, removed silly year-calculation
2009-12-10 - Karl Edwall 2008-09-17 - Carlos Peix 2008-08-29 - Brian Bowman 2007-12-10 - Oliver Baltz 2007-09-04 - ALQUANTO 2007-04-30 - Murat Purc 2006-12-18 - Tom Vonsild 2006-12-12 - Tom Vonsild 2006-12-07 - ALQUANTO 2006-12-06 - Davy Belmans 2006-11-01 - Joshua Mills 2006-10-23 - Marco Savini 2006-08-11 - ALQUANTO 2006-06-28 - Marco Lupo Stanghellini 2006-04-30 - ALQUANTO 2006-04-20 - ALQUANTO 2006-04-19 - ALQUANTO 2006-04-04 - Engelke Eschner 2005-07-23 - ALQUANTO 2005-04-30 - Dariusz Markowicz 2005-03-10 - ALQUANTO 2005-03-08 - ALQUANTO 2004-09-03 - Sanjaya 2003-07-30 - ALQUANTO 2003-07-25 - PinoToy 2001-12-02 - Tan Ling Wee
)
- Bislang keine Kommentare.
- No trackbacks yet.



