Updated Readme from master

This commit is contained in:
Manuel Ebert 2012-05-24 18:27:19 +02:00
parent 0ba2e496f2
commit 46b67dccc3
5 changed files with 86 additions and 80 deletions

View file

@ -7,12 +7,9 @@ $(window).scroll(function(){
var w = $(window).width();
if (w > 768) {
$('.leftlogo').show();
var lt = -300 + $(window).scrollTop()*2
lt = - $("#navbar").position().top - $("#navbar").height() - $('.leftlogo').height() + $(window).scrollTop()
if (lt > 30) lt = 30;
$('.leftlogo').css('top', lt);
if ($(window).scrollTop() > 30) {
$('#navbar').css('margin-top', $(window).scrollTop()-30)
}
} else {
$('.leftlogo').hide();
}