I’m looking for a jQuery or javascript that fill up a glass of water. So when clicking on one button you add water to the glass and when clicking on another you remove water from the glass. Just wonder if someone already have written something like this that I can use.
Thanks!
Create a picture of a water glass with the glass portion transparent.
Put a picture of water behind it.
Animate the image from the bottom to the top. If you want “wavy” water as it fills, make the image have a rippled top, make it slightly larger than the glass, and animate from side to side a little as well.