首页
开发手册
应用中心
工具
用户中心
FoundPHP Core JS Library
English
中文简体
English
上一篇
下一篇
### FoundPHP Core JS Library FoundPHP is easy for new users to use, and has integrated jquery, layer and other libraries. #### JS Core Library | Path | | | Description | | ------------ | ------------ | ------------ | ---------- - | | data | | | **system Data Directory** | | | style | | **style Library** | | | | bootstrap | bootstrap style library | | | | country | multilingual flag icon | | | | css | system css style library | | | | font-awesome | font Library | | | | js | JavaScript library | #### JavaScript Class library extension The FoundPHP JavaScript library can be downloaded to the code you need and placed in the `data/style/js` directory. Just call the corresponding file when writing in the view, and the system will provide the global variable `{style_dir}` corresponding to the `data/style/js` directory. Example: ```JS ``` This is equivalent to calling the `data/style/js/global.js` file. **If you add the jquery.min.js file yourself, you only need to put the code in the `data/style/js` directory and add the code to the view file, such as `< in `plugin/view/default/header.htm` Add the following code in head>`: ** ```JS ``` ------------