[Phpwm] [OT]event trigger

Phil Beynon phil at infolinkelectronics.co.uk
Thu Mar 15 10:58:02 GMT 2007


> Yeah as david said, really nowerdays we're (as in web developers
> as a whole)
> are (or should be) trying to keep javascript out of html pages. What you
> then do is install the hooks using the javascript. As a rule of thumb this
> is done in "window.onload".
>

Where did this idea of trying to keep all the javascript out of pages and
have nothing inline actually come from and what are the perceived benefits?

It might be worth mentioning that both the BBC and SKY news sites make
extensive use of inline javascript.

Phil




More information about the Phpwm mailing list