开发者

Controlling z-index for multiple panels in javascript

We have to deal with multiple panels on the website ( refer to the screenshot below ).

The problem is we need to make the panel that users select on top of other panels

We can manually try to control the z-index of each panel, but is there an ea开发者_运维技巧sier way to do this?

Env: - YUI 2.7 - IE7/8, FF3.x

multiple panels screenshot

panels img http://www.screencast.com/users/lchandra/folders/Jing/media/ec68e280-a088-4543-88d1-10f266fa7a96


Re: "is there an easier way to do this?"

Yes, use the YUI Overlay Manager

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜