Sha256: ccd3b6e209d7bdf2b5f6ecb2839d8e8b83b4c57df6ec04bb8dbcb29e63d341d4
Contents?: true
Size: 1.32 KB
Versions: 10
Compression:
Stored size: 1.32 KB
Contents
<html> <head> <title>With Windows</title> <script src="/jquery.js" type="text/javascript" charset="utf-8"></script> <script language="javascript" type="text/javascript"> $(document).ready(function(){ $('#openWindow').click(function(){ window.open('/popup_one', 'firstPopup'); return false; }); $('#openWindowWithTimeout').click(function(){ setTimeout(function(){ window.open('/popup_one', 'firstPopup'); }, 600); return false; }); $('#openWindowWithLongerTimeout').click(function(){ setTimeout(function(){ window.open('/popup_one', 'firstPopup'); }, 1400); return false; }); $('#openTwoWindows').click(function() { window.open('/popup_one', 'firstPopup'); window.open('/popup_two', 'secondPopup'); return false; }); }); </script> </head> <body> <button id="openWindow">Open new window</button> <button id="openWindowWithTimeout">Open new window with timeout</button> <button id="openWindowWithLongerTimeout">Open new window with longer timeout</button> <button id="openTwoWindows">Open two windows</button> <button id="doesNotOpenWindows">Does not open windows</button> <iframe src="/frame_one" id="frameOne"></iframe> </body> </html>
Version data entries
10 entries across 10 versions & 4 rubygems