summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorNoah Jewell <njewe42@tscstudents.net>2017-04-11 19:42:52 +0000
committerNoah Jewell <njewe42@tscstudents.net>2017-04-11 19:42:52 +0000
commit139b76d195c1095c12f77eb34ba98cea55161183 (patch)
tree3f21610e1e8466072aae1da6500a7cceb6c05cb7 /js
parent505c8e6d6eb311ec319d02c143c349ea2413b32d (diff)
Upload new file
Diffstat (limited to 'js')
-rw-r--r--js/clean-blog.min.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/js/clean-blog.min.js b/js/clean-blog.min.js
new file mode 100644
index 0000000..852db7e
--- /dev/null
+++ b/js/clean-blog.min.js
@@ -0,0 +1,6 @@
+/*!
+ * Start Bootstrap - Clean Blog v3.3.7+1 (http://startbootstrap.com/template-overviews/clean-blog)
+ * Copyright 2013-2016 Start Bootstrap
+ * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
+ */
+$(function(){$("body").on("input propertychange",".floating-label-form-group",function(o){$(this).toggleClass("floating-label-form-group-with-value",!!$(o.target).val())}).on("focus",".floating-label-form-group",function(){$(this).addClass("floating-label-form-group-with-focus")}).on("blur",".floating-label-form-group",function(){$(this).removeClass("floating-label-form-group-with-focus")})}),jQuery(document).ready(function(o){var s=1170;if(o(window).width()>s){var i=o(".navbar-custom").height();o(window).on("scroll",{previousTop:0},function(){var s=o(window).scrollTop();s<this.previousTop?s>0&&o(".navbar-custom").hasClass("is-fixed")?o(".navbar-custom").addClass("is-visible"):o(".navbar-custom").removeClass("is-visible is-fixed"):s>this.previousTop&&(o(".navbar-custom").removeClass("is-visible"),s>i&&!o(".navbar-custom").hasClass("is-fixed")&&o(".navbar-custom").addClass("is-fixed")),this.previousTop=s})}}); \ No newline at end of file