/ Published in: JavaScript

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
if (typeof window.addEventListener != 'undefined') window.addEventListener('load', init, false); else if (typeof document.addEventListener != 'undefined') document.addEventListener('load', init, false); else if (typeof window.attachEvent != 'undefined') window.attachEvent('onload', init);
Comments
