Vertical progress bar

Permalink
http://lakerotoruaincentives.nz/concrete5.6.3.3/index.php?cID=143

I have an elaborate setup for a progress bar. The red fill in the 'N' should reduced down as the target is met. But I need the client to easily alter this. Can't figure out the best route to take (bearing in mind that I am not a programmer but a front end web guy!).
Any ideas?

trixiemay
 
MrKDilkington replied on at Permalink Best Answer Reply
MrKDilkington
Hi trixiemay,

You could make a block with a text field input for the meter level. The input would set the level of the span height. The client could edit the block and change the number to update the meter level.

Example: the block view.php
<div class="meter" style="height: 400px;">
    <span style="height: <?php echo $meterLevel; ?>%;">.</span>
</div>
trixiemay replied on at Permalink Reply
trixiemay
Thanks.
I recognise you answered my question previously. Sorry for the double post - I'm not too good at the backend stuff but this explanation is awesome.
btw: Karl Pilkington far funnier than Gervaise or Merchant!