I'm using this set-up: http://flowplayer.org/tools/demos/tabs/slideshow.htm

Works ok (with a bit more CSS to do):

However, what I now need is for the background color to change with each tab change. There is a bit of explanation on jQuery events here: http://flowplayer.org/tools/document...ng.html#events But to be honest it doesn't mean much to me.

I've added data-bgcolor="#FF0000" to each of the image layers, and then tried adding this script
	 onClick: function(event,tabIndex){
     var bg = $(event.element).data('bgcolor');
     $('body').css('background-color', bg);
Doesn't work: http://stage.truedesign.electra-2.ti...rue/logos1.php

I would be grateful for any help, because I'm not fluent with JS at all, although I'm quite ok with HTML/CSS

Many thanks.