sifuhall 0 Posted July 2, 2013 Report Share Posted July 2, 2013 I'm using the twitter bootstrap foundation to build my panel UI and it has a very nice progress bar I would like to use. The code for the progress bar is <div class="progress"> <div class="bar" style="width: 90%;"></div> </div> Is it possible to change 90% to a variable that I can use? Quote Link to post Share on other sites
sifuhall 0 Posted July 3, 2013 Author Report Share Posted July 3, 2013 Is this not possible? All I would need to change is the section width: 90% and replace 90% with a variable. Maybe javascript is a possibility? Quote Link to post Share on other sites
UBotDev 276 Posted July 3, 2013 Report Share Posted July 3, 2013 Use it like this: ui html panel("<div class=\"bar\" style=\"width: 90%; color: red\" variable=\"#var\" fillwith=\"style\">test</div>", "") set(#var, "color: red;", "Global") Notice that I only changed color of the div, since I don't use bootstrap. Quote Link to post Share on other sites
LazyBotter 188 Posted July 3, 2013 Report Share Posted July 3, 2013 Have you checked out this thread? http://www.ubotstudio.com/forum/index.php?/topic/13817-free-html5-progress-bar-source-code-for-stdprodev/?hl=progress+bar Quote Link to post Share on other sites
UBotDev 276 Posted July 3, 2013 Report Share Posted July 3, 2013 Have you checked out this thread? http://www.ubotstudio.com/forum/index.php?/topic/13817-free-html5-progress-bar-source-code-for-stdprodev/?hl=progress+barYou are right LazyBotter...even simpler solution, forgot to mention it. Quote Link to post Share on other sites
sifuhall 0 Posted July 3, 2013 Author Report Share Posted July 3, 2013 Thank you! 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.