do not force position and top for pcfnav (#1046)

This commit is contained in:
Frédéric Péters 2011-11-30 09:09:21 +01:00
parent 8e79964ae6
commit 29ed77dc15
1 changed files with 1 additions and 4 deletions

View File

@ -44,10 +44,7 @@
current_section = $('#menu .selected').offset();
$('#menu .selected').prepend('<span id="navmarker"'+'><'+'/span>');
$('#navmarker').click(function() { $('#pcf-top-nav').toggle(); });
console.log(current_section);
$('#pcf-top-nav').hide().css('position', 'absolute'
).css('top', current_section.top+40
).css('left', current_section.left-50);
$('#pcf-top-nav').hide().css('left', current_section.left-50);
})(jQuery);
</script>