Re: Nesting WebDNA in JavaScript

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 48618
interpreted = N
texte = Alan White wrote:>Hi > >Just a quick question as I play about with some code... Is it possible at >all to nest webdna in JavaScript? > Alan, Nesting WebDNA in JavaScript is possible but nesting JavaScript inside WebDNA (such as what you are doing below) is not.This is because WebDNA is processed at the webserver and JavaScript is processed at the users browser.Donovan> >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 > > > -- -Donovan Brooke -Administrator of IT / -Assc. Art Director -Creative Services -Epsen Hillmer Graphics-402.829.0123 ------------------------------------------------------------- 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:

    
  1. Re: Nesting WebDNA in JavaScript (Tim Robinson 2003)
  2. Re: Nesting WebDNA in JavaScript (Gary Krockover 2003)
  3. Re: Nesting WebDNA in JavaScript (Alan White 2003)
  4. Re: Nesting WebDNA in JavaScript (Gary Krockover 2003)
  5. Re: Nesting WebDNA in JavaScript (Pedro Rivera 2003)
  6. Re: Nesting WebDNA in JavaScript (Alan White 2003)
  7. Re: Nesting WebDNA in JavaScript (Donovan 2003)
  8. Re: Nesting WebDNA in JavaScript (Alan White 2003)
  9. Re: Nesting WebDNA in JavaScript (Alan White 2003)
  10. Re: Nesting WebDNA in JavaScript (Alan White 2003)
  11. Re: Nesting WebDNA in JavaScript (Gary Krockover 2003)
  12. Re: Nesting WebDNA in JavaScript (Alan White 2003)
  13. Re: Nesting WebDNA in JavaScript (Donovan 2003)
  14. Re: Nesting WebDNA in JavaScript (Gary Krockover 2003)
  15. Re: Nesting WebDNA in JavaScript (Alan White 2003)
  16. Re: Nesting WebDNA in JavaScript (Donovan 2003)
  17. Re: Nesting WebDNA in JavaScript (Clint Davis 2003)
  18. Nesting WebDNA in JavaScript (Alan White 2003)
Alan White wrote:>Hi > >Just a quick question as I play about with some code... Is it possible at >all to nest webdna in JavaScript? > Alan, Nesting WebDNA in JavaScript is possible but nesting JavaScript inside WebDNA (such as what you are doing below) is not.This is because WebDNA is processed at the webserver and JavaScript is processed at the users browser.Donovan> >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 > > > -- -Donovan Brooke -Administrator of IT / -Assc. Art Director -Creative Services -Epsen Hillmer Graphics-402.829.0123 ------------------------------------------------------------- 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/ Donovan

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:

How do I pass [cart] when user clicks back (2000) Re:Merging databases (1997) 2nd try:Webcat interfering with Webstar? (1998) [isfile] ? (1997) Mac Vs WindowsNT (1997) Web Catalog vs. ICAT (1997) Authorize.net questions ... (2003) [cart] not being interpreted inside [founditems] (1997) how do we turn off staticpages page creation? (2003) instant cookies? (1999) [AppendFile] problem (WebCat2b13 Mac .acgi) (1997) [WebDNA] WebDNA on Linux (2009) extending webcatalog (1997) Superfilous Characters (1998) [WebDNA] Combining searches (2016) 2nd Request for help/advice on variable pricing (2000) E-Mail Preferences in Admin Folder (1997) referrer and no caches (1997) Only charge card when product shipped ? (1997) PCS Frames (1997)