Q
HTML進度條
0
A
回答
1
1
您可以改用jQuery。 HTML5沒有限制。您也可以申請款式可供
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>jQuery UI Progressbar - Custom Label</title>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.2/themes/smoothness/jquery-ui.css" />
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://code.jquery.com/ui/1.10.2/jquery-ui.js"></script>
<link rel="stylesheet" href="/resources/demos/style.css" />
<style>
.progress-label {
float: left;
margin-left: 50%;
margin-top: 5px;
font-weight: bold;
text-shadow: 1px 1px 0 #fff;
}
</style>
<script>
$(function() {
var progressbar = $("#progressbar"),
progressLabel = $(".progress-label");
progressbar.progressbar({
value: false,
change: function() {
progressLabel.text(progressbar.progressbar("value") + "%");
},
complete: function() {
progressLabel.text("Complete!");
}
});
function progress() {
var val = progressbar.progressbar("value") || 0;
progressbar.progressbar("value", val + 1);
if (val < 99) {
setTimeout(progress, 100);
}
}
setTimeout(progress, 3000);
});
</script>
</head>
<body>
<div id="progressbar"><div class="progress-label">Loading...</div></div>
</body>
</html>
相關問題
- 1. HTML 5進度條
- 2. HTML PHP進度條
- 3. 帶CSS的HTML進度條
- 4. 設置HTML進度條
- 5. 進度條在HTML/CSS
- 6. 動態進度條Javascript和HTML
- 7. 下載圖片進度條,PHP,Javascript,HTML
- 8. 將進度條應用到html頁面
- 9. html表格中的進度條
- 10. 進度條(下載)使用HTML 5
- 11. 進度條使用HTML和CSS
- 12. 帶有HTML值的JQuery UI進度條
- 13. AngularJS編輯進度條爲html滑塊
- 14. 從html表值創建進度條
- 15. 進度條未顯示進度條
- 16. 設置進度,進度條
- 17. 減慢進度條進度
- 18. 進度條更新進度
- 19. 如何進度進度條
- 20. 進度條寬度
- 21. 進度條ncurses
- 22. Android .....進度條
- 23. css進度條
- 24. GWT進度條
- 25. php進度條?
- 26. 進度條ICS
- 27. 進度條
- 28. jQuery進度條
- 29. PHP進度條
- 30. 進度條
那你試試? – veritas