Aymen 385 Posted March 6, 2013 Report Share Posted March 6, 2013 Hey Guys i know there is a lot of people looking to implement a progressbar in their UI , so this may come handy to many of you!i was playing with ubot and came up ith this http://content.screencast.com/users/aymen99/folders/Jing/media/694bb631-9975-4e33-8817-d062659db7c6/2013-03-07_0050.png Video Demo : http://screencast.com/t/wgcMqbgDo Hope you guys like it Progressbar code.ubot 12 Quote Link to post Share on other sites
zdot 14 Posted March 7, 2013 Report Share Posted March 7, 2013 cool stuff Aymen. Too bad it stops at 96%.......any idea what to look for to get it 100%? Quote Link to post Share on other sites
blumi40 222 Posted March 7, 2013 Report Share Posted March 7, 2013 if u wanna 100% pay $27)))) 1 Quote Link to post Share on other sites
Aymen 385 Posted March 7, 2013 Author Report Share Posted March 7, 2013 cool stuff Aymen. Too bad it stops at 96%.......any idea what to look for to get it 100%?lol , probebly i miss calculated something ! but you get the idea Quote Link to post Share on other sites
webpro 31 Posted March 7, 2013 Report Share Posted March 7, 2013 My knowledge is not good enough (for now) to make it go to 100% (as it stalls at 96%) Also, let's say i want to implement this for a wait command ? How do i proceed ? Thanks Quote Link to post Share on other sites
gabel 51 Posted March 7, 2013 Report Share Posted March 7, 2013 haven't had time to look at this to much but a quick fix would be to add in the loop after the post increment the following code if($comparison(#pos, "=", #totalloops)) { then { set(#purcentage, 100, "Global") set(#progressbar, "width: {#purcentage}%", "Global") } else { } } 1 Quote Link to post Share on other sites
Aymen 385 Posted March 7, 2013 Author Report Share Posted March 7, 2013 haven't had time to look at this to much but a quick fix would be to add in the loop after the post increment the following code if($comparison(#pos, "=", #totalloops)) { then { set(#purcentage, 100, "Global") set(#progressbar, "width: {#purcentage}%", "Global") } else { } } Nice!Thanks for the tip Quote Link to post Share on other sites
carlstarus 2 Posted September 30, 2013 Report Share Posted September 30, 2013 (edited) Thanks Aymen, I can think of a thousand uses for this... Gabel thanks for the finishing touch... Edited September 30, 2013 by carlstarus Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.