javascript - JQuery UI Datepicker slide title and dates on month change -


i trying calendar work. using jquery ui datepicker , quite happy it. don't use picker in textbox, use 'standalone'.

and trying achieve slide effect, when change month. don't want slide whole calendar. want slide title , dates itself, not next / previous buttons , not weekdays.

first tried this:

onchangemonthyear: function(year, month, inst) {     $(".ui-datepicker").hide("slide", { direction: "right" }, 500).show("slide", { direction: "left" }, 500); } 

and whole calendar moving. trying slide title changing .ui-datepicker .ui-datepicker-title, nothing happens. , think quite strange, if had worked. because title moving right while disappearing, , new title come in. want achieve effect, slides behind next "button" , new month , year comes in behind previous button.

it hard describe, watch animation made. want achieve this: http://gifmaker.me/playgifanimation.php?folder=2014031022viciurqhvguk1mavdkd4ve&file=output_uagfez.gif (the design complete , works. anmation problem)

is possible datepicker? haven't found way yet.

try work perfectly:

onchangemonthyear: function(year, month, inst) {             $(".ui-datepicker").show("slide", { direction: "right" }, 600);       } 

Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

android - Keyboard hides my half of edit-text and button below it even in scroll view -

css - Make div keyboard-scrollable in jQuery Mobile? -