Changeset 1712 for cpc/trunk/project/web


Ignore:
Timestamp:
Oct 10, 2010, 3:16:12 AM (11 years ago)
Author:
popeye
Message:

Mieux dans le js général

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpc/trunk/project/web/js/fonctions.js

    r1661 r1712  
    8181      document.location = constructLien(url.replace(/.*#date=/, ''));
    8282  }
     83  // Redimensionnement automatique des textareas
     84  $('textarea').scroll(function() {
     85    textarea_height = $(this).height();
     86    $(this).height(textarea_height + 10);
     87  });
    8388
    8489}); // fin document ready
Note: See TracChangeset for help on using the changeset viewer.