[Seaside] [2.6]Images and anchors

Carl Gundel carlg at libertybasic.com
Tue Oct 23 01:54:25 UTC 2007


>What's the easiest way to use an image for an anchor?  Is there a simple 
>way to include an image >spec like so between the start and end tags 
>without subclassing or modifying what's there?  I've >poked around but 
>nothing jumped out at me.
>
>  <a blah blah><img src="image.gif"></a>

Oh that wasn't so hard.  Don't know why it took me so long:

  html anchor
    with: [ html html: '<img src=''', self imagePath, '''>' ]

-Carl Gundel
http://www.runbasic.com 




More information about the seaside mailing list