[Seaside] Image refresh

Alexander Lazarević laza at blobworks.com
Thu Oct 13 08:43:04 UTC 2011


Lukas, Nick,

I will try both and see what works best. Thanks for your suggestions!

Alex

2011/10/13 Nick Ager <nick.ager at gmail.com>

> Hi Alex,
>
> Something like:
>
> html image
>  id: #imageToBeManipulatedId;
> url: 'initialPathToImage.png'.
>
> html button
> bePush;
> script:((html jQuery: #imageToBeManipulatedId) attributeAt: 'src' put:
> 'pathToNewImage.png');
>  with: 'Click to change image'.
>
> Nick
>
> On 13 October 2011 08:57, Alexander Lazarević <laza at blobworks.com> wrote:
>
>> Hi!
>>
>> I'm looking for a suggestion to do the following. I want to display an
>> image that will be composed depending on user selection.
>> All combinations are too numerous to be prerendered and just referenced in
>> a CSS. So what would be a good way to force
>> a reload/redisplay of that image?
>>
>> Thanks,
>>  Alex
>>
>> _______________________________________________
>> seaside mailing list
>> seaside at lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
>>
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20111013/9b6abe40/attachment.htm


More information about the seaside mailing list