Forum Discussion
RickAngelone2
10 years agoCommunity Member
Hide or Show Seekbar in slide
I've read several posts on this topic, but none have answered the question. Is there a way (using javascript) to hide the seekbar or show the seekbar using a javascript trigger?
i.e. make a button...
RachelCrabtr843
7 years agoCommunity Member
bump - anyone have a potential solution? Thanks!
- OnodaSakamichi7 years agoCommunity Member
Hi, Rachel.
To hide the seekbar on individual layers, insert a trigger to execute JavaScript and enter this single line of code:
$('div.controls-group.control-bar.cs-seekcontrol.progress-control').hide();
You will need to enter the same code, but change .hide(); to .show(); on layers, including the base layer, where you want the seekbar to display.
$('div.controls-group.control-bar.cs-seekcontrol.progress-control').show();Please note this works only with HTML5 output, not Flash.
Related Content
- 2 months ago