Setting properties in a 'parameter list' delimited by {}

Setting properties in a 'parameter list' delimited by {}

Hi,

I want to set opacity parameter value before calling: $('x').animate({opacity:1},v1);

...of course, other than setting a switch case line for each possible expected value.

Thanks.