b3ta.com board
You are not logged in. Login or Signup
Home » Messageboard » XXX » Message 9735762 (Thread)

# animated background
Yes, it is possible. If I understand you correctly. But you don't 'stick' the first anim onto another background, rather, you can count the number of frames in the first anim saved as a transparent GIF without the background and co-ordinate them with the number of frames in a separate animated GIF of the same dimensions with a solid background. So for example if the soccer player has 12 frames, say, as a clock, and your moving background can be reduced to 4 frames, then repeat the background anim 3 times in a stack to get 12 frames equal to the soccer anim, and layer the soccer transparencies over the background frame for frame. This takes a bit of mental gymnastics, but you've gone this far.

Another way is to use a table. Top anim saved as GIF transparency put in the cell of a 1-cell table, bottom solid anim put into the background of the table. Using this method, you can stack cells on top of each other transparency over transparency over transparency in a cell with in a table with a solid background (or a transparent background for that matter which would show whatever color or pattern of the page the table is displayed). The problem with tables is they don't align perfectly. You may find you must reduce the width of the anim in the cell by 10 or so pixels so that the table doesn't stretch and the background repeat. Sometimes it helps to cram all the html into one long continuous line instead of hitting return for each line of code, although that doesn't always work depending on the weather, or something.
(, Sat 10 Oct 2009, 15:50, archived)