Re: Re: Re: Newbie - Rails 3 lightbox?

Marnen Laibow-Koser
Thu, 11 Nov 2010 15:59:51 -0000

Walter Davis wrote in post #960750:
> On Nov 11, 2010, at 10:11 AM, Marnen Laibow-Koser
<lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>
> wrote:
>
>> break anything, and they prevent you from having to mix JS into your
>> HTML.
>>
>>> I have the start of such a thing, but I haven''t had time
to
>>> really flesh out its support for non-image media.
>>
>> Where do you put your metadata?
>
> I use the a:title, the a:class, the a:rel, the img:class and the
> img:alt.

I''d love to see sample usage.  I would say, however, that I think
img:alt is 100% inappropriate for metadata -- after all, it''s the text
that displays *instead of* the image in a non-graphical browser, not a
*description* of the image -- and for me at least, I''d take some
convincing for a:title.

> I''m also thinking about the img:src to encode geometry for
> Flash and other plugin content.

That sounds smelly to me.  Of course, there''s img:height and :width...

> I haven''t added support for non-image
> media types yet, though.
>
> Walter

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org

--
Posted via http://www.ruby-forum.com/.