Sha256: a7f46deeaaa14c1bddf2d5771728db44dc5540b6f52c9cf9e160dd5ab2ad5c6b

Contents?: true

Size: 1.37 KB

Versions: 12

Compression:

Stored size: 1.37 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', 'timeoutPopup');
        }, 600);
        return false;
      });

      $('#openWindowWithLongerTimeout').click(function(){
        setTimeout(function(){
          window.open('/popup_one', 'longerTimeoutPopup');
        }, 1400);
        return false;
      });

      $('#openTwoWindows').click(function() {
        window.open('/popup_one', 'firstPopup');
        window.open('/popup_two', 'secondPopup');
        return false;
      });

      $('body').addClass('loaded');
    });
    </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

12 entries across 10 versions & 3 rubygems

Version Path
tdiary-5.0.5 vendor/bundle/gems/capybara-2.13.0/lib/capybara/spec/views/with_windows.erb
tdiary-5.0.5 vendor/bundle/gems/tdiary-5.0.4/vendor/bundle/gems/capybara-2.13.0/lib/capybara/spec/views/with_windows.erb
tdiary-5.0.5 vendor/bundle/gems/capybara-2.14.3/lib/capybara/spec/views/with_windows.erb
capybara-2.14.4 lib/capybara/spec/views/with_windows.erb
capybara-2.14.3 lib/capybara/spec/views/with_windows.erb
capybara-2.14.2 lib/capybara/spec/views/with_windows.erb
capybara-2.14.1 lib/capybara/spec/views/with_windows.erb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/capybara-2.14.0/lib/capybara/spec/views/with_windows.erb
capybara-2.14.0 lib/capybara/spec/views/with_windows.erb
tdiary-5.0.4 vendor/bundle/gems/capybara-2.13.0/lib/capybara/spec/views/with_windows.erb
capybara-2.13.0 lib/capybara/spec/views/with_windows.erb
capybara-2.12.1 lib/capybara/spec/views/with_windows.erb