Friday, 15 February 2013

Re: src attribute of script tag

Chris Gransden wrote

> In article <fee3641e53.iyojohn@rickman.argonet.co.uk>,
> John Rickman Iyonix <rickman@argonet.co.uk> wrote:
>> I have developed some web pages using javascript. NetSurf successfully
>> handles the code and does what is required.

>> However, the same javascript statements put into an external file do
>> not work. It seems this is an html problem rather than JS as the
>> <script src="mycode.js> </script> statement appears to be ignored and
>> the code is not loaded.

>> Is this a bug or a case of function yet to be implemented?

>> At the moment lack of ablility to load external source means that
>> JavaScript libraries, eg jQuery cannot be accessed by NetSurf

> I had the same problem until I added an entry for 'applicaton/javascript'
> to the MimeMap file.

Thanks Chris,

That is brilliant!

John

--
John Rickman - http://rickman.orpheusweb.co.uk/lynx

No comments:

Post a Comment