Is there an alternative to Element.setAbsolutePositioned(zIndex) in the new Alpha or should I just do the setStyle stuff myself?

|
#2
|
|
setAbsolutePositioned and setRelativePositioned where both combined (and got a couple new params as well):
//position absolute with z-index 100 el.position('absolute', 100); // set xy too el.position('absolute', 100, 5, 5); ![]() |
本文讨论了Element.setAbsolutePositioned方法在新版Alpha中的替代方案,并提供了一个新的方法el.position('absolute',100),用于设置元素的绝对定位及Z-index属性。

被折叠的 条评论
为什么被折叠?



