now I have a webcast plug-in that usually displays normally, but I can"t adapt to it when I click the fold button on the left sidebar, but I can just press F12
.I want to initialize and refresh this carousel plugin every time I click the Sidebar fold button
who knows, with ajax or other methods, how should I achieve the adaptation of clicks, buttons, and rotational broadcasts?
when I use this method, I can only load the picture into div, and the js effect will be lost, and there will be a lot of errors:
$(document).ready(function () {
$(function () {
$("-sharpimgsx").bind("click", function () {
var $this = $(this);
$("-sharpgallery-1")
// .html("<img src="Images/Loading.gif" alt=""/>")
.load("bar.html", function () {
// alert("Load was performed.");
$(".rsTmb").css("width", "100%");
$(".rsImg").css("width", "100%");
// $this.attr("disabled", "true");
});
})
});
})