Custom styling and behavior of html div object.

Ondra, Fri Jul 30 2021, 08:40PM

I have some code I would like to add to the project. HTML CSS and Java script. The HTML is as follows. The CSS and JavaScript act on the div to simulate water level in a tank. With that said, I will need to add my own css and javascript to the project. Can you give some guidance as to how I might accomplish this?

<--! HTML -->

<div class="tk" data-amount="40">
40%
<div class="lq"></div>
</div>

Re: Custom styling and behavior of html div object.
administrator, Sat Jul 31 2021, 05:35PM

It all depends on the way you want to implement your requirements. If you have your own javascript libraries then you can add them to the project properties. The css and javascript will be applied into the main application automatically. As an example you can look into the standard phspeed libs that you can find in Tools->Preferences->Libs.