On Sun, Dec 03, 2006 at 04:24:02AM +0100, Christoph Zwerschke wrote: > <div py:if="item.get('id')=='body1'">a certain div</div>
> Then the certain div would only appear for those templates which have > set id="body1" in their body tag. Thanks! Very nice! I like it cuz unlike other solutions this one allows you to default to displaying <div> unless template sets a variable like turn-div-off="1". Great! Chris ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ kid-template-discuss mailing list kid-template-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kid-template-discuss