Хабр Курсы для всех
РЕКЛАМА
Практикум, Хекслет, SkyPro, авторские курсы — собрали всех и попросили скидки. Осталось выбрать!
The defer attribute specifies that the execution of a script should be deferred (delayed) until after the page has been loaded.
When set, this boolean attribute provides a hint to the user agent that the script is not going to generate any document content (e.g., no «document.write» in javascript) and thus, the user agent can continue parsing and rendering.
span.block-before,span.block-after {zoom: 1; font-size: 1px; position: relative}
html*div.text-block {
scrollbar-face-color: expression(document.getElementById("bottom") ? (
this.runtimeStyle.scrollbarFaceColor = "#fff",
insertAdjacentHTML('afterBegin','<span class="block-before"></span>'),
insertAdjacentHTML('beforeEnd', '<span class="block-after"></span>')) : '#fff'
)
}DOMready = setInterval(function(){
try{
document.documentElement.doScroll("left");
clearInterval(DOMready);
DOMready = true;
for (var f in fn){
fn[f]();
}
}catch(e){}
}, 10)for (var f in fn){
fn[f]();
}if (DOMready === true){
action(el, add);
} else {
fn.push(function(){
action(el, add);
});
}
CSS-Expressions on DOMReady (CSS+JS в одном файле)