Re: displaying 12 results 4 by 3

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 32340
interpreted = N
texte = >Hello all, > >I'm fairly new to Webcat so please bare with me. I'm trying >to display a max of 12 images on my results page 4 accross >by 3 down rather than all 12 in a list. A good example of >this is the Stockbyte.com site. If anyone has an answer to >this it would be greatly appreciated.Here's the webdna coding format you need. The showif puts the table row tags in the proper place only when the index value is divisible by 4, thus allowing you to display 4 images per row before a new row begins. The max=12 in the search context allows only 12 items to be displayed per page. This code assumes you're using the image file naming convention [sku].jpg and that you store your images in the images subfolder:[search ... &max=12] [founditems] [showif [index]\4] [/showif][/founditems]
[/search] ================================ Kenneth Grome, WebDNA Consultant 808-737-6499 http://webdna.net ================================------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: displaying 12 results 4 by 3 (Robie Blair 2000)
  2. Re: displaying 12 results 4 by 3 (Charles Kline 2000)
  3. Re: displaying 12 results 4 by 3 (Robie Blair 2000)
  4. displaying 12 results 4 by 3 (Anthony Pugh 2000)
  5. Re: displaying 12 results 4 by 3 (Kenneth Grome 2000)
>Hello all, > >I'm fairly new to Webcat so please bare with me. I'm trying >to display a max of 12 images on my results page 4 accross >by 3 down rather than all 12 in a list. A good example of >this is the Stockbyte.com site. If anyone has an answer to >this it would be greatly appreciated.Here's the webdna coding format you need. The showif puts the table row tags in the proper place only when the index value is divisible by 4, thus allowing you to display 4 images per row before a new row begins. The max=12 in the search context allows only 12 items to be displayed per page. This code assumes you're using the image file naming convention [sku].jpg and that you store your images in the images subfolder:[search ... &max=12] [founditems] [showif [index]\4] [/showif][/founditems]
[/search] ================================ Kenneth Grome, WebDNA Consultant 808-737-6499 http://webdna.net ================================------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Kenneth Grome

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:

PIXO Support (1997) ShippingCosts (1998) Digest for 09-30-97 (1997) WebCatalog for guestbook ? (1997) WebCat2 - [format thousands] (1997) emailer (1997) WebCat2final1 crashes (1997) [SMSI] WebDNA is too good to go away! (2006) Trouble Searching (1999) [FoundItems] solved - thanks (1997) UPPERCASE (1997) Search problem C++ (2000) database paths/names, and a typo (1997) 'page impression' techniques for banner ads (1999) Where's Cart Created ? (1997) Thanks ! (1997) Username for Admin Group (1997) PCS Frames (1997) [AppendFile] problem (WebCat2b13 Mac .acgi) (1997) Beta List (1998)