javascript function that fires on start of next widget

  • 1
  • Question
  • Updated 4 years ago
  • Answered
I'm wondering if there is a javascript function that can be fired when a particular widget begins/finishes. Basically what I'm trying to accomplish is to have a navigation bar at the top of my presentation that will highlight the title of the item that is playing in the content area below.
For example if my navigation bar is VIDEOS menu item will be highlighted when the VIDEOS content widget is playing. 
Photo of Graeme


  • 226 Points 100 badge 2x thumb

Posted 4 years ago

  • 1
Photo of Stuart Lees

Stuart Lees, Employee

  • 586 Points 500 badge 2x thumb
Hi Graeme,

Widgets need to communicate with Viewer in order to tell it things such as when it has finished loading its content (the ready event) and when it has finished playing through (the done event). The way to do this from within the Widget is documented here.