Resolve conflict between the common Boost header and the ToC

This commit is contained in:
Peter Dimov
2017-06-10 18:27:04 +03:00
parent 5610a2dc7d
commit c045fca0b2
2 changed files with 56 additions and 1 deletions
+29
View File
@@ -32,3 +32,32 @@ This documentation is
* Copyright 2011 Beman Dawes
* Copyright 2015 Ion Gaztañaga
* Distributed under the http://www.boost.org/LICENSE_1_0.txt[Boost Software License, Version 1.0].
++++
<script>
var header = document.getElementById( 'boost-common-heading-doc' );
if( header )
{
header.style.position = 'fixed';
header.style.zIndex = '100';
var notice = document.getElementById( 'boost-common-heading-notice' );
if( notice )
{
notice.style.position = 'fixed';
notice.style.zIndex = '101';
}
var toc = document.getElementById( 'toc' );
if( toc )
{
toc.style.top = '101px';
}
}
</script>
++++