[Seaside] Image refresh

Nick Ager nick.ager at gmail.com
Thu Oct 13 08:12:12 UTC 2011


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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20111013/c82b5508/attachment.htm


More information about the seaside mailing list