Audio~Animation~Control

animation-cover
audio-control-cover
The way this works is that when the audio is paused you see the "animation-cover" id=myImage and when the audio is played you see the animation four-for-texas.gif. The right 70% of the audio tag is covered by the "audio-control-cover" id=hide with the left 30% covered by the triangle.png. There are six basic reqirements that MUST adhered to for this technique to work properly.
  1. The "animation-cover" must be the same size as the "animation image".
  2. The "animation-cover" must be the same color as the page color.
  3. The "audio-control-cover" must be styled to <style="width:100px;height;30px;">
  4. The "audio-control-cover" must be the same color as the page color.
  5. The triangle id #tri must have z index of -1 z-index:-1;. This places the triangle beneath the audio tag.
  6. Now for the real magic. The data id's #data opacity is set at 10% opacity:0.1;.
  7. This gives the illusion of the triangle controlling the audio and the animation as it is now visible through the audio tag.
  8. Source the page, take the code to my Pc Test Bed and change the body color to black to see the covers