Simple Rubik’s Cube restoration method, Rubik’s cube restore formula, illustration

2023-01-30  

Layui tabs embedded in the most secure and effective method of the webpage

Use js method load to embed

  1. <div class=”layui-tab” lay-filter=”demo”>
  2. <ul class=”layui-tab-title”>
  3. <li class = “layui-this”> Site settings </li>
  4. </ul>
  5. <div class=”layui-tab-content”>
  6. <div class=”layui-tab-item layui-show” id=”testID”></div>
  7. </div>
  8. </div>
  9. <script>
  10. $ (“# testid”). Load (‘”jumping webpage”);
  11. </script>

The above method is the most effective, the best and the most secure

Then why is it?

How to use <iFarme> </ifarme> to embed some problems such as JS files lost or something

Friendly Tips 1

1. Be sure to pay attention to the problem of variable pollution when using tabs.

Friendly Tips 2

When you want to be a Tabs that can be deleted, but you can use the following code if you want some Tabs not to be deleted

  1.  #hehe i.layui-tab-close{
  2. display:none!important;
  3. }
  4. <ul class=”layui-tab-title”>
  5. <li lay-id = “1” class = “layui-This” id = ‘hehe’> Home </li>
  6. <li lay-id=”2″ class=””>XXXX</li>
  7. </ul>
  8. Original work here:https://fly.layui.com/jie/15719/

source

Related Posts

In the Vue project, realize the function of closing the browser before the browser, FELIX

HIVESQL user retention rate

DFS and BFS algorithm Real

1 1 ——————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— FindFirstfile traverses the folder Benjamin

Simple Rubik’s Cube restoration method, Rubik’s cube restore formula, illustration

Random Posts

pHP download file function package and download large file solution

3D printing open source slice software Cura configuration step

How to use JS to get the Label or Value value selected by H: SelectoneMenu

Retis distributed lock (optimistic lock) Nicolos based on LUA script

OpenGL Linux installation and configuration one -key compilation+operation