Search code examples
jqueryjquery-animatez-indexcyclelayer

z-index layer and jquery animations with the Cycle plugin


I'm using a Jquery plugin, Cycle, and want an image button to be on top of the animations. The images in the animation scroll in one side and out the other. No matter what I do, the button is always layered UNDER the animated images. Z-index is ignored in all browsers. How do I put it on TOP on the animation?


Solution

  • The z-index property requires an element to have either position:relative or position:absolute to have any effect. Is this the case?