With reference of Mr.Vytautas Butkus, I have used his code, Using his code I can get vertical effect but I want horizontal effect of show and hide.
$(document).ready(function(){
var $content = $(".content").hide();
$(".toggle").on("click", function(e){
$(this).toggleClass("expanded");
$content.slideToggle();
});
})
So please Suggest me what can I do for Horizontal hide and show effect of div?