¡@

Home 

javascript Programming Glossary: document.body.classname

Is there a way to detect if a browser window is not currently active?

http://stackoverflow.com/questions/1060008/is-there-a-way-to-detect-if-a-browser-window-is-not-currently-active

h pagehide h evt evt window.event if evt.type in evtMap document.body.className evtMap evt.type else document.body.className this hidden hidden.. in evtMap document.body.className evtMap evt.type else document.body.className this hidden hidden visible onfocusin and onfocusout are required..

How can I detect DOM ready and add a class without jQuery?

http://stackoverflow.com/questions/1795089/how-can-i-detect-dom-ready-and-add-a-class-without-jquery

DOMContentLoaded events where applicable function domReady document.body.className javascript ... Mozilla Opera Webkit if document.addEventListener..

Wait cursor over entire html page

http://stackoverflow.com/questions/192900/wait-cursor-over-entire-html-page

.wait cursor wait important and then a href # onclick document.body.className 'wait' return false Do something a This solution only shows..

iframe shimming or ie6 (and below) select z-index bug

http://stackoverflow.com/questions/224471/iframe-shimming-or-ie6-and-below-select-z-index-bug

select visibility hidden And the following JavaScript hide document.body.className ' hideSelects' show document.body.className document.body.className.replace.. hide document.body.className ' hideSelects' show document.body.className document.body.className.replace ' hideSelects' '' Or you can.. ' hideSelects' show document.body.className document.body.className.replace ' hideSelects' '' Or you can use your favourite addClass..

Is there a way track the focus on tab with Javascript?

http://stackoverflow.com/questions/3648120/is-there-a-way-track-the-focus-on-tab-with-javascript

switch and on browser window losing focus function onBlur document.body.className 'blurred' function onFocus document.body.className 'focused'.. onBlur document.body.className 'blurred' function onFocus document.body.className 'focused' if @cc_on @ false check for Internet Explorer document.onfocusin..

How to pause and resume CSS3 animation using JavaScript?

http://stackoverflow.com/questions/5804444/how-to-pause-and-resume-css3-animation-using-javascript

'running' style.webkitAnimationPlayState 'paused' document.body.className 'paused' else style.webkitAnimationPlayState 'running' document.body.className.. 'paused' else style.webkitAnimationPlayState 'running' document.body.className '' Live demo http jsfiddle.net simevidas TnGhH 2 jQuery solution..