- On Fri, Dec 21, 2007 at 07:30:04PM +0100, Satyam wrote:
> If you mean whether the js or the css files first, for perfomance reasonsBut if you are asking if the order you include the individual YUI files
> the best is to have the CSS files in the header before anything is rendered
> first the styles, then the HTML and finally the scripts.
matters, the answer is yes (e.g., yahoo-min.js must be included before
event-min.js). The documentation and examples for each component shows
the proper order. Alternatively, use the YUILoader utility, which will
insert the files in the correct order for you.
> ----- Original Message -----
> From: "mathias4711" <matt@...>
> Sent: Friday, December 21, 2007 6:03 PM
> > Hi!
> > I would like to know, if it is necessary to have a special order of
> > including the library css and js files?