[jQuery] Re: class="{title:'test'}

2010-01-21 Thread MorningZ
No, you don't have it right, it's the MetaData plugin in use   :-)

http://pupunzi.open-lab.com/mb-jquery-components/jquery-mb-extruder/

one of the dependencies listed is "jquery.metaData.js"

On Jan 21, 3:46 pm, Bruno Santos  wrote:
> Hiho!
>
> I believe that you are trying to add some CSS settings directly on the tag
> definition, instead of assigning a class to it.
> If I got it right, you should use the tag parameter *style*, instead of
> class.
>
> 
>   
>      logo 
>     
>     ...
>     
>   
> 
>
> 2010/1/20 fran23 
>
>
>
> > I don't know how to handle
>
> >        class="{title:'test'}
>
> > it's out of the mb.extruder plugin
>
> >  
> >    
> >                         logo 
> >                        
> >                                 ...
> >                        
> >                
> >  
>
> > 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.


[jQuery] Re: class="{title:'test'}

2010-01-20 Thread MorningZ
Here is the plugin

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

in your example of



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

would show "test" in the Firebug console

On Jan 20, 4:34 am, fran23  wrote:
> I don't know how to handle
>
>         class="{title:'test'}
>
> it's out of the mb.extruder plugin      
>
>   
>                   
>                          logo 
>                                 
>           
>                                  ...
>                         
>                 
>   
>
> 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.