Re: #include Java in HTML ?
From: peterken (peter273_at_hotmail.com)
Date: 05/18/04
- Next message: xfile: "Re: Import/Export vs. Publish"
- Previous message: Stefan B Rusynko: "Re: Target frame"
- In reply to: Ronx: "Re: #include Java in HTML ?"
- Next in thread: Jreder: "Re: #include Java in HTML ?"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 18 May 2004 09:23:12 GMT
It was Javascript I was talking about, sorry if my post was a bit confusing.
Ronx's solution works fine, thanx, saves me lots of editing now.
"Ronx" <ronx917@hotmail.com> wrote in message
news:uno2BK%23OEHA.3476@TK2MSFTNGP09.phx.gbl...
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. > > >
- Next message: xfile: "Re: Import/Export vs. Publish"
- Previous message: Stefan B Rusynko: "Re: Target frame"
- In reply to: Ronx: "Re: #include Java in HTML ?"
- Next in thread: Jreder: "Re: #include Java in HTML ?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|