How to zoom image on mouseover at some XY coordinate in JSF?

Posted by Paul on Stack Overflow See other posts from Stack Overflow or by Paul
Published on 2010-04-05T05:18:25Z Indexed on 2010/04/05 5:23 UTC
Read the original article Hit count: 247

Filed under:

This is the code I use to display images.

<t:dataList  var="item" value="#{occasionBean.messageInfo}" layout="simple">
    <h:commandLink action="#{occasionBean.selectedImage}"  >
        <h:graphicImage styleClass="thumbnail"  width="100" height="100" 
            url="#{item.imageSnapUrl}"  
                    onclick="return setMsgId(this.id,#{item.img_id},'#{item.imageUrl}');"
                id="test" onmouseover="" onmouseout="">
        </h:graphicImage>
    </h:commandLink>
 </t:dataList> 

Please give some solution.

© Stack Overflow or respective owner

Related posts about jsf