4 messages in com.googlegroups.google-gadgets-apiRe: NXSL and alternating row color
FromSent OnAttachments
paru...@gmail.com06 Mar 2006 13:54 
mesch06 Mar 2006 14:27 
paru...@gmail.com06 Mar 2006 19:54 
mesch07 Mar 2006 14:19 
Subject:Re: NXSL and alternating row color
From:paru...@gmail.com (russ@gmail.com)
Date:03/06/2006 07:54:51 PM
List:com.googlegroups.google-gadgets-api

This was a big help. Alternating rows are working! THANKS!!!

One more question. Clearly when I call position as part of the div tag it is returning a number that increments each time... but if I call it from inside the div tag it keeps returning "1". I'd like to use the index number of the current iteration to as part of the the ID of elements inside the DIV...

when I do this:

<div select="item" values="class:ext-if(position() mod 2 = 0,'white','green')"> <span select="name" values"id:position()" content="."></span> </div>

every span tag ends up with id=1

Any idea how I can get my hands on the current iteration number inside the div tag?