On Monday 02 October 2006 23:34, Matt wrote:

> > x="${(image_menu.width - width)/2}"
>
> This seems to be my problem. If I hard code the value, then the image stops
> where I want. If x is calculated, then it resets after each click.
Well, I figured it out, so I am posting for others.

For whatever reason, a static value "28" is only evaluated once. For a 
calculational value like above you must use $once{}

This now works for me.

Thanks,
Matt

_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to