首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > Web前端 >

ie7上z-index的bug解决办法

2012-09-16 
ie7下z-index的bug解决方法依赖于jquery库:var zIndexNumber 1000$(div).each(function() {$(this).c

ie7下z-index的bug解决方法
依赖于jquery库:

var zIndexNumber = 1000;
$('div').each(function() {
    $(this).css('zIndex', zIndexNumber);
    zIndexNumber -= 1;
});

引起这个bug的原因正在核查。

热点排行