[ Index ]
 

Code source de Seagull 0.6.1

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/tinyfck/plugins/paste/jscripts/ -> pastetext.js (source)

   1  function saveContent() {
   2      if (document.forms[0].htmlSource.value == '') {
   3          tinyMCEPopup.close();
   4          return false;
   5      }
   6  
   7      tinyMCEPopup.execCommand('mcePasteText', false, {
   8          html : document.forms[0].htmlSource.value,
   9          linebreaks : document.forms[0].linebreaks.checked
  10      });
  11  
  12      tinyMCEPopup.close();
  13  }
  14  
  15  function onLoadInit() {
  16      tinyMCEPopup.resizeToInnerSize();
  17  
  18      resizeInputs();
  19  }
  20  
  21  var wHeight=0, wWidth=0, owHeight=0, owWidth=0;
  22  
  23  function resizeInputs() {
  24      if (!tinyMCE.isMSIE) {
  25          wHeight = self.innerHeight-80;
  26          wWidth = self.innerWidth-17;
  27      } else {
  28          wHeight = document.body.clientHeight-80;
  29          wWidth = document.body.clientWidth-17;
  30      }
  31  
  32      document.forms[0].htmlSource.style.height = Math.abs(wHeight) + 'px';
  33      document.forms[0].htmlSource.style.width  = Math.abs(wWidth) + 'px';
  34  }


Généré le : Fri Mar 30 01:27:52 2007 par Balluche grâce à PHPXref 0.7