Commit c10a357b authored by Jacob Thornton's avatar Jacob Thornton

don't bite so hard

parent fa6a131e
...@@ -6,17 +6,6 @@ ...@@ -6,17 +6,6 @@
$(function(){ $(function(){
// fancy fade jumbotron
var $jumbotron = $('.jumbotron')
, $jcontainer = $('.jumbotron .container')
, opacRatio = ($jumbotron.height() / 200 ) * 2
$(window).on('scroll', function () {
var diff = 100 - ($(window).scrollTop() / opacRatio)
$jcontainer.css({ opacity: (diff > 0 ? Math.min(diff, 100) : 0) / 100 })
})
// Disable certain links in docs // Disable certain links in docs
$('section [href^=#]').click(function (e) { $('section [href^=#]').click(function (e) {
e.preventDefault() e.preventDefault()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment