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
page-object-0.7.1 features/html/modal_1.html
page-object-0.7.0 features/html/modal_1.html
page-object-0.6.9 features/html/modal_1.html
page-object-0.6.8 features/html/modal_1.html
page-object-0.6.7 features/html/modal_1.html
page-object-0.6.6 features/html/modal_1.html
page-object-0.6.5 features/html/modal_1.html
page-object-0.6.4 features/html/modal_1.html
page-object-0.6.3 features/html/modal_1.html
page-object-0.6.2 features/html/modal_1.html
page-object-0.6.1 features/html/modal_1.html
page-object-0.6 features/html/modal_1.html
page-object-0.5.5 features/html/modal_1.html
page-object-0.5.4 features/html/modal_1.html
page-object-0.5.3 features/html/modal_1.html
page-object-0.5.2 features/html/modal_1.html
page-object-0.5.1 features/html/modal_1.html
page-object-0.5.0 features/html/modal_1.html
page-object-0.4.4 features/html/modal_1.html
page-object-0.4.3 features/html/modal_1.html