按钮在richFaces中缩放onMouseover

时间:2012-12-17 05:48:15

标签: richfaces

以下代码如何在richFaces中添加onmouseover功能

 <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> 

1 个答案:

答案 0 :(得分:0)

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