Sha256: 0796f85e19bab26e3d40c3d0e5bcc5dcd6c2bfd1625e2a8cc4191bf97f072331
Contents?: true
Size: 543 Bytes
Versions: 68
Compression:
Stored size: 543 Bytes
Contents
// Show an example script in a popup window function popup(URL) { day = new Date(); id = day.getTime(); eval("page" + id + " = window.open(URL, '" + id + "','toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1');"); } // Run a function on window onload event function addLoadEvent(func) { var oldonload = window.onload; if (typeof window.onload != 'function') { window.onload = func; } else { window.onload = function () { oldonload(); func(); } } }
Version data entries
68 entries across 68 versions & 4 rubygems