anwebservices 5 Posted August 24, 2015 Report Share Posted August 24, 2015 Hello everyone.While i was searching for some things to style my bots i found this very helpful HTML tag (never used before) here: http://www.w3schools.com/tags/tag_meter.asp I guess for many of you, this is not something new, but just in case someone want to display simple progress bar in the bot without much of headache, here is a code too: set(#result,0,"Global") set(#nmb,100,"Global") loop(#nmb) { increment(#result) wait(0.2) } ui stat monitor("<p>Progress: {#result} accouts checked <meter style=\"width:100%;height:14px;\" value=\"{#result}\" min=\"0\" max=\"{#nmb}\"></meter>","") Hope it will help some newbie like me Good luck 1 Quote Link to post Share on other sites
Kreatus (Ubot Ninja) 422 Posted August 24, 2015 Report Share Posted August 24, 2015 Nice.. thanks for sharing. Here's another:set(#result,0,"Global") set(#nmb,100,"Global") loop(#nmb) { increment(#result) wait(0.2) } ui stat monitor("Downloading progress: <progress value=\"{#result}\" max=\"100\"> </progress>","") Unfortunately, this doesnt work well on uihtml. Quote Link to post Share on other sites
anwebservices 5 Posted August 24, 2015 Author Report Share Posted August 24, 2015 hmm didn't try it in ui html but should be working. it's known that this html tags not working in IE... I will try to see how it goes in ui html Quote Link to post Share on other sites
Edward_2 85 Posted August 24, 2015 Report Share Posted August 24, 2015 style your progress bar via css and webkit. I have lots of different style sheets for the ui stat monitor if you like. progress[value]::-webkit-progress-bar { background-color: #eee; border-radius: 2px; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25) inset; } 1 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.