开发者

zindex + jquery: How to make my menu appear over the jquery script?

开发者 https://www.devze.com 2023-03-11 17:27 出处:网络
I\'m trying to build a simple site but I\'m just blocking on this weird bug (?) that puts my \"hover\" menu UNDER the jquery/iframe div.

I'm trying to build a simple site but I'm just blocking on this weird bug (?) that puts my "hover" menu UNDER the jquery/iframe div.

[url removed. thanks for your answers!]

When the page opens, it's the first menu item on the top left. As you see, it appears under the images below and I have no clue how to fix this!

Is it my CSS, DIVs of jquery t开发者_开发问答hat is the problem?

Thanks


Try this:

.menuruban { z-index: 1; }
.zoneimg { z-index: 0; }


Just set your z-index to a higher value:

#menu li {
    z-index: 99; /* Or any other value higher than the images' z-index */
}

Or attach the z-index to the class menuruban:

.menuruban {
    z-index: 99; /* Or any other value higher than the images' z-index */
}
0

精彩评论

暂无评论...
验证码 换一张
取 消