当我尝试在我的 jQuery Cycle 元素上放置一个元素时,它不起作用。该元素始终位于 jQuery 循环元素之后。我使用浮动:对;定位元素,并将其 z-index 设置为 100000,但无济于事。
Firebug 将 Cycle 元素及其子元素视为具有低 z 索引,并显示浮动元素位于正确的位置。
该元素永远不会显示在 Cycling 图像上方。
<!-- the cycling set -->
<div id='headerimages'>
<img src='images/header1.jpg' alt='' style='' />
<img src='images/header2.jpg' alt='' style='' />
<img src='images/header3.jpg' alt='' style='' />
</div>
<!-- the floating element -->
<img src='images/logotransparent.png' alt='' id='logo' />