[ic] re: results.html

Paul Jordan interchange-users@interchange.redhat.com
Sun Mar 31 13:04:01 2002


> question:
>
> are the thumb image supposed to be also a link ? because it is
> not, here is
> what I stuck into the code in my results.html
>
> you can see it at:
>
> www.blunt-brothers.com
>
> select glass products...  I tried centering it, but for some reason it's
> all aligned to the left...
>
> thanks for all the help....
>
> [search-list]
>
> [item-change 1][condition][item-field category][/condition]
>
> <tr class="contentbar1">
>   <td colspan="6">&nbsp;[either][value banner_text][or][item-field
> category][/either]</td>
> </tr>
>
> [/item-change 1]
>
> <tr valign="middle">
>       <td>
>     <INPUT TYPE=hidden  NAME="mv_order_item"  VALUE="[item-code]">
>     <a href="[area [item-code]]">[item-description]</a>
>       </td>
>       <td align="center">[item-code]</td>
>       <td align="center">
>     [item-calc]
>     my $q = q{[item-data inventory quantity]};
>     if($q > 0) {
>         return <<EOF;
> <font __FFACE__ size="1" color="#008000"><b>Y</b></font>
> EOF
>     }
>     else {
>         return <<EOF;
> <a href="[area stock-alert [item-code]]"><b>N</b></a>
> EOF
>     }
> [/item-calc]
>       </td>
>       <td align="center">[item-price]</td>
>       <td align="center"><input type=hidden name="mv_oi[item-increment]"
> value=""><input type=text name=mv_order_quantity size=2 value=""></td>
>       <td align="center">
>           [if session browser =~ /mac/]
>             <input type=submit value="[L]Buy now[/L]"
> onClick="this.form.mv_oi[item-increment].value='[item-code]'" border=0>
>         [else]
>             <input type=image src="__THEME_IMG_DIR__buynow.gif"
> onClick="this.form.mv_oi[item-increment].value='[item-code]'" border=0>
>         [/else]
>         [/if]
> <td align="center>
> <center><a href="[area [item-code]]"><img
> src="__THUMB_DIR__/[item-code].jpg" border="0"></a><br>
> <a href="[area [item-code]]">[item-description]</a></center>
> </td>


That looks right to me, I dunno, but you can always try just [page
[item-code]] <img....> </a>

Paul