This works for any kind of file you want to use when you are designing websites using Domino.
Lets use the .js example from this week's tip. In the Domino Designer, start out as if you are going to create a new image resource, but browse to the directory where your JS file is and type the filename in. Even though the js file doesn't show up in the file browser the "image resource" is created.
Now instead of using this on your page: <SCRIPT LANGUAGE="JavaScript" SRC="http://host/html/myscript.js"></SCRIPT> you can use this <SCRIPT LANGUAGE="JavaScript" SRC="myscript.js"></SCRIPT>.
Not only is the code easier to write but you have all the benefits of replication and notes
security. Try this technique with MIDI files or any other file you need to include in your
website.
This was first published in November 2000