Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Writing to a window using Javascript and Rebol

From: depotcity::home::com at: 16-Mar-2001 2:06

Hello all. Trying to get rebol to write to a window with Javascript. Problem is, the syntax... the XML uses curlys, double quotes and single quotes that collide with the javascript. eg; the-xml: rejoin [ <v:rect coordsize="21600,21600" style='width:80pt;height:80pt'> <v:textbox> {1} </v:textbox> </v:rect> ] java: rejoin [{parent.lower.document.write ('} the-xml {');}] The required single quotes between the brackets of the javascript collide with the single quotes of the-xml.. same if you use double quotes in the java. Very frustrating. Terry Brownell