Re: #include Java in HTML ?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Ronx (ronx917_at_hotmail.com)
Date: 05/17/04


Date: Mon, 17 May 2004 08:42:28 +0100

Java and JavaScript are two very different, completely unrelated, animals.
Java will not work on new installations of IE6 or WindowsXP unless the
users download a Java Virtual Machine from Sun's website.

Assuming you mean JavaScript and do not mean Java, place this in the head
section of each page:

<script language="JavaScript" type="text/javascript"
src="path/to/script.js"></script>

-- 
Ron
Reply only to group - emails will be deleted unread.
"peterken" <peter273@hotmail.com> wrote in message
news:CyXpc.112185$TY7.6357091@phobos.telenet-ops.be...
> Hello group
>
> Being a rather newbie I was wondering if in HTML one can include a
> javascript file in a HTML page using some C/C++ syntax like <#include
> "file.h">.
>
> To describe the prob:
> I've got a rather large set of html-pages all using identical
> javascript-functionality BUT using/modifying some local parameters of the
> html-file itself.
> I'd love to "include" the java-file as "included file" and call upon it's
> functions, would make any alterations to the JS itself easier since not
> editing all individual pages.
>
> Note: My providers server doesn't support SSI, PHP, ASP etc but Java
seems
> to work OK for every individual page (at least....so far it does).
>
> Thanks
> P.
>
>
>

Quantcast