Re: External file forJavaScript
From: Murray (forums_at_HAHAgreat-web-sights.com)
Date: 10/08/04
- Next message: aka: Crash Gordon®\: "Re: Powerpoint and Front Page"
- Previous message: Click: "Frontpage bug"
- In reply to: Fred: "Re: External file forJavaScript"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 8 Oct 2004 11:10:14 -0400
Not necessarily. It would depend on what the contents of thescript.js
is/are. If it contains only function definitions, then you might need to do
something like this -
<script type="text/javascript">calltheFunction()</script>
Did you get any instructions with the script?
-- Murray "Fred" <fred@finecats.co.uk> wrote in message news:esxUtPUrEHA.556@tk2msftngp13.phx.gbl... > Hi Murray and Steve, > > It's an hotel search box which obviously has a lot of JavaScript in it and > I need it to load half way down the page. Would I be right in guessing > that I insert <SCRIPT SRC="thescript.js"> > </SCRIPT> where I want it to appear. > > "Murray" <forums@HAHAgreat-web-sights.com> wrote in message > news:ukto2JUrEHA.3760@TK2MSFTNGP09.phx.gbl... >> It would depend on what the script was doing, and what the name of the >> function that you need to call is. >> >> -- >> Murray >> >> "Fred" <fred@finecats.co.uk> wrote in message >> news:uKeuvuTrEHA.4008@TK2MSFTNGP14.phx.gbl... >>> Can you please tell me what command I place in the body of the page >>> where I want the script to appear. >>> >>> "Steve Easton" <admin@95isalive.com> wrote in message >>> news:O2wa50SrEHA.2980@TK2MSFTNGP10.phx.gbl... >>>> Using notepad and saving the file with the .js or .css extension. >>>> Note that an external script file contains the actual script, but it >>>> does *not* contain the opening >>>> and closing script tags. >>>> >>>> Then place the following between the head tags of the page: >>>> <script type="text/javascript" src="filename.js"></script> for a >>>> javascript >>>> and >>>> <link rel="stylesheet" type="text/css" href="filename.css"> for a style >>>> sheet >>>> -- >>>> Steve Easton >>>> Microsoft MVP FrontPage >>>> 95isalive >>>> This site is best viewed............ >>>> .......................with a computer >>>> >>>> "Fred" <fred@finecats.co.uk> wrote in message >>>> news:%23EuqqWSrEHA.596@TK2MSFTNGP11.phx.gbl... >>>>> Can anyone please tell me how I can create an external file for >>>>> JavaScript. >>>>> According to IBM, I need to use an external file for my JavaScript >>>>> and >>>>> Stylesheet code. Any help for a novice would be much appreciated. If >>>>> you >>>>> need to take a look at one of my pages (produced in FP 2002) please >>>>> visit >>>>> http://www.book-holidays-direct.com/Jamaica.htm >>>>> >>>>> >>>> >>>> >>> >>> >> >> > >
- Next message: aka: Crash Gordon®\: "Re: Powerpoint and Front Page"
- Previous message: Click: "Frontpage bug"
- In reply to: Fred: "Re: External file forJavaScript"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|