Re: writefiles
This WebDNA talk-list message is from 1999
It keeps the original formatting.
numero = 23634
interpreted = N
texte = Hola-I have a page where the following is contained within a founditems loop.Founditems displays a add to cart graphic which adds the selected item tothe cart when clicked. I'm trying to have that graphic replaced with aremove one when the user clicks on add to cart. Thus the following code:[hideif [added]=F]
[/hideif][hideif [added]=T]
[/hideif]Now, this clearly changes all the founditems graphic's to either add orremove 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 displayproperly.I'm stuck. Any suggestions??-will
Associated Messages, from the most recent to the oldest:
Hola-I have a page where the following is contained within a founditems loop.Founditems displays a add to cart graphic which adds the selected item tothe cart when clicked. I'm trying to have that graphic replaced with aremove one when the user clicks on add to cart. Thus the following code:[hideif [added]=F]
[url][sku][/url]&wacategorydata=[url][wacategorydata][/url]&searchTitle=[searchTitle]&numfound=[numfound]&cart=
[cart]&inputcode=[inputcode]&discount=[discount]&textA=[title]&asskusort=1&added=F>

[/hideif][hideif [added]=T]
[url][sku][/url]&wacategorydata=[url][wacategorydata][/url]&searchTitle=[searchTitle]&numfound=[numfound]&cart=
[cart]&inputcode=[inputcode]&discount=[discount]&textA=[title]&asskusort=1&added=T>

[/hideif]Now, this clearly changes all the founditems graphic's to either add orremove 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 displayproperly.I'm stuck. Any suggestions??-will
Will Starck
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:
Make sure I understand this??? (1997)
[delete] problem (1997)
OT:Programming Languages are Like Women (2004)
Summing fields (1997)
Email (1998)
IE Cache Problems... (1999)
[OT] DOD again (2003)
Searching multiple fields (1997)
RequiredFields template (1997)
[FoundItems] solved - thanks (1997)
WebCat2: Items xx to xx shown, etc. (1997)
Help name our technology! (1997)
Running _every_ page through WebCat ? (1997)
Almost a there but..bye bye NetCloak (1997)
I'm Baaaaaaaaaack - Questions! (2000)
why is this line in GeneralStore? (1998)
calculating unique time (1998)
Help name our technology! (1997)
DON'T UPGRADE, was 4.0.x find (2000)
Merging databases (1997)