Sha256: 45353f73a87e979c19c7e0910454f91aa80ffbb16188c7e844178ca73b129c11
Contents?: true
Size: 797 Bytes
Versions: 88
Compression:
Stored size: 797 Bytes
Contents
<html> <head> <title>Modal 1</title> <script> function delay_action(other_function) { setTimeout(other_function, 3000); } function close_window() { window.returnValue = 22 window.close() } function modal1() { var retValue = window.showModalDialog( "modal_2.html", self, "status:no;resizable:Yes;help:no;maximize:no;minimize:no;scrollbars:no;"); } </script> </head> <body> <h2>Modal 1</h2> <h3>Close buttons</h3> <input id=close_window type=button onclick="close_window()" value="Close window"/> <input id=delayed_close type=button onclick="delay_action('close_window()')" value="Close window with delay" /> <h3>Nested modal</h3> <input id=launch_modal_button type=button onclick='return modal1();' value="Launch another modal"/> </body> </html>
Version data entries
88 entries across 88 versions & 7 rubygems