Forum Discussion
EricR
7 years agoCommunity Member
Hide personnal tabs in the player ?
Hi Community
In SL2, I have added personnal tabs in the player.
For some slides, I want to hide some tabs using the "Player Features" in the "Slide Properties" of these slides. However I can onl...
JerryBeaucaire
Community Member
Oops! Thanks for that, I did correct the quotes and still no joy. Grrr.
const tab1 = document.querySelector(”#link-right-0");
tab1.style.display = "none";
const tab2 = document.querySelector(”#link-right-1");
tab2.style.display = "none";
The display parameter still isn't even showing when I inspect the published page.
OwenHolt
3 years agoSuper Hero
I 'struck out' the jquery and located every instance I could find of the mis-matched quotes. It was on multiple slides and I think I found one on your master as well. Once I updated the quotes and removed the jquery, it appears your script is working.