Multiple data-types HTML/jQuery for filterable portfolio -


i'm trying customize filterable portfolio plugin asta.

what plugin does, show images selected category. links particular images category using 'data-type' so:

<li data-id="id-1" data-type="blackandwhite">  

my question is; possible give 1 list item multiple data-types? if so, how?

i tried searching problem, oddly enough couldn't find answer seemingly simple problem.

yes, possible. plugin uses li[data-type~=+$filterclass+] selector named "attribute contains word". means can add multiple types, delimited spaces: e.g. <li data-id="id-1" data-type="blackandwhite red someothercategory">


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -