My Account   Contact Us    
  
» HomeProductsSupportDeveloper CommunityCompany
Add a signature to ActivEdit
Author: Greg Alton
Category: DHTML
This example adds a signature to an instance of ActivEdit when the Signature button is pressed.
<script language="JavaScript">

/* The signature function adds a signature to an instance of ActivEdit named content in this case, when the Signature button is pressed. */

  function signature(){
   var beforeChan = aeObjects.content.DOM.body.innerHTML;
   aeObjects.content.DOM.body.innerHTML = beforeChan + "<br>Greg Alton<br><b>CFDev.com</b>";
  }

</script>


<!-- The Signature button is added to the form that contains the instance of ActivEdit -->

<input type="button" value="Signature" onClick="signature()"> 


Content Management Powered by ActivEdit  ActivEdit Browser Based WYSIWYG HTML Editor

More Code Samples

Sign up for our newsletter: | Subscribe with RSS: RSS
© ActivSoftware 1999 to 2005 | Privacy Statement