Sha256: 607d78ff4085020c857a64c7f8e781276848e98d4ce16ed15e2d765e1f938af6

Contents?: true

Size: 1.2 KB

Versions: 130

Compression:

Stored size: 1.2 KB

Contents

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    <title>iFrame message passing test 5</title>
    <meta name="description" content="iFrame message passing test 5" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="robots" content="noindex">
    <meta name="robots" content="nofollow">
    <style>
      a {
        float: right;
        margin-left: 10px;
      }
    </style>
  </head>

  <body>
    <b>iFrame TextArea Example</b>
    <a href="frame.content.html">Back to page 1</a>

    <p>
      Resize the textarea below.
    </p>

    <textarea id="textArea">Resize me</textarea>

    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
    <script src="../js/client/iframeResizer.contentWindow.min.js"></script>

    <script>
      function store() {
        this.x = this.offsetWidth
        this.y = this.offsetHeight
      }

      $('textarea')
        .each(store)
        .on('mouseover mouseout', function() {
          if (this.offsetWidth !== this.x || this.offsetHeight !== this.y) {
            if ('parentIFrame' in window) parentIFrame.size()
            store.call(this)
          }
        })
    </script>
  </body>
</html>

Version data entries

130 entries across 130 versions & 1 rubygems

Version Path
j1-template-2023.0.10 assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html
j1-template-2023.0.9 assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html
j1-template-2023.0.8 assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html
j1-template-2023.0.7 assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html
j1-template-2023.0.6 assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html
j1-template-2023.0.5 assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html
j1-template-2023.0.3 assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html
j1-template-2023.0.2 assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html
j1-template-2023.0.1 assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html
j1-template-2023.0.0 assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html
j1-template-2022.6.3 assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html
j1-template-2022.6.2 assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html
j1-template-2022.6.1 assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html
j1-template-2022.6.0 assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html
j1-template-2022.5.3 assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html
j1-template-2022.5.2 assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html
j1-template-2022.5.1 assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html
j1-template-2022.5.1.rc1 assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html
j1-template-2022.5.1.rc0 assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html
j1-template-2022.5.0 assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html