Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to adjust the height of the TOC?

Explorer ,
Apr 19, 2023 Apr 19, 2023

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!

TOPICS
Advanced , Advanced actions
357
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Apr 19, 2023 Apr 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';

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 19, 2023 Apr 19, 2023
LATEST

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';

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources