Click here to Skip to main content
15,897,187 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, every one. I'm just start learning Java Script. And I'm wanting to create a calender which is not an English calender. The calender that i want to create is absolutely different from English. Such as Months, day, and date every thing. Any one can help me?
Posted
Comments
[no name] 16-May-12 9:41am    
You will need to give more details. What type of calendar? What makes it so different?
Brang Awng 16-May-12 9:52am    
Months are defined according to Luna system while years are defined according to the solar system. Therefore it can be said that my calendar system is a Luni-solar calendar system. I want to create that calender to be able to use in blogs and websites. Thanks.
ZurdoDev 16-May-12 9:54am    
What specific question do you have?

1 solution

There's no short cut to building what you're after. To achieve this you'll need to have reasonable knowledge of HTML, CSS and Javascript.

The javascript will have to construct to elements within the calendar and the behaviour of the calendar it's self.

As you're new to Javascript a good understanding of dom (document object model) events would form a good foundation for your project. These are events which are applied to HTML elements and include such things as onmouseup, onmousedown, onclick, onkeyup, onkeydown and onkeypress.

By using these events and additional javascript to create and maintain the contents of your calendar you should be able to complete your project.

Try these tutorials to get you going:

Creating HTML with Javascript
Using JavaScript to Create HTML Tags[^]
XML DOM createElement() Method[^]
HTML DOM HTML Element innerHTML Property[^]

Modify Styles With Javascript
Modify CSS with JavaScript[^]
Changing CSS Using JavaScript[^]
Javascript - Change Style Sheet[^]

Dispite this... There is a JavaScript based Chinese Lunisolar Calendar available here:

Chinese Lunisolar Calendar[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900