From 5e7c8bb5ae2e80b403d9754d3b3c906dd43c4871 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 31 Aug 2017 14:39:56 -0700 Subject: draft from front page --- static/js/archive3k.js | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 static/js/archive3k.js (limited to 'static/js') diff --git a/static/js/archive3k.js b/static/js/archive3k.js new file mode 100644 index 0000000..1a506a2 --- /dev/null +++ b/static/js/archive3k.js @@ -0,0 +1,9 @@ + +// Make front-page search tabs colorful +// via: https://codepen.io/marifrahman/pen/aAEpD +$(document).ready(function(){ + $("a[data-toggle='tab']").click(function(e){ + $(".tab-content").css("border-color",$(this).css('backgroundColor')); + $(".tab-content").css("background-color",$(this).css('backgroundColor')); + }); +}); -- cgit v1.2.3