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
Post a Comment