Area splitter block - customising tabs

Permalink
Hi all
I want to set the tabs to automatically rotate. I know the jQuery looks like this:
.tabs( "rotate" , ms , [continuing] )

But I can't get it to work and it says to use JSON but I'm not familiar with how to use that.

I would also like the tabs to fade on click, which can be done like this in jQuery:
$('#container').tabs({ fxFade: true, fxSpeed: 'fast' });

But again, Im unsure what the exact syntax should be when I edit the block.

If anyone could help that would be great thanks :)

madesimplemedia
 
sniggitysnax replied on at Permalink Reply
sniggitysnax
Do you have a link to a working example? Without seeing your code, I can tell you that the javaScript snippet to initialize the jQuery tabs should look similar to
$("ul.tabs").tabs("div.panes > div");
as an example.
Also, be sure that jQuery is being called into your site, as concrete will only call certain elements when a user is logged into concrete.
Check out this link for a quick start to getting tabs up and running.
http://flowplayer.org/tools/tabs/index.html...
dekrim replied on at Permalink Reply
Somebody already know how to do this?

This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.