Re: Founditems Add/remove graphic display problem

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 23639
interpreted = N
texte = On 2/12/1999 10:10 am, Will Starck so noted...>Now, this clearly changes all the founditems graphic's to either add or >remove simultaneously. Of course, this is not what I want. I've tried to use >[index] to create a unique variable for each founditem: > > added=[added][index] (creates added1, added2, added3 etc...) > > or > > [math]added=[added][index][/math] > >but can find no satisfactory combination of code to get things to display >properly. > >I'm stuck. Any suggestions??You're going to have to index the name of the variable itself, not its contents. Something along the line ofadded[index]=FThen, your [founditems] loop conditionals would change to[hideif [interpret][added[index]][/interpret]=F]As long as the total number of items found is constant for while you're on this page, it should work.Rob Marquardt Designer/Resident Wirehead Toast Design800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.com Associated Messages, from the most recent to the oldest:

    
  1. Re: Founditems Add/remove graphic display problem (Will Starck 1999)
  2. Re: Founditems Add/remove graphic display problem (Rob Marquardt 1999)
  3. Founditems Add/remove graphic display problem (Will Starck 1999)
On 2/12/1999 10:10 am, Will Starck so noted...>Now, this clearly changes all the founditems graphic's to either add or >remove simultaneously. Of course, this is not what I want. I've tried to use >[index] to create a unique variable for each founditem: > > added=[added][index] (creates added1, added2, added3 etc...) > > or > > [math]added=[added][index][/math] > >but can find no satisfactory combination of code to get things to display >properly. > >I'm stuck. Any suggestions??You're going to have to index the name of the variable itself, not its contents. Something along the line ofadded[index]=FThen, your [founditems] loop conditionals would change to[hideif [interpret][added[index]][/interpret]=F]As long as the total number of items found is constant for while you're on this page, it should work.Rob Marquardt Designer/Resident Wirehead Toast Design800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.com Rob Marquardt

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:

ANN: Strategic Partnership with BuyStream Announced. (2000) [WebDNA] Sendmail with attachment (2019) Harvesting invalid email addresses from bounced emails??? (2000) Multiple prices (1997) WebCat Bulletin Board Solution ? (1998) Using WebCat for product info requests (1997) all records returned. (1997) Running 2 two WebCatalog.acgi's (1996) Single Link browsing (1997) Errata: WCS Newbie question (1997) [WebDNA] Libmysql.dll error (2009) Navigator 4.01 (1997) Plugin or CGI or both (1997) ooops...WebCatalog [FoundItems] Problem - LONG - (1997) [WebDNA] Inline email images (2011) Different Tax levels (1998) TCPsend with POST? (1999) Max Record length restated as maybe bug (1997) RE: Can a database get stomped by simultaneous access? (1997) Re1000001: Setting up shop (1997)