网络编程 
首页 > 网络编程 > 浏览文章

jquery 遍历hash操作示例【基于ajax交互】

(编辑:jimmy 日期: 2024/5/9 浏览:3 次 )

本文实例讲述了jquery 遍历hash操作。分享给大家供大家参考,具体如下:

<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>运维平台</title>
  <style type="text/css">
    *{margin: 0; padding: 0;}
    body{font-size: 20px; color: #333;}
     h1{position: relative; height: 100px; line-height: 100px; margin: 0; background: #555; color: #f2f2f2; font-size: 25px; text-align: center;}
    ul,ol,li{list-style-type: none;}
    #list{
      margin: 0 auto;
      padding-top: 4px;
    }
    #list ul{
      display: flex;
      flex-wrap: wrap;
      margin-top: 30px;
    }
 /*+设置框框大小 */
    #list li{
      flex: 1;
      min-width: 100px;
      min-height: 50px;
      margin: 2px 4px;
      padding: 5px 10px;
      border: 1px solid #eee;
    }
    #list .name{
      font-weight: bold;
      font-size: 20px;
    }
    #list .red{
      color: #fff;
      font-weight: bold;
      background: #f00;
      background: rgba(255,0,0,.8);
    }
    #list .red p span{
      color: #fff;
    }
    #list .yellow{
      font-weight: bold;
      background: #ff0;
      background: rgba(255,255,0,.8);
    }
    #list .green{
      background: #0f0;
      background: rgba(0,255,0,.8);
    }
    #list .died{
      background: #666;
      background: rgba(162,162,162,.8);
      color: #fff;
    }
    #list p{
      padding-top: 3px;
    }
    #list p span{
      color: #f00;
      font-weight: bold;
    }
    .time{
      position: absolute; top: 0px; right: 20px;
      color: #fff;
      font-size: 25px;
    }
  </style>
</head>
<body>
  <h1>泰隆银行DB运行监控/60s<span class="time"></span></h1>
  <ul id="list"></ul>
  <!-- <script src="/UploadFiles/2021-04-02/jquery.min.js">

jquery 遍历hash操作示例【基于ajax交互】

更多关于jQuery相关内容可查看本站专题:《jquery中Ajax用法总结》、《jQuery扩展技巧总结》、《jQuery常用插件及用法总结》、《jQuery常见经典特效汇总》及《jquery选择器用法总结》

希望本文所述对大家jQuery程序设计有所帮助。

上一篇:vue中添加与删除关键字搜索功能
下一篇:jquery 时间戳转日期过程详解
高通与谷歌联手!首款骁龙PC优化Chrome浏览器发布
高通和谷歌日前宣布,推出首次面向搭载骁龙的Windows PC的优化版Chrome浏览器。
在对骁龙X Elite参考设计的初步测试中,全新的Chrome浏览器在Speedometer 2.1基准测试中实现了显著的性能提升。
预计在2024年年中之前,搭载骁龙X Elite计算平台的PC将面世。该浏览器的提前问世,有助于骁龙PC问世就获得满血表现。
谷歌高级副总裁Hiroshi Lockheimer表示,此次与高通的合作将有助于确保Chrome用户在当前ARM兼容的PC上获得最佳的浏览体验。
友情链接:杰晶网络 DDR爱好者之家 南强小屋 黑松山资源网 白云城资源网