在ListViews或類似程序上使用數據源時,會顯示Windows 8加載輪。這很好,但我仍然想要在我選擇的容器中手動啓動和停止裝載輪。我也想知道如何使用加載點。我怎麼能夠實現這個目標呢?如何使用Javascript手動顯示Windows 8地鐵加載輪/加載點
3
A
回答
4
由於Jevar的建議,我設法找到了Quickstart指南添加進度控制。我想要的確是一個ProgressRing,更特別的是一個不確定的進度環。下面是它是如何在HTML做/ JS
HTML:
<label class="progressRingText">
<progress class="win-ring withText"></progress>Processing</label>
CSS
progress.withText
{
color: inherit; /* Uses the same text color as the page */
vertical-align: text-bottom; /* Makes the bottom of the control align with the bottom of its label */
}
/* Text style for a label for the progress ring */
.progressRingText
{
font-family: "Segoe UI";
}
/* Text style for a label for a default size progress ring */
.progressRingText
{
font-size: 11pt;
line-height: 15pt;
}
/* The margin to separate the ring and its label */
.progressRingText progress
{
margin-right: 5px;
}
-1
使用的
進度相同的寬度和高度
例如
<progress style="width:50px;height:50px;">
元素,你會得到這種效果。
相關問題
- 1. 顯示使用javascript加載
- 2. 如何在Windows 8加載JavaScript
- 3. 在windows中顯示「加載」Phone 8 sdk
- 4. 加載屏幕Windows手機8
- 5. 如何顯示緩慢加載助手視圖加載指標?
- 6. 如何使用javascript在頁面加載時顯示滾動條?
- 7. 如何使用mvvm顯示windows phone 8應用程序的加載欄
- 8. 想顯示使用JavaScript「加載」文本?
- 9. 如何顯示加載gif圖像預覽通過javascript加載
- 10. 在方法中顯示加載輪
- 11. 顯示進度輪,而頁面加載
- 12. 的HTML加載在地鐵應用
- 13. Windows 8地鐵 - CurrentApp.RequestProductPurchaseAsync
- 14. Javascript顯示div加載
- 15. 顯示加載動畫,點擊
- 16. 按鈕點擊顯示「加載」動畫
- 17. 如何使用JavaScript加載photoshop動作?
- 18. 如何在頁面加載時顯示ajax加載gif動畫?
- 19. 使用的SwingWorker顯示加載動畫
- 20. Windows Phone 8 XAML加載
- 21. Windows Phone 8 + Gif Preloader(加載動畫)
- 22. 動態加載使用JavaScript
- 23. 如何顯示加載
- 24. 如何加載和顯示動畫PNG
- 25. 如何用JavaScript正確地加載頁面加載函數?
- 26. 點使用source.Vector加載函數不顯示在地圖上
- 27. 用JavaScript點擊使gif加載器顯示
- 28. 與地鐵SQLite - 無法加載sqlite3.dll
- 29. 如何使用OpenGL加載8位bmp?
- 30. Windows 8 preloader(加載圖標)使用HTML5和JavaScript沒有圖像