Copy link to clipboard
Copied
Hello everyone I am trying to find the TOC code in the HTML5 output. I found this line in the index.html
<div id='toc' style='left:0px;position:absolute;-webkit-tap-highlight-color: rgba(0,0,0,0);'> </div>
But that does nothing to modify it. I am currently looking in the CSS but I am going nuts. All I need to do is move the whole TOC div container down 20 pixels.
Anyone have an answer?
Put this javascript in the first slide to execute on load
toc.style.marginTop="20px";
does what you want?
Copy link to clipboard
Copied
Put this javascript in the first slide to execute on load
toc.style.marginTop="20px";
does what you want?
Copy link to clipboard
Copied
Thanks a million that works perfect!
You still need to make some changes to the index.html but the TOC finally moves where I want it to.
Thanks again