[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
[mv] results page
****** message to minivend-users from Victor Nolton <ven@pragakhan.com> ******
I've seen numberous mails on this. but Im trying to do my results
page a bit different :(
I need to have 2 items next to each other.
I don't know how else to explain it other than showing the code.
The way I've done it is by making a table with 2 cells across, INSIDE
each sell is a table, based on a [calc] routine. Very messy :(
Below is what I want but I don't know how to do it. By sing this
method the description, price and order buttons are on the same row
and is very clean. at the bottom is what I am using now.
Minivend 3.14. Any suggestions?
[quick html]
<tr>
<td ROWSPAN="3">Image 1</td>
<td>Description</td>
<td>description</td>
<td ROWSPAN="3">Image 2</td>
</tr>
<tr>
<td>price</td>
<td>price</td>
</tr>
<tr>
<td>order button</td>
<td>order button</td>
</tr>
[/quick html]
Right now this is what I have.. sorry for the MESS.
<table border="0" cellspacing="0" cellpadding="1" width="100%">
[loop search="sf=section/su=yes/se=015-0/tf=section"]
[calc] return '
<tr>
<td align=left valign=top width="50%">
<table border="0" cellspacing="0" cellpadding="4" width="100%">
<tr>
<td ROWSPAN="3" height=150 align=left valign=top><img border="0"
src="/products/[loop-field image]" alt="[loop-field title]"></td>
<td align=right height=85 valign=top><font color="#003399" size="3"
face="Verdana"><b>[loop-field title]</b></font><br>
<b><font face="Verdana" size="2"
color="#003399">[loop-description]</font></b></td>
</tr>
<tr>
<td align=right height=15 valign=middle><font color="#003399"
size="3" face="Verdana"><b>[loop-price]</b></font></td>
</tr>
<tr>
<td align=right height=50 valign=bottom><font color="#003399"
size="3" face="Verdana"><b>[order [loop-code]]<img border="0"
src="/SaleButton.gif" width="36"
height="28">[/order]<br>Order</b></td>
</tr>
</table>
</td>
' if '[loop-increment]' % 2 eq 1[/calc]
[calc] return '
<td align=right valign=top width="50%">
<table border="0" cellspacing="0" cellpadding="4" width="100%">
<tr>
<td align=left height=85 valign=top><font color="#003399" size="3"
face="Verdana"><b>[loop-field title]</b></font><br>
<b><font face="Verdana" size="2"
color="#003399">[loop-description]</font></b></td>
<td ROWSPAN="3" height=150 align=right valign=top><img border="0"
src="/products/[loop-field image]" alt="[loop-field title]"></td>
</tr>
<tr>
<td align=left height=15 valign=middle><font color="#003399" size="3"
face="Verdana"><b>[loop-price]</b></font></td>
</tr>
<tr>
<td align=left height=50 valign=bottom><font color="#003399" size="3"
face="Verdana"><b>[order [loop-code]]<img border="0"
src="/SaleButton.gif" width="36"
height="28">[/order]<br>Order</b></td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan=2><hr size=1 noshade></td></tr>
' if '[loop-increment]' % 2 eq 0[/calc]
[/loop]
</table>
Ven's News (Bookmark It) : http://www.vensnews.com
Effective 9/15 - All HTML Encoded email will be ignored. Learn Standards
Ven (ven@pragakhan.com) _________________ http://ven.pragakhan.com __
AOL: WebmstrVen Praga Khan's Official Website ICQ: 8321393
http://www.pragakhan.com
Lords of Acid Official Website
http://www.lordsofacid.com
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list