开发者

Items unclickable/selectable/focusable in IE after being hidden/shown with jQuery

开发者 https://www.devze.com 2023-01-18 22:11 出处:网络
I have a set of tabbed divs that I am hiding and showing with jQuery hide() and show(), this works great in all browsers except IE where the tabbed elements that have been hidden, when shown, are not

I have a set of tabbed divs that I am hiding and showing with jQuery hide() and show(), this works great in all browsers except IE where the tabbed elements that have been hidden, when shown, are not clickable as links, or focusable/selectable as for开发者_Go百科m select, text field, etc.

Has anybody had experience with this? Is there some sort of reset that I could do for IE to render these items reachable?


Our designer ended up solving this with the CSS being updated when we show/hide tabs:

.tab_current { position: relative; z-index: 1; } .tab_hidden { position: relative; z-index: -1; }

0

精彩评论

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

关注公众号