The project needs to check the usage of menu G5. As a JS library across frame frameworks, menu G5 is easy to use, but there are few Chinese tutorials, and now the front-end basically uses Div, ah, no way, you can only learn and read it.
Directory structure of menu G5:
CSS: place the default style of menug5
Examples: N use instances. I think it is much faster to learn how to configure and use them through this document.
FAQ: such as its name, answers to some questions, and usage methods
Script: this folder is the most important. It contains all JS files that generate the menu. In the future, this package will be copied to the project.
Index.html: Home Page
The configuration is as follows:
You only need to introduce
Menug5loaderfsx. js
Menug5.css
Basically, the script Folder does not need to be changed.
See examples in examples for adding styles,
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">You only need to copy the red code and imported files on your page, which is very convenient.
Initial use of menu G5