Check:
http://developer.yahoo.com/performance/rules.html
Satyam
PS: The answer is, put styles at the top, scripts at the bottom., but there
are many other tricks to improve performance. Otherwise, as for the
standards, they can go anywhere.
----- Original Message -----
From: "C.R.Vegelin" <cr.vegelin@xxxxxxxxx>
To: "php-general@xxxxxxxxxxxx" <php-general@xxxxxxxxxxxxx>
Sent: Tuesday, August 07, 2007 10:19 PM
Subject: javascript in <head> or in <body> ?
Are there any rules when to include javascript in <head> or in <body> ?
For example,
<script type="text/javascript">
function reload(form)
{ var val=form.Chapter.options[form.Chapter.options.selectedIndex].value;
self.location='QueryForm.php?Chapter=' + val ;
}
</script>
TIA, Cor
--------------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.476 / Virus Database: 269.11.8/940 - Release Date: 06/08/2007
16:53
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php