I want to add a custom attribute to the main div of a node only on teaser view mode. e-g
<div class="node" tarbot="left"> </div>
I need to add tarbot attribute to the main div of a node to apply a JS function. I want to affect only teaser view mode with my Function, not Full content display.
#attributeskey in the build array before it is sent for rendering.