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

[REBOL] Re: Plug-in Scripts

From: sterling:rebol at: 13-Sep-2001 13:55

The plugin is launched if there is an <EMBED> tag on the page that points to a REBOL script. Go to one of the examples and view the page source. You will see that at the bottom, there is something like: <EMBED SRC="http://www.reboltech.com/library/scripts/clock.r" TYPE="text/x-rebol-plugin" HEIGHT="0" WIDTH="0"> at the bottom of the page. This is what gets the plugin running. The pages simply show the script so that yo ucan see what it is that is running. The actual code is fetched from the link into the script library. The <EMBED> tag can be anywhere on the page, can point to any file, but does require that the TYPE be set to text/x-rebol-plugin for it to work. Sterling