Re: Re: Newbie - Rails 3 lightbox?

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

Walter Davis wrote in post #960734:
> That looks cool, but it uses a LOT of really non-standard HTML.
> (Validate their demo page for a study in angry-looking error icons
> over at W3.) I am still wishing for one of these that doesn''t use
made-
> up attributes on the A or IMG to communicate the metadata for the
> popup.

Actually, made-up attributes are often the best way to do this.  I''m an
HTML validation Nazi, but I''m perfectly happy to use extra attributes
like these -- the nice thing about HTML is that unknown attributes
won''t
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?

>
> Walter

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

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