Re: Nesting WebDNA in JavaScript
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 48620
interpreted = N
texte = Yeah, I did it on my Newsticker (newsticker.inc if you want some examples ofan array being populated via webDNA). There are some 'gotcha's' though, onethat I found was trying to include the javascript into the webDNA via an[include] (or was it vice-versa?). Anyways, yes, it is do-able.GK> Hi>> Just a quick question as I play about with some code... Is it possible at> all to nest webdna in JavaScript?>> I just tried the following example to see if I could pull out some values> into a dynamic menu:->> [search db=admin/brand.db&neIDdatarq=find_all&THE_BRANDsort=1]> [founditems]>fw_menu_0.addMenuItem([THE_BRAND],location='brandindex.html?RA=[random][r> andom][random]&cart=[cart]&__brand=[ID]');> /founditems]> [/search]>> I am now going to have a browse in the archives but thought make a quick> post.>> Thanks> Alan> ------------------------------> http://www.streethreds.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://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Yeah, I did it on my Newsticker (newsticker.inc if you want some examples ofan array being populated via webDNA). There are some 'gotcha's' though, onethat I found was trying to include the javascript into the webDNA via an[include] (or was it vice-versa?). Anyways, yes, it is do-able.GK> Hi>> Just a quick question as I play about with some code... Is it possible at> all to nest webdna in JavaScript?>> I just tried the following example to see if I could pull out some values> into a dynamic menu:->> [search db=admin/brand.db&neIDdatarq=find_all&THE_BRANDsort=1]> [founditems]>fw_menu_0.addMenuItem([THE_BRAND],location='brandindex.html?RA=[random][r> andom][random]&cart=[cart]&__brand=[ID]');> /founditems]> [/search]>> I am now going to have a browse in the archives but thought make a quick> post.>> Thanks> Alan> ------------------------------> http://www.streethreds.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://webdna.smithmicro.com/
Gary Krockover
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:
Thanks and Big News!!! (1997)
Re:2nd WebCatalog2 Feature Request (1996)
WebCatalog/WebMerchant Manuals Available (1998)
WebCat2b12 forgets serial # (1997)
Emailer file formats (1998)
Dates - Search and Sorting (1999)
(2004)
Version f1 status (1997)
ShowIf inside formulas (1997)
Re:no [search] with NT (1997)
Q: how long for answers to the WebDNA-Talk list? (1997)
search form problem.. (1997)
WebCat2b12--[searchstring] bug (1997)
WebDNA & Apache 1.3.27 (2003)
Re[3]: 2nd WebCatalog2 Feature Request (1996)
Sort Order on a page search (1997)
Creating comums (1998)
ImageMap (1997)
Req for code: upload and append to DB (2002)
Urgent help needed (1998)