Next button blink effect using JQuery
Sep 14, 2017
By
Ashok Kumar
Hi
I want to give a blink effect to the Next button in the player for which I am using the following code:
var item = $(‘.slide-control-button-next’)
var default_color = $(item).css(“background”)
$(item).css(“background”, “white”)
setTimeout(function(){$(item).css(“background”, default_color)}, 500)
setTimeout(function(){$(item).css(“background”, “white”)}, 1000)
setTimeout(function(){$(item).css(“background”, default_color)}, 1500)
setTimeout(function(){$(item).css(“background”, “white”)}, 2000)
setTimeout(function(){$(item).css(“background”, default_color)}, 2500)
When I use this code on a normal button in browser it works fine. But it is not working in my Storyline project.
Kindly suggest.
2 Replies
The default SL player controls cannot be selected by jquery/javascript. Inspect the DOM and you'll see this point.
I use this code on a default next button . But it is not working in my Storyline project.
This discussion is closed. You can start a new discussion or contact Articulate Support.