[ Index ]
 

Code source de vtiger CRM 5.0.2

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

title

Body

[fermer]

/include/fckeditor/editor/css/behaviors/ -> anchors.htc (source)

   1  <public:component lightweight="true">
   2  
   3  <public:attach event="oncontentready" onevent="ShowIcon()" />
   4  <public:attach event="ondoubleclick" onevent="EditAnchor()" />
   5  
   6  <script language="javascript">
   7  
   8  var bIsAnchor = this.name.length > 0 && this.getAttribute('href').length == 0 ;
   9  
  10  function ShowIcon()
  11  {
  12      if ( bIsAnchor )
  13      {
  14          this.runtimeStyle.height = '1px' ;
  15          this.runtimeStyle.paddingLeft        = '16px' ;
  16          this.runtimeStyle.backgroundImage    = 'url(' + window.parent.FCKConfig.FullBasePath + 'css/behaviors/anchor.gif)' ;
  17          this.runtimeStyle.backgroundRepeat    = 'no-repeat' ;
  18          this.runtimeStyle.cursor = 'hand' ;
  19      }
  20  }
  21  
  22  function EditAnchor()
  23  {
  24      if ( bIsAnchor )
  25          alert( this.outerHTML ) ;
  26  }
  27  
  28  </script>
  29  
  30  </public:component>


Généré le : Sun Feb 25 10:22:19 2007 par Balluche grâce à PHPXref 0.7