
內容簡介
一個輕量級的響應式進度條,可與您喜愛的 HTML5 主題配合使用。
它與主要瀏覽器兼容,可進行配置,唯一的依賴是 jQuery,這是 WordPress 主題廣泛使用的。
使用方法
在編輯文章或頁面時,在任何地方使用簡碼[rprogress]。以下是一些示例:
[rprogress value = 80] 顯示帶有80%值的進度條
[rprogress value = 95 text =“作業快完成了”] 也顯示一個文本
[rprogress value = 75 color =“#ff0000”] 使用紅色的進度條
[rprogress value = 70 color =“#00ff00” delay = 300] 使用綠色的進度條,更快地繪製進度條(預設延遲為1000)
以下是完整的屬性列表,包括默認值:
value(默認值= 100)
color(默認值=“#4af”)
外掛標籤
開發者團隊
原文外掛簡介
A lightweight responsive progress bar which will work with your favourite HTML5 theme.
It works with major browsers, is configurable and only dependency is jQuery which is heavily used by WordPress themes.
Usage
Use the shortcode [rprogress] anywhere while editing your post or page. Below are some examples:
[rprogress value=80] displays a progress bar with value of 80%
[rprogress value=95 text=”Homework nearly completed”] writes a text as well
[rprogress value=75 color=”#ff0000″] uses red color for the progress bar
[rprogress value=70 color=”#00ff00″ delay=300] uses green color, draws the progress bar faster (default delay is 1000)
Below is a complete list of attributes with default values as well:
value (default = 100)
color (default = “#4af”)
bgcolor (default = “#cc” )
delay (default = 1000)
border_radius (default = “3px”)
text (default = “”)
text_color (default = “#333”)
