Skip to main content
Inspiring
April 19, 2023
Question

How to adjust the height of the TOC?

  • April 19, 2023
  • 1 reply
  • 417 views

Hi folks,

I´m creating a content with it´s own buttons and playbar, but the TOC always covers the whole slide height and therefore my playbar area. How can I adjust the overall height? I did a little research in the published project and found the div class "tocfooter". now I´d like to remove it, but not every time after publishing ... Is there a way to set the height or dismiss the footer somewhere in the templates??

 

Thanks!

This topic has been closed for replies.

1 reply

TLCMediaDesign
Inspiring
April 19, 2023

You can execute this JavaScript on your TOC button, this will make the height 400, adjust for your situation:

 

document.getElementById('toc').style.height = 400 + 'px';
document.getElementById('tocContent').style.height = 400 + 'px';

Sasha*Author
Inspiring
April 19, 2023

GREAT!

Although ... the "tocFooter" still covers the lower part of the screen and therefor the playbar.

 

BUT I added a line (to be honest, more or less by guessing, because I`m no programmer) and the footer is gone 🙂

The complete script will be:

document.getElementById('toc').style.height = 719 + 'px';
document.getElementById('tocContent').style.height = 719 + 'px';
document.getElementById('tocFooter').style.display='none';