Page 1 of 1

Calendar for diary

Posted: Mon Jan 21, 2008 3:24 am
by aceconcepts
Hi,

I am creating a diary (appointment book) and I need to integrate a calendar for date selection. Does anyone know of any good calendar?

Thanks.

Re: Calendar for diary

Posted: Mon Jan 21, 2008 3:34 am
by VladSun
Client-side or server-side?
Client-side: http://marcgrabanski.com/code/ui-datepicker/

Re: Calendar for diary

Posted: Mon Jan 21, 2008 4:35 pm
by aceconcepts
Hi,

Thanks for the suggestion - very good.

However, I am having a bit of trouble trying to display an inline instance of the calendar (http://marcgrabanski.com/code/ui-datepicker/)

Here is what I have:

This is what's in the <head>

Code: Select all

 
<link rel="stylesheet" href="sys/ui.datepicker.css" type="text/css" media="screen" title="core css file" charset="utf-8" />
<!--Include jQuery-->
<script src="sys/jquery.js" type="text/javascript" charset="utf-8"></script>
<!-- Include Core Datepicker JavaScript -->
<script src="sys/ui.datepicker.js" type="text/javascript" charset="utf-8"></script>
 
and this is what's used in the body:

Code: Select all

 
<span id="inlineDemo"></span>
                    
<script type="text/jsdemo" charset="utf-8" class="demojs">
$('#inlineDemo').datepicker({ 
    onSelect: function(date) { 
        alert(date); 
    } 
}); 
</script>
 
Nothing displays.

It works when I use it as a popup though!

Any thoughts?

Re: Calendar for diary

Posted: Mon Jan 21, 2008 4:37 pm
by RobertGonzalez
Moved to Client Side.