HTML
  Home arrow HTML arrow Designing a Web Page Calendar
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
HTML

Designing a Web Page Calendar
By: Chrysanthus Forcha
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 2
    2009-04-13

    Table of Contents:
  • Designing a Web Page Calendar
  • Technical Interpretation of the Page
  • Our Simple Calendar Layout
  • Code for Simple Month Calendar

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Designing a Web Page Calendar


    (Page 1 of 4 )

    Some web pages, such as news pages, require the user to look at a calendar in order to appreciate the timing of events. This series shows you how to design a calendar for a web page. This is the first part of an eight-part series.

    Introduction

    I will show you how to design a monthly calendar and a yearly calendar. I will start by showing you how to design a calendar for the current month and then a calendar for the current year. I will continue by showing you how to design a calendar for any month and then a calendar for any year.

    You need basic knowledge of HTML, JavaScript and CSS in order to understand this series.

    The Web Page

    Your web page will normally have many HTML elements. Here I will talk only about the things related to the calendar on the web page.

    Since your web page will normally have many HTML elements, there may be no space for the calendar to occupy. This series assumes that your web page has many elements or a lot of text, and there is no space for the calendar.

    We shall have four buttons for the calendars. The first one, when clicked, will show the calendar for the current month. This button will have the title "Show Current Month's Calendar." The second button, when clicked, will show the calendar of any month of your choice, from the year 1900 forward. We shall use the JavaScript date object for this. This date object imposes this limit. However, your platform (operating system) may impose other limits. This button will have the title "Show any Month's Calendar."

    The third button, when clicked, will show the calendar for the current year. It will have the title "Show Current Year's Calendar." The fourth and last button for our project, when clicked, will show the calendar of any year of your choice, from 1900 forward. However your platform may impose other limits.

    When the first or third button is clicked, the corresponding calendar appears. When you click outside the calendar on the body element, the calendar disappears. When the second or fourth button is clicked, a dialog box appears; you enter more criteria (e.g. the particular year). When you click the OK button, the calendar appears; when you click outside the calendar on the body element, the calendar disappears.

    More HTML Articles
    More By Chrysanthus Forcha


     

    HTML ARTICLES

    - Hello HTML 5, Goodbye Gears
    - Comparing Browser Response to Active Client ...
    - Testing Browser Response to Active Client Pa...
    - Active Client Pages: Completing the Code for...
    - ACP and Browsers: Setting up an Example
    - How Browsers Respond to Active Client Pages
    - Completing a Tree with Active Client Pages
    - HTML Form Verification and ACP
    - Building an ACP Tree
    - Completing an ACP 3D HTML Table Image Gallery
    - Building an ACP 3D HTML Table Image Gallery
    - A Multiple Page Image Gallery with Active Cl...
    - Building an Image Gallery with Active Client...
    - Concluding a Menu for All Browsers
    - A Vertical Menu for All Browsers







    © 2003-2010 by Developer Shed. All rights reserved. DS Cluster 7 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek