do not force position and top for pcfnav (#1046)
This commit is contained in:
parent
8e79964ae6
commit
29ed77dc15
|
@ -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>
|
||||
|
|
Reference in New Issue