This is a simple Percent count down with two counters.
A number count and a bar.
In this template the main code is in the header. And is called using a hype function with a button.
It is written this way to control when the count down starts.
@MarkHunte I’m trying to download the files but it doesn’t work. Do you think you could upload them again? This is a project I’m currently figuring out. Thanks!!
Had to explore file content and open the hype file within. Extracting seems to create a 2 level folder structure when should be one. Can open the templates now.
The ProgressBarMod.hype.zip says Document Version Incompaitibility even though I have 3.5.2 (528) Professional Edition.
Thanks a lot for sharing this progress bar. It works great. However, I would like to tweak it by adding, for example, 40px to the green progress bar on mouse click. I tried triggering this code on button click but it doesn’t work
for the up count
The calculations are done by multipling percentTogo by 2 in the above example.
each step * 2
This means the width will change like this
20
40
60
80
100
120
140
160
80
200
if we multiply by 2.4 then we will change like this
24
48
72
96
120
144
168
192
216
240
Yes Mark the second square definitely looks green to me. I guess my brain must have associated progress with green colour and I changed it to green myself. Anyways, I found a simpler solution without too much code as I’m still learning javascript.
Thanks for your help and sorry to mess this thread with stupid questions like that.