Re: displaying 12 results 4 by 3

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 32356
interpreted = N
texte = good idea. . .I was going too fast to think about it. . .heheRob> From: Charles Kline > Reply-To: (WebCatalog Talk) > Date: Fri, 26 May 2000 14:08:12 > To: (WebCatalog Talk) > Subject: Re: displaying 12 results 4 by 3 > > you could just use the built in counter [index] to do this without > the added variable > >> here is how I would do it. . .I assume you have these images listed in a >> database too. . . >> >> [search db=image.db&necarddatarq=[blank]&max=12] >> >> [math show=f]curcount=1[/math] >> >> [founditems] >> [/showif] >> [math show=f]curCount=curCount+1[/math] >> [/founditems][/Search] >> >> >>

[card][showif >> [curcount]\4]
>> >> this will give you 4 across, and 3 down. . . >> >> Rob >> ......................................................... >> Rob Blair >> Manager of Web Technology >> Anything Internet Corporation >> 3020 North El Paso, Suite 103 719.227.1903 x105 >> Colorado Springs, CO 80907-5454 FAX 719.227.1907 >> rblair@anythinginc.net >> http://www.anythinginc.net >> ......................................................... >>> From: Anthony Pugh >>> Reply-To: (WebCatalog Talk) >>> Date: Fri, 26 May 2000 09:38:27 +0000 >>> To: (WebCatalog Talk) >>> Subject: displaying 12 results 4 by 3 >>> >>> 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. >>> >>> Many thanks Antz....... >>> >>> Anthony Pugh >>> http://www.technik.com >>> - >>> - >>> - >>> Telephone 01442 871117 >>> Fax 01442 870891 (sales and admin) >>> Fax 01442 872301 (production) >>> ISDN 01442 870528 (8 channels) >>> >>> ------------------------------------------------------------- >>> 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/ >> >> >> ------------------------------------------------------------- >> 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/ > > > ------------------------------------------------------------- > 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/ ------------------------------------------------------------- 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)
good idea. . .I was going too fast to think about it. . .heheRob> From: Charles Kline > Reply-To: (WebCatalog Talk) > Date: Fri, 26 May 2000 14:08:12 > To: (WebCatalog Talk) > Subject: Re: displaying 12 results 4 by 3 > > you could just use the built in counter [index] to do this without > the added variable > >> here is how I would do it. . .I assume you have these images listed in a >> database too. . . >> >> [search db=image.db&necarddatarq=[blank]&max=12] >> >> [math show=f]curcount=1[/math] >> >> [founditems] >> [/showif] >> [math show=f]curCount=curCount+1[/math] >> [/founditems][/Search] >> >> >>

[card][showif >> [curcount]\4]
>> >> this will give you 4 across, and 3 down. . . >> >> Rob >> ......................................................... >> Rob Blair >> Manager of Web Technology >> Anything Internet Corporation >> 3020 North El Paso, Suite 103 719.227.1903 x105 >> Colorado Springs, CO 80907-5454 FAX 719.227.1907 >> rblair@anythinginc.net >> http://www.anythinginc.net >> ......................................................... >>> From: Anthony Pugh >>> Reply-To: (WebCatalog Talk) >>> Date: Fri, 26 May 2000 09:38:27 +0000 >>> To: (WebCatalog Talk) >>> Subject: displaying 12 results 4 by 3 >>> >>> 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. >>> >>> Many thanks Antz....... >>> >>> Anthony Pugh >>> http://www.technik.com >>> - >>> - >>> - >>> Telephone 01442 871117 >>> Fax 01442 870891 (sales and admin) >>> Fax 01442 872301 (production) >>> ISDN 01442 870528 (8 channels) >>> >>> ------------------------------------------------------------- >>> 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/ >> >> >> ------------------------------------------------------------- >> 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/ > > > ------------------------------------------------------------- > 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/ ------------------------------------------------------------- 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/ Robie Blair

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:

URL for Discussion Archive (1997) [WebDNA] API Integration (2010) update on wn searching (1997) WCS Newbie question (1997) Summing a field full of numbers ... (1997) Off topic: to Jeroen (bouncing email) (2000) Searching/sorting dates (1997) WebCatalog for guestbook ? (1997) browser info.txt and SSL (1997) [ModDate] & [ModTime] ? (1997) Banner Sleuth Updater (1999) Extract my page name (2006) NT vs Mac (1997) Email Format (1998) RequiredFields template (1997) foriegn characters and webcatalog (1997) Sku numbers (1997) [ShowIf] and empty fields (1997) Document Contains No Data! (1997) flushdatabases (1997)