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

Version Path
druid-s-1.0.0 features/html/modal_1.html
druid-ts-1.2.6 features/html/modal_1.html
druid-ts-1.2.5 features/html/modal_1.html
druid-ts-1.2.4 features/html/modal_1.html
druid-ts-1.2.3 features/html/modal_1.html
druid-ts-1.2.2 features/html/modal_1.html
druid-ts-1.2.1 features/html/modal_1.html
druid-ts-1.2.0 features/html/modal_1.html
druid-ts-1.1.8 features/html/modal_1.html
druid-ts-1.1.7 features/html/modal_1.html
druid-ts-1.1.6 features/html/modal_1.html
druid-ts-1.1.5 features/html/modal_1.html
druid-ts-1.1.4 features/html/modal_1.html
druid-ts-1.1.3 features/html/modal_1.html
druid-ts-1.1.2 features/html/modal_1.html
druid-ts-1.1.1 features/html/modal_1.html
druid-ts-1.1.0 features/html/modal_1.html
page-object-1.2.0 features/html/modal_1.html
page-object-1.1.1 features/html/modal_1.html
page_object-1.1.3 features/html/modal_1.html