{"id":65575,"date":"2026-11-25T19:15:58","date_gmt":"2026-11-25T18:15:58","guid":{"rendered":"https:\/\/amit-automation.cz\/podpora\/casto-kladene-otazky\/amit-designer-napoveda\/using-javascript-libraries-includes\/"},"modified":"2026-11-25T19:15:58","modified_gmt":"2026-11-25T18:15:58","slug":"using-javascript-libraries-includes","status":"publish","type":"napoveda","link":"https:\/\/amit-automation.cz\/en\/support\/faq\/amit-designer-help\/using-javascript-libraries-includes\/","title":{"rendered":"Using JavaScript libraries \u2013 Includes"},"content":{"rendered":"<p style=\"text-align: justify;\">You can easily use your JavaScript libraries in your project. You simply can create your own library or include any JavaScript JavaScript library found on the internet. All the JavaScript resources are included in two folders in your project:<\/p>\n<ul style=\"list-style-type: square;\">\n<li style=\"text-align: justify;\">js \u2013 all JavaScript sources<\/li>\n<li style=\"text-align: justify;\">CSS \u2013 all CSS sources<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">You can directly add all your library files into those two folders. myDESIGNER will find then automatically, and you can use them anywhere in your project.<\/p>\n<p style=\"text-align: justify;\">To work with the JavaScript libraries directly in myDESIGNER, open a view script and navigate to the \u201c<strong>Includes\u201d<\/strong> tab<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/myscada.org\/downloads\/manuals_image\/img_22.8.1.jpg\" alt=\"22.8.1\" width=\"500\" height=\"410\" \/><\/p>\n<p style=\"text-align: justify;\"><span lang=\"EN-US\">Now, let\u2019s look at the details of the Includes window:<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/myscada.org\/downloads\/manuals_image\/img_22.8.2.jpg\" alt=\"22.8.2\" width=\"400\" height=\"211\" \/><\/p>\n<p style=\"text-align: justify;\">On the left side of the window, you can see all subdirectories. On the right side, you can find all your source files. If you double click on the file, you can edit it easily.<\/p>\n<h3><span style=\"color: #4baddd;\">Selecting JavaScript or CSS<\/span><\/h3>\n<p style=\"text-align: justify;\">First of all, you should choose if you want to work with JavaScript files or with CSS files. To select either of those:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/myscada.org\/downloads\/manuals_image\/img_22.8.3.jpg\" alt=\"22.8.3\" width=\"150\" height=\"31\" \/><\/p>\n<h3><span style=\"color: #4baddd;\">New Directory Creation<\/span><\/h3>\n<p style=\"text-align: justify;\">To create a new directory, press the \u201c<strong>New Dir\u201d<\/strong> button.<\/p>\n<h3><span style=\"color: #4baddd;\">Directory Deletion<\/span><\/h3>\n<p style=\"text-align: justify;\">To delete a directory, select it and press the \u201c<strong>Del Dir<\/strong>\u201d button.<\/p>\n<h3><span style=\"color: #4baddd;\">New File Creation<\/span><\/h3>\n<p style=\"text-align: justify;\">To create a new file, press the \u201c<strong>New File<\/strong>\u201d button and give it a name.<\/p>\n<h3><span style=\"color: #4baddd;\">Deleting File<\/span><\/h3>\n<p style=\"text-align: justify;\">To delete a file, select it and press the \u201c<strong>Del File<\/strong>\u201d button.<\/p>\n<p style=\"text-align: justify;\">All JavaScript in the primary folder is automatically loaded in view. In addition, all CSS files in the primary folder are added to your view automatically.<\/p>\n","protected":false},"menu_order":123,"template":"","class_list":["post-65575","napoveda","type-napoveda","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/amit-automation.cz\/en\/wp-json\/wp\/v2\/napoveda\/65575","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/amit-automation.cz\/en\/wp-json\/wp\/v2\/napoveda"}],"about":[{"href":"https:\/\/amit-automation.cz\/en\/wp-json\/wp\/v2\/types\/napoveda"}],"version-history":[{"count":0,"href":"https:\/\/amit-automation.cz\/en\/wp-json\/wp\/v2\/napoveda\/65575\/revisions"}],"wp:attachment":[{"href":"https:\/\/amit-automation.cz\/en\/wp-json\/wp\/v2\/media?parent=65575"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}