This is a common interface I made by imitating the 126 mailbox interface with the cooperation of artists. It is basically suitable for the interface requirements of many information management systems. My CSS and JAVASCIRPT skills are limited, and the things I develop will inevitably have some bugs or superficial aspects. I hope to discuss and solve some of these problems with my friends. I also very much hope that experts can optimize my JS. QQ: 10646337, password: "Serve the People" I don't answer any questions, I only accept advice from experts.
Function introduction:
1. You can change the skin, and the skin can be used uniformly for the live frame and specific pages.
2. The tab page title has a right-click menu, new opening, full screen opening, and refresh. Double-clicking on the title also refreshes it.
3. The menu bar can be retracted.
How to use:
Basically, the main frame page does not need to make any changes, it can be used directly, so I won’t go into details.
Here we mainly talk about using tabControl:
When tabControl opens a new page, it actually creates an iframe in the main display area through JS and points the src of this iframe to the page we specify.
Annoying BUG:
This BUG has been bothering me for a long time, and I really don’t know how to solve it, or even where the problem lies.
BUG description: After frequently opening and closing the tab page, sometimes there will be a problem that the textbox control in the interface cannot be focused when clicked with the mouse. Refresh the entire frame to focus.
Expand