[Seaside] Clickable image (jpg file)

Frank Sukhu fsukhu at gmail.com
Fri Aug 18 15:33:50 UTC 2006


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





More information about the Seaside mailing list