This is version . It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]

Description#

The ProgressBarPlugin creates a graphical representation of a percentage number. Setting the percentage to "X" will create a bar with the left X% of its width draw in green and the remaining (1 - X)% in red. The bar is implemented as two "img" entries aligned inside a table cell, with the same height, and with the width calculated based on the "width" and "percentage" parameters.

The typical usage is to indicate how close to completion a given task is in a project management situation; other uses include representing the number of testcases succesfully executed, the percentage of code covered by unit tests, and so on.

This plugin is a very simple extension of the Image plugin created by JanneJalkanen. Most of the parameters are the same. For simplicity I am also using the same package name as the other standard JSPWiki plugins.

Parameters#

percentage = 'Percentage'
The percentage number that the bar should reflect[1].
src_left = 'Image source(left)'
This can either be a full URL (http://..) or a WikiAttachment. name. If not provided, "images/green.png" will be used. Copy the attached file to the "images" directory under you wiki installation.
src_right = 'Image source(right)'
This can either be a full URL (http://..) or a WikiAttachment. name. If not provided, "images/red.png" will be used. See above.
align = 'left|right|center'
The image alignment.
height = 'integer'
The height of the image. If not provided a default value will be used.
width = 'integer'
The combined width of the bar. If not provided a default value will be used[1].
caption = 'caption text'
The text that should be shown as a caption under the image.
link = 'hyperlink'
A hyperlink (http://..)..
border = 'integer'
Size of the image border.
style = 'style info'
Any style markup you would like to apply to the table surrounding the image.
class = 'class name'
Redefine the default class for this image, which is "imageplugin".

The alt text of the image is always set to reflect the percentage number.

Examples#

[{ProgressBar percentage=30 }]
Shows a progress bar reflecting a 30% completion rate.

CSS#

.imageplugin
The table that encompasses the image. It consists of two subcategories:
img = IMG tag that gets embedded.
caption = caption that is embedded.

[#1] Use only an integer number; in particular, do not attach a '%' character.


ContributedPlugins http://www.shop263.com http://www.shop263.com/downsoft/275.htm http://www.shop263.com/downsoft/276.htm http://www.shop263.com/downsoft/277.htm http://www.shop263.com/downsoft/278.htm http://www.shop263.com/downsoft/279.htm http://www.shop263.com/downsoft/280.htm http://www.shop263.com/downsoft/281.htm http://www.shop263.com/downsoft/282.htm http://www.shop263.com/downsoft/283.htm http://www.shop263.com/downsoft/284.htm http://www.shop263.com/downsoft/285.htm http://www.shop263.com/downsoft/286.htm http://www.shop263.com/downsoft/287.htm http://www.shop263.com/downsoft/288.htm http://www.shop263.com/downsoft/289.htm http://www.shop263.com/downsoft/290.htm http://www.shop263.com/downsoft/291.htm http://www.shop263.com/downsoft/292.htm http://www.shop263.com/downsoft/293.htm http://www.shop263.com/downsoft/294.htm http://www.shop263.com/downsoft/295.htm http://www.shop263.com/downsoft/296.htm http://www.shop263.com/downsoft/297.htm http://www.shop263.com/downsoft/298.htm http://www.shop263.com/downsoft/299.htm http://www.shop263.com/downsoft/300.htm http://www.shop263.com/downsoft/301.htm http://www.shop263.com/downsoft/302.htm http://www.shop263.com/downsoft/303.htm http://www.shop263.com/downsoft/304.htm http://www.shop263.com/downsoft/305.htm http://www.shop263.com/downsoft/306.htm http://www.shop263.com/downsoft/307.htm http://www.shop263.com/downsoft/308.htm http://www.shop263.com/downsoft/309.htm http://www.shop263.com/downsoft/310.htm http://www.shop263.com/downsoft/311.htm http://www.shop263.com/downsoft/312.htm http://www.shop263.com/downsoft/313.htm http://www.shop263.com/downsoft/314.htm http://www.shop263.com/downsoft/315.htm http://www.shop263.com/downsoft/316.htm http://www.shop263.com/downsoft/317.htm http://www.shop263.com/downsoft/318.htm http://www.shop263.com/downsoft/319.htm http://www.shop263.com/downsoft/320.htm http://www.shop263.com/downsoft/321.htm http://www.shop263.com/downsoft/322.htm http://www.shop263.com/downsoft/323.htm http://www.shop263.com/downsoft/324.htm http://www.shop263.com/downsoft/325.htm http://www.shop263.com/downsoft/326.htm http://www.shop263.com/downsoft/327.htm http://www.shop263.com/downsoft/328.htm http://www.shop263.com/downsoft/329.htm http://www.shop263.com/downsoft/330.htm http://www.shop263.com/downsoft/331.htm http://www.shop263.com/downsoft/332.htm http://www.shop263.com/downsoft/333.htm http://www.shop263.com/downsoft/334.htm http://www.shop263.com/downsoft/335.htm http://www.shop263.com/downsoft/336.htm http://www.shop263.com/downsoft/337.htm http://www.shop263.com/downsoft/338.htm http://www.shop263.com/downsoft/339.htm http://www.shop263.com/downsoft/340.htm http://www.shop263.com/downsoft/341.htm http://www.shop263.com/downsoft/342.htm http://www.shop263.com/downsoft/343.htm http://www.shop263.com/downsoft/344.htm http://www.shop263.com/downsoft/345.htm http://www.shop263.com/downsoft/346.htm http://www.shop263.com/downsoft/347.htm http://www.shop263.com/downsoft/348.htm http://www.shop263.com/downsoft/349.htm http://www.shop263.com/downsoft/350.htm http://www.shop263.com/downsoft/351.htm http://www.shop263.com/downsoft/352.htm http://www.shop263.com/downsoft/353.htm http://www.shop263.com/downsoft/354.htm http://www.shop263.com/downsoft/355.htm http://www.shop263.com/downsoft/356.htm http://www.shop263.com/downsoft/357.htm http://www.shop263.com/downsoft/358.htm http://www.shop263.com/downsoft/359.htm http://www.shop263.com/downsoft/360.htm http://www.shop263.com/downsoft/361.htm http://www.shop263.com/downsoft/362.htm http://www.shop263.com/downsoft/363.htm http://www.shop263.com/downsoft/364.htm http://www.shop263.com/downsoft/365.htm http://www.shop263.com/downsoft/366.htm http://www.shop263.com/downsoft/367.htm http://www.shop263.com/downsoft/368.htm http://www.shop263.com/downsoft/369.htm http://www.shop263.com/downsoft/370.htm http://www.shop263.com/downsoft/371.htm http://www.shop263.com/downsoft/372.htm http://www.shop263.com/downsoft/373.htm http://www.shop263.com/downsoft/374.htm http://www.shop263.com/downsoft/375.htm http://www.shop263.com/downsoft/376.htm http://www.shop263.com/downsoft/377.htm http://www.shop263.com/downsoft/378.htm http://www.shop263.com/downsoft/379.htm http://www.shop263.com/downsoft/380.htm http://www.shop263.com/downsoft/381.htm http://www.shop263.com/downsoft/382.htm http://www.shop263.com/downsoft/383.htm http://www.shop263.com/downsoft/384.htm http://www.shop263.com/downsoft/385.htm http://www.shop263.com/downsoft/386.htm http://www.shop263.com/downsoft/387.htm http://www.shop263.com/downsoft/388.htm http://www.shop263.com/downsoft/389.htm http://www.shop263.com/downsoft/390.htm http://www.shop263.com/downsoft/391.htm http://www.shop263.com/downsoft/392.htm http://www.shop263.com/downsoft/393.htm http://www.shop263.com/downsoft/394.htm http://www.shop263.com/downsoft/395.htm http://www.shop263.com/downsoft/396.htm http://www.shop263.com/downsoft/397.htm http://www.shop263.com/downsoft/398.htm http://www.shop263.com/downsoft/399.htm http://www.shop263.com/downsoft/400.htm http://www.shop263.com/downsoft/401.htm http://www.shop263.com/downsoft/402.htm http://www.shop263.com/downsoft/403.htm http://www.shop263.com/downsoft/404.htm http://www.shop263.com/downsoft/405.htm http://www.shop263.com/downsoft/406.htm http://www.shop263.com/downsoft/407.htm http://www.shop263.com/downsoft/408.htm http://www.shop263.com/downsoft/409.htm http://www.shop263.com/downsoft/410.htm http://www.shop263.com/downsoft/411.htm http://www.shop263.com/downsoft/412.htm http://www.shop263.com/downsoft/413.htm http://www.shop263.com/downsoft/414.htm http://www.shop263.com/downsoft/415.htm http://www.shop263.com/downsoft/416.htm http://www.shop263.com/downsoft/417.htm http://www.shop263.com/downsoft/418.htm http://www.shop263.com/downsoft/419.htm http://www.shop263.com/downsoft/420.htm http://www.shop263.com/downsoft/421.htm http://www.shop263.com/downsoft/422.htm http://www.shop263.com/downsoft/423.htm http://www.shop263.com/downsoft/424.htm http://www.shop263.com/downsoft/425.htm http://www.shop263.com/downsoft/426.htm http://www.shop263.com/downsoft/427.htm http://www.shop263.com/downsoft/428.htm http://www.shop263.com/downsoft/429.htm http://www.shop263.com/downsoft/430.htm http://www.shop263.com/downsoft/431.htm http://www.shop263.com/downsoft/432.htm http://www.shop263.com/downsoft/433.htm http://www.shop263.com/downsoft/434.htm http://www.shop263.com/downsoft/435.htm http://www.shop263.com/downsoft/436.htm http://www.shop263.com/downsoft/437.htm http://www.shop263.com/downsoft/438.htm http://www.shop263.com/downsoft/439.htm http://www.shop263.com/downsoft/440.htm http://www.shop263.com/downsoft/441.htm http://www.shop263.com/downsoft/442.htm http://www.shop263.com/downsoft/443.htm http://www.shop263.com/downsoft/444.htm http://www.shop263.com/downsoft/445.htm http://www.shop263.com/downsoft/446.htm http://www.shop263.com/downsoft/447.htm http://www.shop263.com/downsoft/448.htm http://www.shop263.com/downsoft/449.htm http://www.shop263.com/downsoft/450.htm http://www.shop263.com/downsoft/451.htm http://www.shop263.com/downsoft/452.htm http://www.shop263.com/downsoft/453.htm http://www.shop263.com/downsoft/454.htm http://www.shop263.com/downsoft/455.htm http://www.shop263.com/downsoft/456.htm http://www.shop263.com/downsoft/457.htm http://www.shop263.com/downsoft/458.htm http://www.shop263.com/downsoft/459.htm http://www.shop263.com/downsoft/460.htm http://www.shop263.com/downsoft/461.htm http://www.shop263.com/downsoft/462.htm http://www.shop263.com/downsoft/463.htm http://www.shop263.com/downsoft/464.htm http://www.shop263.com/downsoft/465.htm http://www.shop263.com/downsoft/466.htm http://www.shop263.com/downsoft/467.htm http://www.shop263.com/downsoft/468.htm http://www.shop263.com/downsoft/469.htm http://www.shop263.com/downsoft/470.htm http://www.shop263.com/downsoft/471.htm http://www.shop263.com/downsoft/472.htm http://www.shop263.com/downsoft/473.htm http://www.shop263.com/downsoft/474.htm http://www.shop263.com/downsoft/475.htm http://www.shop263.com/downsoft/476.htm http://www.shop263.com/downsoft/477.htm http://www.shop263.com/downsoft/478.htm http://www.shop263.com/downsoft/479.htm http://www.shop263.com/downsoft/480.htm http://www.shop263.com/downsoft/481.htm http://www.shop263.com/downsoft/482.htm http://www.shop263.com/downsoft/483.htm http://www.shop263.com/downsoft/484.htm http://www.shop263.com/downsoft/485.htm http://www.shop263.com/downsoft/486.htm http://www.shop263.com/downsoft/487.htm http://www.shop263.com/downsoft/488.htm http://www.shop263.com/downsoft/489.htm http://www.shop263.com/downsoft/490.htm http://www.shop263.com/downsoft/491.htm http://www.shop263.com/downsoft/492.htm http://www.shop263.com/downsoft/493.htm http://www.shop263.com/downsoft/494.htm http://www.shop263.com/downsoft/495.htm http://www.shop263.com/downsoft/496.htm http://www.shop263.com/downsoft/497.htm http://www.shop263.com/downsoft/498.htm http://www.shop263.com/downsoft/499.htm http://www.shop263.com/downsoft/500.htm http://www.shop263.com/downsoft/501.htm http://www.shop263.com/downsoft/502.htm http://www.shop263.com/downsoft/503.htm http://www.shop263.com/downsoft/504.htm http://www.shop263.com/downsoft/505.htm http://www.shop263.com/downsoft/506.htm http://www.shop263.com/downsoft/507.htm http://www.shop263.com/downsoft/508.htm http://www.shop263.com/downsoft/509.htm http://www.shop263.com/downsoft/510.htm http://www.shop263.com/downsoft/511.htm http://www.shop263.com/downsoft/512.htm http://www.shop263.com/downsoft/513.htm http://www.shop263.com/downsoft/514.htm http://www.shop263.com/downsoft/515.htm http://www.shop263.com/downsoft/516.htm http://www.shop263.com/downsoft/517.htm http://www.shop263.com/downsoft/518.htm http://www.shop263.com/downsoft/519.htm http://www.shop263.com/downsoft/520.htm http://www.shop263.com/downsoft/521.htm http://www.shop263.com/downsoft/522.htm http://www.shop263.com/downsoft/523.htm http://www.shop263.com/downsoft/524.htm http://www.shop263.com/downsoft/525.htm http://www.shop263.com/downsoft/526.htm http://www.shop263.com/downsoft/527.htm http://www.shop263.com/downsoft/528.htm http://www.shop263.com/downsoft/529.htm http://www.shop263.com/downsoft/530.htm http://www.shop263.com/downsoft/531.htm http://www.shop263.com/downsoft/532.htm http://www.shop263.com/downsoft/533.htm http://www.shop263.com/downsoft/534.htm http://www.shop263.com/downsoft/535.htm http://www.shop263.com/downsoft/536.htm http://www.shop263.com/downsoft/537.htm http://www.shop263.com/downsoft/538.htm http://www.shop263.com/downsoft/539.htm http://www.shop263.com/downsoft/540.htm http://www.shop263.com/downsoft/541.htm http://www.shop263.com/downsoft/542.htm http://www.shop263.com/downsoft/543.htm http://www.shop263.com/downsoft/544.htm http://www.shop263.com/downsoft/545.htm http://www.shop263.com/downsoft/546.htm http://www.shop263.com/downsoft/547.htm http://www.shop263.com/downsoft/548.htm http://www.shop263.com/downsoft/549.htm http://www.shop263.com/downsoft/550.htm

http://www.haishun.net http://www.7766888.com http://www.asp169.com/crm.htm http://www.asp169.com/marketingsoft3.htm http://www.asp169.com/marketingsoft4.htm http://www.asp169.com/marketingsoft5.htm http://www.7766888.com/introcom.htm http://www.7766888.com/introcn.htm http://www.7766888.com/u_puji.htm http://www.7766888.com/mysql.htm http://www.7766888.com/u_jingji.htm http://www.7766888.com/u_biaozhun.htm http://www.7766888.com/u_zhiqiang.htm http://www.7766888.com/w_jingji.htm http://www.7766888.com/w_biaozhun.htm http://www.haishun.net/p_mjds.htm http://www.haishun.net/p_mjds_dmmj.htm http://www.haishun.net/p_mjds_lwmj.htm http://www.haishun.net/p_mjds_yjs.htm http://www.haishun.net/cctv.htm http://www.haishun.net/p_cctv_jk.htm http://www.haishun.net/p_cctv_jk_sxj.htm http://www.haishun.net/p_cctv_jk_xsq.htm http://www.haishun.net/p_cctv_jk_yplxj.htm http://www.haishun.net/p_cctv_jk_yt.htm http://www.haishun.net/p_cctv_jk_zj.htm http://www.fm360.net http://www.fm360.net/page/001.html http://www.fm360.net/page/game.htm http://www.fm360.net/page/software.htm http://www.fm360.net/page/jinshi.htm http://www.fm360.net/page/music.htm http://www.fm360.net/page/053.html http://www.fm360.net/page/flash.htm http://www.fm360.net/page/newsweek.htm http://www.fm360.net/page/club.htm http://www.fm360.net/page/stock.htm http://www.fm360.net/page/love.htm http://www.fm360.net/page/netcard.htm http://www.fm360.net/page/025.html http://www.fm360.net/page/hardware.htm http://www.fm360.net/page/sport.htm http://www.fm360.net/page/shouji.htm http://www.fm360.net/page/ym.htm http://www.fm360.net/page/ylbj.htm http://www.fm360.net/page/car.htm http://www.jifamark.com/xhj.htm http://www.jifamark.com http://global.garrywa.com/index1.htm http://global.garrywa.com/recommend.asp http://global.garrywa.com/productclass.asp http://global.garrywa.com http://global.garrywa.com/order.htm http://fireworks.garrywa.com http://fireworks.garrywa.com/about.htm http://fireworks.garrywa.com/factory.htm http://fireworks.garrywa.com/index.htm http://fireworks.garrywa.com/pro.htm http://fireworks.garrywa.com/faq.htm http://fireworks.garrywa.com/safty.htm http://fireworks.garrywa.com/contact.htm http://fireworks.garrywa.com/productclass.asp http://www.funasia.cn http://www.funasia.cn/pinpai.asp http://www.funasia.cn/client/gb_list.asp http://www.funasia.cn/design/index.asp http://www.funasia.cn/funasiaHome/index.asp http://www.funasia.cn/jiancai.asp http://www.funasia.cn/shishang.asp http://www.funasia.cn/mall/AboutOur.htm http://www.sec66.com http://www.genset-sh.com http://www.sec66.com/ym001/pro.asp http://www.sec66.com/index001.htm http://www.sec66.com/ym001/intr.htm http://www.sec66.com/ym001/application.htm http://www.sec66.com/ym001/service.htm http://www.sec66.com/ym001/news.htm http://www.sec66.com/ym001/bbs.htm http://www.sec66.com/ym001/en_intr.htm http://www.asp169.com/marketingsoft1.htm http://www.asp169.com/marketingsoft2.htm http://www.asp169.com/zhaoguan.htm http://www.xsjby.cn http://www.asp169.com/zhaoguan2.htm http://www.xhhj.com.cn http://www.cndevi.com http://www.cndevi.com/About.asp http://www.cndevi.com/Product.asp http://www.cndevi.com/sale.asp http://www.cndevi.com/Went.asp http://www.sinostrategy.com http://www.sinostrategy.com/finalbexcel/index.asp http://www.sinostrategy.com/finalbexcel/service/index.asp http://www.sinostrategy.com/finalbexcel/expertise/index.asp http://www.sinostrategy.com/finalbexcel/practice/index.asp http://www.sinostrategy.com/finalbexcel/knowledge/index.asp http://www.sinostrategy.com/finalbexcel/connect/index.asp http://www.sinostrategy.com/finalbexcel/company/media_center/index.asp http://www.hdfix.com.cn

Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
java
ProgressBar.java 7.4 kB 1 04-Aug-2004 22:14 NascifAbousalhNeto
jar
ProgressBarPlugin.jar 3.0 kB 3 15-Sep-2006 21:54 Joseph Schmigel
zip
bal.zip 303.6 kB 1 12-May-2005 12:56 61.11.79.234
png
green.png 0.2 kB 1 04-Aug-2004 22:13 NascifAbousalhNeto
png
red.png 0.2 kB 1 04-Aug-2004 22:13 NascifAbousalhNeto
« This particular version was published on 02-Oct-2004 05:44 by 61.181.173.215.