[ZPT] Design Help

Jose Muniz jmuniz at amazingbutterflies.com
Sun Dec 21 07:16:37 EST 2003


> I'm new to Zope and am looking for some suggestions to the following
> design problem.
> 
> I currently have a single column listing with items within a
> category/sub-category. 
> http://abf.zeta.zettai.net/Butterflies.com/products/010_artwork/framed
> _prints/5x7_framed_prints 
> 
> But instead of listing them in a long single column; I'd like to have
> a two column 
> listing with the items alternating from one column to the next until
> all items for the 
> category have been read.
> 
> Here's the current code that I have running today. It has two columns,
> but the 2nd column is just 
> to add more text to the right of the images so that the pages don't
> look so empty.
> 
> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="8">
> <SPAN CLASS="catlinks" tal:repeat="item container/objectValues">
> <TR>
> 
> <TD WIDTH="30%"><BR><A HREF="link" tal:define="increment
> repeat/item/number; pagename item/title" tal:attributes="href
> item/absolute_url">
> <IMG SRC="image" tal:attributes="src item/smallimage"
> BORDER="0"></A><BR>
> 
> <a HREF="link" 
>     tal:define="increment repeat/item/number; pagename item/title" 
>     tal:attributes="href item/absolute_url"
> style="text-decoration:none">
>     <span tal:replace="item/title">artwork title</span></a> <br>
>     <BR></TD>
> 
> <TD WIDTH="10">&nbsp;&nbsp;&nbsp;</TD>
> 
> <TD WIDTH="250"><A HREF="link" tal:define="increment
> repeat/item/number; pagename item/title_text" tal:attributes="href
> item/absolute_url" style="text-decoration:none"><span
> tal:replace="item/title_text">artwork title</span></A><BR>
> <BR>
> 
> 
> <TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0">
> <TR>
> <!--- <TD BGCOLOR="#FFD00D"><IMG SRC="images/dot.gif" WIDTH="1"
> HEIGHT="1" HSPACE="0" BORDER="0" ALT=""></TD> -->
> </TR>
> </TABLE>
> <BR></TD>
> </TR></SPAN>
> </TABLE><BR>
> 
> 
> Thanks in advance
> 
> Jose Muniz
> 954.575.9047
> 800.808.6276
> 
> Amazing Butterflies & Butterflies.com
> Where the Magic is Just a Flutter Away
> www.amazingbutterflies.com
> 
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zpt/attachments/20031221/ebfbe5b2/attachment.html


More information about the ZPT mailing list