it was pointed out that hidden text fields may prove problematic to
non-visual presentation.

On 11/1/06, Erik Beeson <[EMAIL PROTECTED]> wrote:
> In the case of adding metedata to divs, are these approaches any better than
> just using nested hidden spans?
>
> --Erik
>
>
> On 10/31/06, John Resig < [EMAIL PROTECTED]> wrote:
> > Hi Everyone -
> >
> > I just finished reading over the massive thread that discusses
> > embedding metadata into elements for later extraction. Well, I just
> > finished a plugin to handle all three metadata-extraction methods.
> >
> > You can see a demo here: (Uses Firebug debug statements!)
> > http://john.jquery.com/plugins/meta/
> >
> > It's capable of extracting metadata from classes, random attributes,
> > and child elements.
> >
> > For example, you can do:
> > <li data="{some:'random', json: 'data'}">...</li>
> > OR
> > <li class="someclass {some: 'data'} anotherclass">...</li>
> > OR
> > <li><script
> type="sometype">{some:"json",data:true}</script> ...</li>
> >
> > The default is the first method, but you can always change it but
> > twiddling the options. This means that there is at least one option
> > here to appease you.
> >
> > There's also a bunch of options (like loading data into a single
> > property and the ability to ignore braces {}). Let me know what you
> > think of this - I know that I'll probably be using it very soon.
> >
> > --John
> >
> > _______________________________________________
> > jQuery mailing list
> > discuss@jquery.com
> > http://jquery.com/discuss/
> >
>
>
> _______________________________________________
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>
>
>


-- 
Ⓙⓐⓚⓔ - יעקב   ʝǡǩȩ   ᎫᎪᏦᎬ
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to