I am trying to set a hidden layer (containing animated GIFs) visible. Initially, the layer is hidden using
display: none;
However, when I try to show the layer using javascript:
document.getElementById('loading_layer').style.display = 'block';
the layer is displayed, but the images inside it are no longer animated. What could be the reason for this?