File manager - Edit - G:/PleskVhosts/fullscreenksa.com/Falafel.fullscreenksa.com/assets/js/ui-tabs-accordions.js
Back
var ui_tabs_accordions = function () { //BEGIN SLIMSCROLL SCROLLSPY var handleSlimscrollspy = function () { $('.scrollspy-example').slimScroll({ "height": "250", "railVisible": true, "alwaysVisible": true }); } //END SLIMSCROLL SCROLLSPY return { init: function () { handleSlimscrollspy(); } } }(jQuery); $(function () { //BEGIN ACCORDION WITH ICONS function toggleChevron(e) { $(e.target) .prev('.panel-heading') .find("i.indicator") .toggleClass('glyphicon-chevron-left glyphicon-chevron-down'); } $('#accordion1').on('hidden.bs.collapse', toggleChevron); $('#accordion1').on('shown.bs.collapse', toggleChevron); //END ACCORDION WITH ICONS $(".closeTab").click(function () { //there are multiple elements which has .closeTab icon so close the tab whose close icon is clicked var tabContentId = $(this).parent().attr("href"); $(this).parent().parent().remove(); //remove li of tab $('#myCloseableTab a:first').tab('show'); // Select first tab var tabId = $('#myTabCloseable a:first').attr('href'); // Select id to active first tab $(tabid).show(); // Show tabcontent first $(tabContentId).remove(); //remove respective tab content }); });
| ver. 1.4 |
Github
|
.
| PHP 7.3.33 | Generation time: 0.1 |
proxy
|
phpinfo
|
Settings