spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com


.NET Developer
Steinman Recruiting Associates
US-PA-York

Justtechjobs.com Post A Job | Post A Resume
Developer News
Metasploit 3.2 Offers More 'Evil Deeds'
'Thank You Apple. Seriously.'
The Buzz: BlackBerry App Store Seen Next

Logo

Pop-up Calendar 1.0
Introduction

By using the code contained in this article, you agree to the following terms.

It's been a while since we published a DHTML widget here at DHTML Lab. While the Web has quite a few popup calendars already in use, it doesn't have the DHTML Lab Popup Calendar.

Some of the features of the DHTML Lab Popup Calendar that make it unique are:

  1. No knowledge of JavaScript is required to customize and use it. A beginner's aquaintance with HTML and CSS syntax is all that's needed.
    Popup calendars can be included in your web pages using a custom HTML tag and attributes, in three easy steps

  2. The calendar element dimensions are specified in relative units, conforming to accessibility requirements. If the user changes the browser text size, the calendar follows suit.

  3. Any date format is accepted for date display in associate input element. Most calendars offer US and European formats only with set delimiters. You can specify any delimiter and any ordering of date-month-year.

  4. User date selection can be limited by specifying start and dates that can be displayed and navigated to.

    and more...

Browser Support

This first version of the DHTML Lab Popup Calendar works only in a Windows environment in Internet Explorer, Netscape, Mozilla and Opera, in the versions listed below

internet explorer internet explorer 5.0 +
netscape 6.1 +
calendar 0.9 + ( except for 0.9.3 )
calendar 7.02 +

Future versions will include support for other platforms and browsers. We believed this to be a good start to get the widget out there and working.

Code Discussion

The tradition here at DHTML Lab is to discuss scripts on a statement-by-statement basis. We are a "lab" site, after all. This first article is quite long, outlining as it does, the many customization options available. Therefore, there is no space for a script discussion.

We will describe the script statements in a future article, probably after we expand our browser support.

Live Examples

This article contains several live examples of the DHTML Lab Popup Calendar, beginning on the next page.

Acknowledgement

Many thanks to my friend and colleague Andrew Galloni, who outlined some of the math behind the logic required to navigate the calendar months and years, and showed me a more elegant way to script it.

Script Download

All the files needed for using the DHTML Lab Popup Calendar, including a sample page are included in a downloadable ZIP file:

Download:   dlcalendar.zip


Let's get started by looking at page inclusion of the DHTML Lab Popup Calendar

-----------------------------------------------------------------------------------------------

Jupitermedia grants you a non-transferable and non-exclusive right and license, without the right to grant sublicenses, to use the following software "Popup Calendar" (the Software). You may use the Software solely on one (1) Internet Web site. You shall not sell, assign, disseminate or otherwise make available any portion of the Software to any third party. You must keep the following copyright notice with all use of the Software: Copyright (c) (CURRENT YEAR) Jupitermedia corporation. All Rights Reserved. Contact licensing@jupitermedia.com for more information.

THE SOFTWARE IS LICENSED "AS IS". ALL OTHER WARRANTIES WHETHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.

You shall not acquire any proprietary rights in the Software and shall not modify, translate, reverse engineer, decompile, disassemble, or create derivative works of the Software or remove any proprietary notices on the Software. You may make minor modifications to the Software to conform the Software to your application, provided that you agree to assign all right and interest to the modifications to Jupitermedia, at no cost. You acknowledges that the source code of the Software is confidential and proprietary information of Jupitermedia and that will not disclose such information to any third party.

-----------------------------------------------------------------------------------------------

Send a comment or suggestion to Peter Belesis



JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Solutions
Whitepapers and eBooks
IBM Whitepaper: Innovative Collaboration to Advance Your Business
Internet.com eBook: Real Life Rails
Avaya Article: Call Control XML - Powerful, Standards-Based Call Control
Tripwire Whitepaper: Seven Practical Steps to Mitigate Virtualization Security Risks
Internet.com eBook: The Pros and Cons of Outsourcing
Go Parallel Article: Scalable Parallelism with Intel(R) Threading Building Blocks
Internet.com eBook: Best Practices for Developing a Web Site
IBM CXO Whitepaper: The 2008 Global CEO Study "The Enterprise of the Future"
Avaya Article: Call Control XML in Action - A CCXML Auto Attendant
Go Parallel Article: James Reinders on the Intel Parallel Studio Beta Program
IBM CXO Whitepaper: Unlocking the DNA of the Adaptable Workforce--The Global Human Capital Study 2008
Adobe Acrobat Connect Pro: Web Conferencing and eLearning Whitepapers
Go Parallel Article: Getting Started with TBB on Windows
HP eBook: Storage Networking , Part 1
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
Go Parallel Video: Intel(R) Threading Building Blocks: A New Method for Threading in C++
HP Video: Is Your Data Center Ready for a Real World Disaster?
Microsoft Partner Portal Video: Microsoft Gold Certified Partners Build Successful Practices
HP On Demand Webcast: Virtualization in Action
Go Parallel Video: Performance and Threading Tools for Game Developers
Rackspace Hosting Center: Customer Videos
Intel vPro Developer Virtual Bootcamp
HP Disaster-Proof Solutions eSeminar
HP On Demand Webcast: Discover the Benefits of Virtualization
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
Microsoft Download: Silverlight 2 Software Development Kit Beta 2
30-Day Trial: SPAMfighter Exchange Module
Red Gate Download: SQL Toolbelt
Iron Speed Designer Application Generator
Microsoft Download: Silverlight 2 Beta 2 Runtime
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
IBM IT Innovation Article: Green Servers Provide a Competitive Advantage
Microsoft Article: Expression Web 2 for PHP Developers--Simplify Your PHP Applications
Featured Algorithm: Intel Threading Building Blocks - parallel_reduce
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES
webref The latest from WebReference.com Browse >
Popular JavaScript Framework Libraries: An Overview · Controllers: Programming Application Logic - Part 2 · How to Use JavaScript to Validate Form Data
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Choosing the Right Online Backup Provider · Mother Avaya Nurtures Her Technology Partners · Software as a Service a Winning Model for Hotspot Provider

Created: July 20, 2004
Revised: July 20, 2004

URL: http://webreference.com/dhtml/column67/