0

http://www.haymsalomonhome.com/recovery.html

The blue button on the far right is a fixed div. How can I get it to float ABOVE the Javascript slideshow? z-index does not work in this case...

On a page that has just an image with no Javascript, the fixed button does float above it:

http://www.haymsalomonhome.com/cultural.html

4

5 に答える 5

0

z-index を十分に高く設定していますか? スライドショー要素の z-index は 999 と 1000 です。

于 2012-07-26T00:04:49.187 に答える
0

試してみz-index:9999てください。スライドショーにはz-index:999999 未満では動作しません。

于 2012-07-26T00:02:26.137 に答える
0

z-index が低すぎます。スライド ショーの div の z-index は 999 で、1000 は z-index を高くするだけです。

于 2012-07-26T00:03:18.527 に答える
0

これはうまくいきます:

#fadeshow1 {
z-index: 1;
}
于 2012-07-26T00:03:22.993 に答える
0

これを使用する必要があります:

#fixed-div {
    position: fixed;
    top: 320px;
    right: 0px;
    width: 123px;
    height: 20px;
    z-index: 9999;
}

スライドショーには がz-index:999あるため、ワークアウトz-index:999;#fixed-divません。

于 2012-07-26T00:11:00.283 に答える