Náš Lopuch Vámvytře zrakLopuch.cz
var showMessage = true; function focus() { if (showMessage) { showMessage = false; alert('focused'); } } function blur() { showMessage = true; } document.addEventListener('focus', focus, false); document.addEventListener('blur', blur, false);
function top_product() { style = document.getElementById('top_product').style; if (style.height == '216px') style.height = '100px'; else style.height = '216px'; }