我确实需要pace.js
在标签中显示页面加载的进度,td
而不是显示在网页中间。
我的 HTML:
<html>
<head>
<script src="https://cdnjs.cloudflare.com/ajax/libs/pace/1.0.2/pace.js"/>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/pace/1.0.2/themes/green/pace-theme-center-circle.min.css">
</head>
<body>
<table border="1">
<tr>
<th>Channel</th>
<th>Health</th>
<th>Action</th>
</tr>
<tr>
<td>Mobile</td>
<td class="tdcolor">
<select >
<option value="0">Select</option>
<option value="1">Green</option>
<option value="2">Red</option>
<option value="3">Amber</option>
</select>
</td>
<td> <!--show progress bar here></td>
</tr>
</table>
</body>
</html>
是否可以pace.js
在第三个td
单元格中显示进度?我使用速度的原因是因为 nil 配置。如果不可能,请您指导我使用 ajax/jquery 吗?
提前谢谢了。