<kbd id="afajh"><form id="afajh"></form></kbd>
<strong id="afajh"><dl id="afajh"></dl></strong>
    <del id="afajh"><form id="afajh"></form></del>
        1. <th id="afajh"><progress id="afajh"></progress></th>
          <b id="afajh"><abbr id="afajh"></abbr></b>
          <th id="afajh"><progress id="afajh"></progress></th>

          TextArea Resizer

          聯(lián)合創(chuàng)作 · 2023-10-02 11:35

          * Added live demo page (url at bottom of page)

          This project allows the user to extend the textarea element/area within the web page whenever they feel.

          I noticed this functionality when adding a plugin to this website, I guess it's not used that often on other websites.

          It is part of the Drupal code, although I haven't much experience with Drupal.

          I found it useful and could see an immediate use for it on one of the web applications that I use (Tridion).

          Anyway, I decide to spend a few minutes (it was a quick conversion) and turn the functionality in to a jQuery plugin (I couldn't see it in the repository).

          To use it you'll need to add the usual jQuery javascript and the plugin to your web page HEAD section:

          <script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>
          <script type="text/javascript" src="jquery.textarearesizer.compressed.js"></script>

           

          And then add a little style sheet information:

          <style type="text/css">
          div.grippie {
          background:#EEEEEE url(grippie.png) no-repeat scroll center 2px;
          border-color:#DDDDDD;
          border-style:solid;
          border-width:0pt 1px 1px;
          cursor:s-resize;
          height:9px;
          overflow:hidden;
          }
          .resizable-textarea textarea {
          display:block;
          margin-bottom:0pt;
          width:95%;
          height: 20%;
          }
          </style>

           

          Finally, it's a simple case of activating it against a given element set:

          <script type="text/javascript">
          /* jQuery textarea resizer plugin usage */
          $(document).ready(function() {
          $('textarea.resizable:not(.processed)').TextAreaResizer();
          });
          </script>

           

          An example is included in the release.

          * Please note that it also uses a tiny 'png' image, although it's entirely optional as this is part of the example style sheet (as seen in the Drupal version).

          Enjoy!

          My other projects include:
          Bounce - http://plugins.jquery.com/project/Bounce
          Hover Image Text - http://plugins.jquery.com/project/HoverImageText

          瀏覽 23
          點贊
          評論
          收藏
          分享

          手機掃一掃分享

          編輯 分享
          舉報
          評論
          圖片
          表情
          推薦
          點贊
          評論
          收藏
          分享

          手機掃一掃分享

          編輯 分享
          舉報
          <kbd id="afajh"><form id="afajh"></form></kbd>
          <strong id="afajh"><dl id="afajh"></dl></strong>
            <del id="afajh"><form id="afajh"></form></del>
                1. <th id="afajh"><progress id="afajh"></progress></th>
                  <b id="afajh"><abbr id="afajh"></abbr></b>
                  <th id="afajh"><progress id="afajh"></progress></th>
                  国精产品秘 成人一区二视频 | 男人激情天堂 | 精品欧美一级片大片AAAA级 | 自拍超碰在线 | 开心色播五月天 |