Click here to Skip to main content
15,868,016 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how to create Calendar in html without using Javascript
Posted
Updated 3-Sep-12 22:18pm
v2
Comments
enhzflep 4-Sep-12 4:03am    
Dunno. Posting your question into google gives 3.97 Billion results..
I guess you didn't try that first?
Sandeep Mewara 4-Sep-12 4:44am    
What do you mean by Calendar without javascript. Elaborate.

Using HTML, design it, what about events? What are you doing to handle it? Incomplete question.

By using php, asp.net or any other server-side language.

Heck, you could output a calendar from c++ in html format if it floated your boat!
- that's the kind of thing the cgi folder is for, after all.
 
Share this answer
 
Comments
sachin hanchate 4-Sep-12 4:29am    
Need to use only Html cauz i have to fit this MVC project.
enhzflep 4-Sep-12 4:37am    
So then
(a) modify your question so it includes the MVC tag
(b) use the framework
There are just 14 yearly calendars - one for a year that starts on each day of the week, another 7 for leap-years.

You can hard-code those 168 months (But you'd still need to hard-code a massive number of html pages - you'd also not be able to attach a year to a day/month pair), or you can use a programming language.
HTML is a LAYOUT language.

You mention MVC, surely the first place to look would be asp.net or c#?
Dylan Morley 4-Sep-12 6:04am    
Why can't you use script in an MVC project?! MVC is just a design pattern, you can still use script for the client side events

Have a look at jquery FullCalendar, which I've used in an MVC project. Its pretty decent - http://arshaw.com/fullcalendar/
enhzflep 4-Sep-12 6:09am    
You'd have to ask the OP why (s)he can't use javascript. I'd use it in a heartbeat, but alas the requirements as posed preclude it.

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