list - Create Progress Bar in Liferay -


i looking create progress bar in liferay, inside dynamic list display plugin not necessarily. data progress bar coming list though. suggestions?

you can alloyui in liferay 6.2. need placeholder progressbar - this:

<div id="myprogressbar" style="width:100%;height:20px;"></div> 

and can create javascript this:

<aui:script use="aui-base,aui-progressbar"> var progressbar = new a.progressbar({         boundingbox: '#myprogressbar',         label: '<%=percentage%>%',         orientation: 'horizontal',         value: '<%=percentage%>',     }).render(); </aui:script> 

you can read more progress bar config options here: http://alloyui.com/api/classes/a.progressbar.html

and samples here: http://alloyui.com/versions/2.0.x/tutorials/progress-bar/


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -