https://phspeed.com/

Custom styling and behavior of html div object.

Ondra, Fri May 31 2024, 10:00PM

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, Fri May 31 2024, 10:00PM

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.