My Account   Contact Us    
  
» HomeProductsSupportDeveloper CommunityCompany
Applying background color and text color to ActivEdit

The ActivEdit API makes it possoble to customize an instance of ActivEdit.


The Activedit API(Application Programming Interface) supplies events that can be used to customize an instance of Activedit. The following function uses the aeapi_local_onLoad() event to apply the document body background and text colors to an instance of Activedit in a form.

function aeapi_local_onLoad(aeObject, fieldname) {
    aeObject.DOM.body.style.backgroundColor = "#application.bodybackgroundcolor#";
       aeObject.DOM.body.style.color = "#application.textColor#";
    }

The above example uses the application variables defined in a ColdFusion application.cfm. You could also use local variables or constants.

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