C
cforcloud karulvan
hi all,
i am working on a ajax calendar program, where the user will click on
a date and its corresponding event list will be displayed beside it
(similar to http://www.google.com/calendar). there are day & week
views, the event list is picked from a database and the page will
never refresh anytime. am done up to this point!
i would like to add a feature, where permanent links can be set for a
day's event list. like when the user clicks on a date, a permanent
link is put on the location/address bar, which he can copy and sent it
to others.
yeah, just like http://wikimapia.org (not like http://maps.google.com/)...
where we scroll the map - the url in address bar automatically changes
to the permanent link... lcheck this place 'Who planted this and
why?' (http://wikimapia.org/
#lat=1.847196&lon=-157.473527&z=18&l=0&m=a&v=2) ...
well i know to pickup the parameters from the address bar
(window.location.search) and display the event list, but how to set
this string without refreshing the page.
so the user clicks on 23rd Oct, 2007 in the calendar and the address
bar must read
ajax_calendar.htm?date=20071023
many thanks for any kind of help!
please let me know if am not clear enough
thaankqquu - cforcloud
i am working on a ajax calendar program, where the user will click on
a date and its corresponding event list will be displayed beside it
(similar to http://www.google.com/calendar). there are day & week
views, the event list is picked from a database and the page will
never refresh anytime. am done up to this point!
i would like to add a feature, where permanent links can be set for a
day's event list. like when the user clicks on a date, a permanent
link is put on the location/address bar, which he can copy and sent it
to others.
yeah, just like http://wikimapia.org (not like http://maps.google.com/)...
where we scroll the map - the url in address bar automatically changes
to the permanent link... lcheck this place 'Who planted this and
why?' (http://wikimapia.org/
#lat=1.847196&lon=-157.473527&z=18&l=0&m=a&v=2) ...
well i know to pickup the parameters from the address bar
(window.location.search) and display the event list, but how to set
this string without refreshing the page.
so the user clicks on 23rd Oct, 2007 in the calendar and the address
bar must read
ajax_calendar.htm?date=20071023
many thanks for any kind of help!
please let me know if am not clear enough
thaankqquu - cforcloud