I have been searching and searching google for an answer but no luck.

I want 5 bars that are connected in the way that the total value of hem is 100%

ex user moves bar 1 up 4% and bar 2,3,4,5 moves down 1% each.

the values should be projected in textfields so the form can be POSTed for some PHP operations.

I have seen this on webapplications before and just assume it is javascript. does anone know how it is done?

thanks a lot!