Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix banner position

  • Loading branch information...
commit 950ce7e65d31d6f54a9f70e68a69fe7dc05d8c55 1 parent 30b7d47
@digitaltom digitaltom authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  js/hackweek.js
View
2  js/hackweek.js
@@ -99,7 +99,7 @@ $(function () {
if ($(window).scrollTop() > $('#where').position().top - $('#where').height()) {
var percent_scrolled_out = Math.abs(($(window).scrollTop() - $('#where').position().top) / $('#where').height())
$('#where-title').css({'opacity': 1 - percent_scrolled_out/2,
- right: percent_scrolled_out * -500})
+ right: (percent_scrolled_out * -500) - 40})
}
/* set active page in navigation menu */
Please sign in to comment.
Something went wrong with that request. Please try again.