jQuery fadeIn on position:absolute causes z-index issue

后端 未结 5 529
青春惊慌失措
青春惊慌失措 2020-12-15 07:57

Technically I\'m using fadeToggle() but they\'re cousins... basically my issue is that I have an absolutely positioned div which I am using slideToggle()<

5条回答
  •  北荒
    北荒 (楼主)
    2020-12-15 08:12

    Just another note... I was having the same issue and solved it by:

    .keepontop{ position:absolute; z-index:999; }

    This allowed me to have one containg div that fixes the z-index issue, but also solved the click event issue for buried DIVs.

提交回复
热议问题