- Learning DHTMLX Suite UI
- Eli Geske
- 209字
- 2021-07-23 15:40:35
Creating the index.html file>
The application will be accessed through the index.html
file located in the root of the application directory. We will set this up now.
In the root of the application directory, add a new file named index.html
. This should be accessible from http://localhost/index.html
.
Now, add the markup for an HTML5 document and include the external DHTMLX files:
<!DOCTYPE html> <html lang="en"> <head> <title>Users</title> <link href="js/dhtmlx/dhtmlx.css" type="text/css" rel="stylesheet" /> <style> /* layout css */ html, body { height: 100%; width: 100%; } </style> <script src="js/dhtmlx/dhtmlx.js"></script> <script src="js/application/storage.js"></script> <script src="js/application/app.js"></script> </head> <body> </body> </html>
Tip
Downloading the example code
You can download the example code files for all Packt books you have purchased from your account at http://www.packtpub.com. If you purchased this book elsewhere, you can visit http://www.packtpub.com/support and register to have the files e-mailed directly to you.
The dhtmlx.css
and dhtmlx.js
are the only DHTMLX library files necessary to include in the DHTMLX library for use. The storage.js
and app.js
are where the code for the user management application will be created.
Additional CSS was added that sets the html
and body
to a height and width of 100%
. This will allow the DHTMLX layout component, added later, to stretch and grow when the browser window is resized. We will be adding more CSS here in later chapters.
The following screenshot displays how your final directory structure should appear:

- Docker技術入門與實戰(第3版)
- Python數據分析基礎
- HoloLens Beginner's Guide
- Building Cross-Platform Desktop Applications with Electron
- Internet of Things with Intel Galileo
- Drupal 8 Configuration Management
- 大學計算機基礎實驗指導
- Go語言精進之路:從新手到高手的編程思想、方法和技巧(1)
- Visual C++開發入行真功夫
- 百萬在線:大型游戲服務端開發
- Visual C++程序設計全程指南
- C語言編程魔法書:基于C11標準
- Java Script從入門到精通(第5版)
- Go語言編程之旅:一起用Go做項目
- Neo4j權威指南 (圖數據庫技術叢書)