He used two DIVs – one DIV carries the image or the movie as we will call it, and the other is a container that represents the TV. The TV frame is a GIF image with a transparent area to show the movie through. The second DIV is positioned on top of the first DIV using the z-index property. Two functions, one to turn on the TV with a fade and one to power it off are added to control the TV. See the result below.
Spanish Italian. “Spegni la tv!” is Turn OFF and “Accendi” is Turn ON.
The script is available for download. It can be used in blogs and websites to add a nice touch to animated GIFs or even static images.