How do I highlight an element in a view result? I have a "Collection" content type, and a "Product" content type.

Each "Product" node has a node reference to a "Collection" node, and a "Collection" node can have several "Product" nodes referring it, while a "Product" node can only belong to one "Collection" node.

I created a view to list all collection as photo thumbs with link to collection node. I display this list as a footer in collection nodes and products nodes.

What I want to do as "special" is to highlight current collection in the collections footer when I display a product node which belongs to this collection. Same thing when I display the collection itself.

Is it possible to do this using views and as possible without Javascript?
First check the thumbnail is passing your condition then simply just add a unique class to that field using the tpl file for that field.