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

Popular posts from this blog

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -