You have few tabs on your page, and you would like them to auto-rotate every few seconds automatically, we will tell you how to do this.



Step 1: Add Class to the Tabs element


So we can reference it easily using JavaScript, if you have more than one ticker on the page, and you want to pause them all, add the exact same class to all of them.

I will use here my-rotating-tabs as a class name



Step 2: Add Script Editor Web Part


You can refer to the following article if you don't know how to add a Script Editor Web Part:


Step 3: Add the JavaScript code into the Web Part


Open the following link, copy all of its content, and paste it into the Embed dialog of the Script Editor Web Part



Note: to control how many seconds should the script wait until it moves automatically to the next element, you should update a variable in the script called secondsToRotate ( e.g: 5 means 5 seconds )




Save the page, and you're done!