Here is the plugin

http://plugins.jquery.com/project/metadata

in your example of

<div id="extruderLeft" class="{title:'test'}">

var x = $("#extruderLeft").metadata().title;
console.log(x);

would show "test" in the Firebug console

On Jan 20, 4:34 am, fran23 <f...@lavabit.com> wrote:
> I don't know how to handle
>
>         class="{title:'test'}
>
> it's out of the mb.extruder plugin      
>
>   <div id="extruderLeft" class="{title:'test'}">
>     <div class="content">              
>                         <div class="voice {}"> logo </div>
>                         <div class="voice {panel:'... .php',data:''}">        
>           
>                                  ...
>                         </div>
>                 </div>
>   </div>
>
> normally I assign a class (i.e. class="abc") and set "abc" via CSS
>
> .abc { ... }
>
> but I don't know what to do with class="{title:'test'}
>
> May anybody give an explanation or link where I can learn about it?
>
> thx
> fran
>
> --
> View this message in 
> context:http://old.nabble.com/class%3D%22%7Btitle%3A%27test%27%7D-tp27238929s...
> Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to