Search code examples
richfaces

Button zoom onMouseover in richFaces


For the below code how to add onmouseover functionality in richFaces

 <a4j:region id="auditbutton">                      
 <a4j:commandButton id="audit" image="images/audit.png" 
    action="#{agentBean.retrieveAuditInformation}"  oncomplete="javascript:popopen()"  status="ajaxStatus"> 
<rich:toolTip for="audit" value="View History" direction="top-left" styleClass="tooltip"/>  
       </a4j:commandButton> 

Solution

  • <a4j:commandButton ...... onmouseover="this.width = this.width + 5;" onmouseout="this.width = this.width - 5;">