I’d like to fade out the Advanced Layerslider at a specific time (e.g.: 10 seconds) to display none. Or, be able to scroll down to a different section of the page after 10 seconds. Is there such a feature within the Layerslider that I’m not seeing? Or, a plugin or script you can suggest?
I know how to use anchor tags, but I’d like this to be done on a timer instead.
The only thing I could find is a javascript to hide a section after a given period of time (which I’m using for now). The script is:
<!-- Timeout the Layerslider -->
<script type='text/javascript'>
var timePeriodInMs = 10000;
setTimeout(function()
{
document.getElementById("layer_slider_1").style.display = "none";
},
timePeriodInMs);
</script>
Your thoughts…
Hey laptophobo,
Unfortunately the fade out function is not native to Enfold.
A simple way to add in your above script would be with the following plugin:
https://wordpress.org/plugins/custom-javascript-editor/
Best regards,
Jordan Shannon