Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] Item listings/Row color



******    message to minivend-users from Ryan Hertz <rhertz@gyb.baits.com>     ******

I think he is looking for something more like using the mod 2 of the line 
number and if divisible, change color.  I've seen this in the list, and I 
use it myself.  Do a search on search-increment or loop-increment (whatever 
it is), calc and mod.  You'll find it.


At 01:04 AM 2/4/2000 , you wrote:
>******    message to minivend-users from jojo@buchonline.net     ******
>
>On  3 Feb, Humberto T Reyes wrote:
> > ******    message to minivend-users from "Humberto T Reyes" 
> <htreyes@earthlink.net>     ******
> >
> > Hello to all,
> >
> >
> > I searched the list and did not find an answer--In the results page I want
> > to list a large number of items in a row and I want to change the color of
> > every other row.
> >
> > How can I do that within the search loop??
> >
> > I welcome all any ideas.
> >
> > Thanks to all,
> >
> > Humberto Reyes
> > htreyes@earthlink.net
>
>This is a html question. The answer is "<TD BGCOLOR="yellow">....</TD>.
>Changing every row...? Maybe this can helps you:
>
>
>At the top of your page:
>
>[perl arg=scratch]
>         $Safe{'scratch'}->{'rowflag'} = 'no';
>         return '';
>[/perl]
>
>
>inside the search results loop:
>
>[if scratch rowflag eq no]
><TD BGCOLOR="yellow">....</TD>
>[perl arg=scratch]
>         $Safe{'scratch'}->{'rowflag'} = 'yes';
>         return '';
>[/perl]
>
>[else]
>
><TD BGCOLOR="red">....</TD>
>[perl arg=scratch]
>         $Safe{'scratch'}->{'rowflag'} = 'no';
>         return '';
>[/perl]
>
>[/else]
>
>[/if]
>
>Regards,
>         Joachim
>
>
>--
>Hans-Joachim Leidinger
>buch online                 jojo@buchonline.net
>Munscheidstr. 14            FAX: +49 209 1971449
>45886 Gelsenkirchen         FAX: 0209 1671449
>
>-
>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


Ryan Hertz                                              tel  800-645-BAIT
Webmaster                                               fax  520-645-2588
Advertising Director                            http://www.insideline.net
Gary Yamamoto Custom Baits, Inc.            http://www.yamamoto.baits.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


Search for: Match: Format: Sort by: