Separation separation separation!
Use the DOM an onload function and some unobtrusive javascript. I'm
my experience you will always want to add more javascript. Keep
behavour layer separate.
Richard
DonkeyMagic: Website design & development
http://www.donkeymagic.co.uk
On 12/6/05, Stephen Stagg <[EMAIL PROTECTED]> wrote:
> If a search page were to only have one piece of Javascript attached to
> it (more specifically to the body->onload event) :
>
> document.F.Q.focus();
>
> Should this be placed in a separate JavaScript file in order to make it
> more manageable, or just declared inline?
>
> Stephen
>
> **
> The discussion list for http://webstandardsgroup.org/
>
> See http://webstandardsgroup.org/mail/guidelines.cfm
> for some hints on posting to the list & getting help
> **
>
>
**
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
**