Rotation in Ui Tabs

Rotation in Ui Tabs

Hi to all,

I am trying to configure the Ui Tabs at my page. I want them to rotate and I find a lot of lines of code about animation plus plenty of web tutorials. However, no tutorial tells me where to insert the code for rotation.
If I understood it correctly, I need to work with
  1. .tabs( "rotate" , ms , [continuing] )
So - where do I need to insert that piece? Is it even in the ui.tabs.js or in a php? Being a total beginner, I really need help.
Thank you!!!