Joel,
That actually worked real well; why this is an error, I am not sure.  I may
open a ticket.

Really appreciate your help.

On 7/30/07, Joel Birch <[EMAIL PROTECTED]> wrote:
>
>
> On 31/07/2007, at 2:10 AM, Joel Birch wrote:
> > var leftAlign = true;
> > var posiOffset = 10;
> > var c = { width : 100px};
> > c[leftAlign ? 'left' : 'right' ] = posiOffset +'px';
> > $('#el').css(c);
>
> Correction: obviously 100px needs to be in quotes, and the first two
> variables are actually set dynamically, not hardcoded as shown.
> Sorry, its late here.
>
> Joel.
>



-- 
Benjamin Sterling
http://www.KenzoMedia.com
http://www.KenzoHosting.com

Reply via email to