Sha256: 185957558efc2e666978c2daa89fa6523150a4a6cbee2829ff266d77a2b4c6f2

Contents?: true

Size: 1.19 KB

Versions: 19

Compression:

Stored size: 1.19 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

19 entries across 19 versions & 1 rubygems

Version Path
j1-template-2024.0.0 assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html
j1-template-2023.10.2 assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html
j1-template-2023.10.1 assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html
j1-template-2023.10.0 assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html
j1-template-2023.9.2 assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html
j1-template-2023.9.1 assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html
j1-template-2023.9.0 assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html
j1-template-2023.8.2 assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html
j1-template-2023.8.1 assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html
j1-template-2023.8.0 assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html
j1-template-2023.7.0 assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html
j1-template-2023.6.0 assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html
j1-template-2023.5.2 assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html
j1-template-2023.4.5 assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html
j1-template-2023.4.4 assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html
j1-template-2023.4.3 assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html
j1-template-2023.4.2 assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html
j1-template-2023.4.1 assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html
j1-template-2023.4.0 assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html