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 MarquardtDesigner/Resident WireheadToast Design800 Washington Avenue NorthMinneapolis MN 55401612.330.9863 v612.321.9424 fwww.toastdesign.com
Associated Messages, from the most recent to the oldest:
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 MarquardtDesigner/Resident WireheadToast Design800 Washington Avenue NorthMinneapolis MN 55401612.330.9863 v612.321.9424 fwww.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:
ReadDateFormat bug in 3.0.1 (1998)
FW: WebDNA-Talk searchable? (1997)
WordBreak Qestion (part 2) (1998)
webcat restarting script on Linux? (1999)
Emailer (WebCat2) (1997)
totals (1997)
hidden databases (2000)
9 digit zip (2002)
RE: Database Structure? (1998)
setting cookies then redirecting? (1998)
Security Levels... Possible? (2000)
WebCatalog 2.0 & WebDNA docs in HTML ... (1997)
Fwd: Problems with Webcatalog Plug-in (1997)
test (2000)
Signal Raised (1997)
RE: completed orders database (1997)
server log file issue (2007)
Use of Back and Reload Buttons on ShoppingCart page? (1997)
Emailer update for Mac? (1998)
PIXO support (1997)