javascript_howto thread: What is the difference between putting a script in the Head and in the body or even after the closing html tag
You can specify the DEFER attribute in the script tag to prevent the script
from being executed until everything else has loaded.
-----Original Message-----
From: TurnenT [mailto:turnent@c...]
Sent: 23 July 2002 06:35
To: JavaScript HowTo
Subject: [javascript_howto] Re: What is the difference between putting a
script in the Head and in the body or even after the closing html tag
Some older browsers will not allow you to put anything outside of the <HTML>
tags, but generally functions are but in the <HEAD> </HEAD> Tags.
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20
________________________________________________________________________
Scottish Enterprise Network
http://www.scottish-enterprise.com
Headquarters Address & Contact Numbers
150 Broomielaw
5 Atlantic Quay
Glasgow
G2 8LU.
Tel: +44 (0) 141 248 2700.
Fax: +44 (0)141 221 3217
This message is sent in confidence for the addressee only.
It may contain legally privileged information. The contents are not to
be disclosed to anyone other than the addressee. Unauthorised recipients
are requested to preserve this confidentiality and to advise the sender
immediately of any error in transmission.