[Seaside] Image Anchor

Lukas Renggli renggli at gmail.com
Sun Aug 5 12:01:17 UTC 2007


> What's the syntax for making a "html image" an anchor?
>
> I tried:
>
>         html image callback: [some stuff]; url: 'image location'.
>
> but Squeak choked on #callback:.

Anchors and images are different things. You need to nest the image
into an anchor, like this is done in XHTML:

   html anchor
      callback: [some stuff];
      with: [html image url: 'image location']

Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the Seaside mailing list