On Thu, 12 Jun 2003, Pierre Baillet wrote:

what's the purpose of the div?  is it supposed to be the text you want for the
link?

i mean - this looks like you want an image AND some text to be links... is
this correct?

-a

> Hi,
>
> Using Amrita 1.0.2, I've got a small html snippet:
>
> <a id='main_elt'><img id='thumb_pic'><div class='title' id='title'
> /></a>
>
> I'd like to fill the href for the a, the src for the img, and some text
> inside the div.
>
> So far, i've got
>
> data = { :thumb_pic => a(:src => 'image.png'), :title => name,
> :main_elt=> a(:href=> 'http://www.google.com') }
>
> This doesn't work  ;
> I only got the href filled up correctly...
>
> Any clue ?
> TIA
> --
> Pierre Baillet
>         Debian - What your mom would use if it were twenty times easier.
>                             http://www.copyleft.net
>
>

-a
--
  ====================================
  | Ara Howard
  | NOAA Forecast Systems Laboratory
  | Information and Technology Services
  | Data Systems Group
  | R/FST 325 Broadway
  | Boulder, CO 80305-3328
  | Email: ara.t.howard / noaa.gov
  | Phone:  303-497-7238
  | Fax:    303-497-7259
  | ~ > ruby -e 'p(%.\x2d\x29..intern)'
  ====================================