diff options
author | Bryan Newbold <bnewbold@archive.org> | 2017-08-31 14:39:56 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2017-08-31 14:39:56 -0700 |
commit | 5e7c8bb5ae2e80b403d9754d3b3c906dd43c4871 (patch) | |
tree | 8c7c8a6a84f108a99ed8a84d47401e089e852fa7 /static/js | |
parent | 381e40f2b9c87b6a9359f2c79cf4687064625288 (diff) | |
download | archive3k.org-5e7c8bb5ae2e80b403d9754d3b3c906dd43c4871.tar.gz archive3k.org-5e7c8bb5ae2e80b403d9754d3b3c906dd43c4871.zip |
draft from front page
Diffstat (limited to 'static/js')
-rw-r--r-- | static/js/archive3k.js | 9 |
1 files changed, 9 insertions, 0 deletions
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')); + }); +}); |