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:

Sherlock and WebCat (1998) Robert Minor duplicate mail (1997) Clearing orders and database help! (1997) WebCat2.0 [format thousands .0f] no go (1997) WCS Newbie question (1997) formatting a number (1999) Tab Charactor (1997) Hosting wanted/business for sale (2001) Searching for (field1 OR field2) AND field3 (2000) Wrapping text (1998) Comments in db? (1997) [UPPERCASE] (1997) Exclude by date - multiple (1997) Handy Browser Counter Tip (1997) Multiple prices (1997) WebCatalog f2 Installation (1997) re: How can I record purchases to a database? (1998) Nested vs conditional (1997) emailer truncates last letter! (1997) (2003)