Greetings, Pretty easy but a bit of work with nested <dtml-in>. You can use <dtml-if sequence-even>class="dark"</dtml-if> in the TR to shade the cells as well... Have fun! <table> <dtml-in methodone> <tr> <td><a href="page?linkone=&dtml-linkone"><dtml-var linkone></a></td> </tr> <dtml-if "REQUEST.has_key('linkone')"> <dtml-in "methodtwo(linkone=linkone)"> <tr> <td><dtml-var resultsoftwo></td> </tr> </dtml-in> </dtml-if> </dtml-in> </table> Paz -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Brigitte Chan Sent: Friday, June 15, 2001 4:55 PM To: zope@zope.org Subject: [Zope] about links hi, i'm trying to write code that will display content once a link on the same page is clicked. so for example, there are two rows in a table. there's a link on the first row. once the link is being clicked, the second row will display the content which is related to that link. can someone help me out with that? thanks, phat-phish ---------------------------------------------------------------------------- -- Get your FREE download of MSN Explorer at http://explorer.msn.com _______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (2)
-
Brigitte Chan -
Paul Zwarts