Where to load webix? -
trying learn webix (and javascript @ all). common practice loading javascript libraries @ end of body.
the webix quick start doc says:
<!doctype html>// specifies document type <html> <head> <link rel="stylesheet" href="../../codebase/webix.css" type="text/css"> <script src="../../codebase/webix.js" type="text/javascript"></script> </head> <body>
e.g. loads library in head.
questions:
- the
webix
lib should loaded in<head>
? - if yes, should loaded
jquery
,twitter bootstrap
? - and in order?
you can place webix.js anywhere on page. sure js code uses webix api used after webix.js loading
normally scripts placed @ end of html file add interactivity page. in case of webix ui, without webix.js not see content on page @ all, there no benefits putting webix.js @ end of page.
as jquery - if plan use webix-jquery integration need load webix.js after loading jquery ( @ head, or @ end of file, doesn't matter )
Comments
Post a Comment