I am trying to have a function change the reflectionColor in some javascript to a jqeuryui ui-widget-content color. The reason is I want to have the reflection color change when each Themeroller theme is applied. Here is my code:
function colorReflect(){,
var jqueryuiColor = $('.ui-widget-content:first').css('background-color');
return $(jqueryuiColor).val();
}
var cf = new ContentFlow('contentFlow',{
reflectionColor: colorReflect,
visibleItems: 4,
circularFlow: true,
startItem: "center",
scrollInFrom: "none",
space: 0.4,
maxItemHeight : 200,
showCaption: true,
flowSpeedFactor: 1.0,
scrollWheelSpeed: 1,
flowDragFriction: 1,
reflectionGap: 0.0,
reflectionHeight: 0.4,
onReachTarget : function(){
if (global.isCboxOpen)
initCBox();
},
I think I am on the wrong track! Any help would be appreciated.