Skip to content

Commit

Permalink
fix banner position
Browse files Browse the repository at this point in the history
  • Loading branch information
digitaltom committed Mar 5, 2013
1 parent 30b7d47 commit 950ce7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/hackweek.js
Expand Up @@ -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 */
Expand Down

0 comments on commit 950ce7e

Please sign in to comment.