Hey Justin,

Would writing the file you have created to a specific location on the computer 
solve the problem?

'<…..text of file including relative URL to /folder/file/…..>' 1!:2 
<'/folder/file.html'

If you save it to the proper location then the URL would be correct, wouldn't 
it?

Or have I completely missed the problem you are describing?

Cheers, bob

On 2012-06-25, at 5:12 PM, Justin Tirrell wrote:

> Hey all--
> 
> In JHS, I am working with several JavaScript files (>5000 lines total), and
> I don't want to pile them all into the JS noun to be in-lined into the
> html.  I would like to include them in the html with script tags:
> <script src="URL"></script>
> 
> I modified the utilh.ijs file with a verb to allow me to add those lines to
> the header, as well as the tags for CSS.  However, as I understand it, the
> "URL" must be relational and based on the location of the html file.
> 
> It doesn't seem to me that JHS creates an html file, and thus I have no way
> to reference JScript (or CSS) files with <script src=...>.
> 
> Anyone have any ideas on how to solve or work around this? Thanks for the
> help.
> 
> 
> Justin
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to