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

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -