Re: turning every 5th line red

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 22118
interpreted = N
texte = This could work, but the problem is that I am displaying the contents of the Details [Details] field, on a details page, so I am not using a cart, thus no lineitems. How do I sort, or count the lines from a field on a non shopping cart related page? > >Here is a line we use to highlite every second line of data within a >lineitem display: > >[showif [math][lineindex]+1[/math]\2] bgcolor=#CECE9C[/showif] > >I wanted the odd lines to be colored so added 1 to the lineindex before >doing the mod function. By applying this to every cell in the row, it >has a greenbar effect and makes it easier to read long lines of data. If >you are doing this within [founditems] just use the index counter instead >of lineindex. Hope this is helpful. > > ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com Associated Messages, from the most recent to the oldest:

    
  1. Re: turning every 5th line red (Mike Jones 1999)
  2. Re: turning every 5th line red (Kenneth Grome 1999)
  3. Re: turning every 5th line red (PCS Technical Support 1999)
  4. Re: turning every 5th line red (Mike Jones 1999)
  5. Re: turning every 5th line red (PCS Technical Support 1999)
  6. Re: turning every 5th line red (Mike Jones 1999)
  7. Re: turning every 5th line red (Kenneth Grome 1998)
  8. Re: turning every 5th line red (PCS Technical Support 1998)
  9. Re: turning every 5th line red (bobm 1998)
  10. Re: turning every 5th line red (Mike Jones 1998)
  11. Re: turning every 5th line red (John Winningham 1998)
  12. turning every 5th line red (Mike Jones 1998)
This could work, but the problem is that I am displaying the contents of the Details [Details] field, on a details page, so I am not using a cart, thus no lineitems. How do I sort, or count the lines from a field on a non shopping cart related page? > >Here is a line we use to highlite every second line of data within a >lineitem display: > >[showif [math][lineindex]+1[/math]\2] bgcolor=#CECE9C[/showif] > >I wanted the odd lines to be colored so added 1 to the lineindex before >doing the mod function. By applying this to every cell in the row, it >has a greenbar effect and makes it easier to read long lines of data. If >you are doing this within [founditems] just use the index counter instead >of lineindex. Hope this is helpful. > > ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com Mike Jones

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

NT version and O'reily's WebSite (1997) It just Does't add up!!! (1997) Help name our technology! I found it (1997) RE: WebCatalog2 for NT Beta Request (1997) Add message to Order (1997) # of real domains on 1 web server (1997) Can I invoke an ssi plugin from within a webcat page (1997) A link and two command (1998) Sorting problem (1997) Format question WC Mac f3 (1997) [WebDNA] Store module/site (2012) webcat2b12 CGI -- Date comparisons (1997) background (2001) PCS Frames (1997) Not really WebCat (1997) Nesting format tags (1997) Undeclared variables (2004) Sku numbers (1997) Order file numbers different than the cart number. why? (2000) RE: [WebDNA] Webstar (2008)