I think you may find an answer here, but the original question is difficult 
to understand.

Are you saying you want the calendar to be built into the form and always 
visible? Or do you want it to be a pop-up and already activated upon page 
load, as though the user had clicked in the date field?

Are you saying you want the calendar that typically pops up when entering 
dates in a form? It is "calendar.js" and is located in (welcome)/static/js. 
It also uses "calendar.css". Both are usually loaded automatically as part 
of "views/web2py_ajax.html". 

In your new layout.html file, you will need to have something like:

{{
response.files.insert(0,URL('static','js/jquery.js'))
response.files.insert(1,URL('static','css/calendar.css'))
response.files.insert(2,URL('static','js/calendar.js'))
response.files.insert(3,URL('static','js/web2py.js'))
}}






On Friday, November 9, 2012 9:01:04 PM UTC-6, dantuluri jaganadha raju 
wrote:
>
>
>
>
> Please reply to this as soon as possible.Thank you in advance
>
>
>
>
>
> On Sunday, November 4, 2012 8:03:20 AM UTC+5:30, dantuluri jaganadha raju 
> wrote:
>>
>> Hi,
>>   I want to display the calendar that will display when we click on some 
>> field(appropriate) of a form .One thing is that I will not click on 
>> field.,what I mean is that ,it should appear as soon as I entered that page 
>> and should have same functions(dynamic) that is in normal calendar that 
>> displays in web2py.Moreover I am NOT USING "EXTENDED LAYOUT.HTML" and using 
>> new layout. please reply as soon as possible what changes I have to make.
>>
>>                                                Thank you in advance ...
>> Raju.
>>
>

-- 



Reply via email to