[Seaside] Clickable image (jpg file)

Philippe Marschall philippe.marschall at gmail.com
Fri Aug 18 15:51:51 UTC 2006


Hi

#with: has to be the last message to a tag. So the code should look like this:

renderControlsOn: html
    html anchor
        callback: [ self break ];
        with: [
            html image
                fileName:  'backButton.jpg';
                mimeType: 'image/jpg'].


Philipe


2006/8/18, Frank Sukhu <fsukhu at gmail.com>:
> Greetings All,
>
> I am trying to display an image (a jpg image) that is clickable - it is
> supposed to be like a "Stop" button on a tape recorder, e.g., one of the
> buttons like Play, Forward, Stop.
>
> Here is the relevant code snippet:
>
> ---- start of code -----
>
> renderControlsOn: html
>   html anchor with: [html image fileName:  'backButton.jpg';   mimeType:
> 'image/jpg'];
>                     callback: [self break].
>
> --- end of code ----
>
> When I execute this code, the 'backButton' image is displayed but nothing
> happens when I click on the image.  What am I doing wrong?
>
> As always, I appreciate any help you can provide.
>
> Frank
>
>
>
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>


More information about the Seaside mailing list