Add safingTailwind-1.2

This commit is contained in:
Luke 2021-12-13 07:29:14 +01:00
parent c54798ddd1
commit abd2fd25e8
15 changed files with 267698 additions and 1 deletions

View file

@ -0,0 +1,15 @@
$(document).ready(function() {
var tabs = $('ul.tabs');
tabs.each(function(i) {
var tab = $(this).find('> li > a');
tab.click(function(e) {
var contentLocation = $(this).attr('href');
if(contentLocation.charAt(0)=="#") {
e.preventDefault();
tab.removeClass('active');
$(this).addClass('active');
$(contentLocation).show().addClass('active').siblings().hide().removeClass('active');
}
});
});
});