presbyran 2 Posted March 6, 2013 Report Share Posted March 6, 2013 Hi I'm trying to change the inline style value within a ui html panel.Is this possible? Please if someone know any tips on how this could be done.. Here is my code: set(#num, 0, "Global") ui html panel("<div class=\"progress\" variable=\"#num\" fillwidth=\"value\" style=\"background-color:#0{#num}{#num};\">THIS IS TEXT</div>", 70) loop(10) { increment(#num) wait(0.5) } If you see i want to change the background color of the text, so foreach loop it will get a new background color. Quote Link to post Share on other sites
blumi40 222 Posted March 6, 2013 Report Share Posted March 6, 2013 yes i know! :) Quote Link to post Share on other sites
presbyran 2 Posted March 6, 2013 Author Report Share Posted March 6, 2013 @blumi40 do you know how this can be done?or you want the answer aswell? Quote Link to post Share on other sites
blumi40 222 Posted March 6, 2013 Report Share Posted March 6, 2013 it can be done with js and css Quote Link to post Share on other sites
presbyran 2 Posted March 7, 2013 Author Report Share Posted March 7, 2013 any hint? 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.