Image Anchor

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Image Anchor

Richard Eng
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:.

Thanks,
Richard
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Image Anchor

Lukas Renggli
> 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
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside