Next button blink effect using JQuery

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