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:
Database changes (1998)
I have troubles to send message out (1998)
Running _every_ page through WebCat ? (1997)
Help with Grep exchange (2005)
Append..... doesn't (2000)
More questions about serial number dishing (1997)
Date Question (2002)
different show next (1997)
Getting total number of items ordered (1997)
AcountAutherizer [fixed] (2002)
Re:WebCatalog vidoes (was: Prices Dropped) (1998)
GuestBook example (1997)
WebCat2b12 CGI Mac - [shownext] problem (1997)
can we get string variables? (1998)
New Mac Public Beta Available (1997)
[browsername] not working? (1997)
We have Proof (1997)
Append probs, please help (2001)
Banners and sort of random display (1997)
WC2.0 Memory Requirements (1997)