Moving Div layers
This time with div layers, I was looking to have them move. On the Meet DDA page in development, there is a div that will be displaying the large image or play the large video, depending on which employee’s profile picture is being looked at.
The final line to change the y-value of the div is: document.poppedLayer.style.top = ypos; …where poppedLayer is a variable that holds the varying browser specific code, and where ypos is a variable that holds the number of the new y-value. This isn’t a gradual moving method, it is an instant one and it seems to be working like a charm.