Пример работает с использованием библиотеки JQuery
* html #back_plash {
opacity:expression($('#back_plash').css('opacity',.5));
height:expression($('#plash').height());
display:block;
}
#plash {
background-image:url('/images/opacityw.png');
}
* html #plash {
background-image:none;
margin-top:expression(-$('#plash').height());
}
#back_plash {
background:#fff;
display:none;
}
<div id="back_plash"></div>
<div id="plash">content</div>
Комментариев нет:
Отправить комментарий