jquery - How to apply silde toggle effect from left to right -
hi iam using ajax post method if click on sidebar , ajax success result iam appending div this
$.ajax({ type: "post", url: "{site_url}publish/my_select_section_form/"+item, success:function(data){ $('.sec-details').hide().html(data).slidedown(); } });
it giving me sliding down effect , thats fine if want apply toggle left right can do,can suggest me
using jquery ui sould quite easy:
http://jsbin.com/ipugec/2/edit
$.ajax({ type: "post", url: "{site_url}publish/my_select_section_form/"+item, success:function(data){ // $('.sec-details').hide().html(data).slidedown(); $('.sec-details').hide().html(data).show("slide", { direction: "left" }, 1000); } });
Comments
Post a Comment