simple-expand
simple-expand copied to clipboard
conflicts with other javascripts
Hello Sylvain,
we are implement your script in our .net framework with ajax hide and show, but the behavior of expander is totally different.
here i paste the ajax code for you
if ($(".collapseBtn").eq(ind).hasClass("collapsed") == true) {
$(".collapseBtn ").eq(ind).removeClass("collapsed")
$(".collapseBtn ").eq(ind).addClass(" expanded")
$(".content").eq(ind).show();
} else if ($(".collapseBtn ").hasClass("expanded") == true) {
// alert("2")
$(".collapseBtn ").removeClass("expanded")
$(".collapseBtn ").eq(ind).addClass("collapsed")
$(".content").eq(ind).hide();
//$(".content").css("display", "none");
}
Thank you in advnce