Author: ochikvina
Date: 2009-05-26 08:20:29 -0400 (Tue, 26 May 2009)
New Revision: 14327
Modified:
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/jQuery.xml
Log:
https://jira.jboss.org/jira/browse/RF-7016 - the rich:jQuery usage example is corrected;
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/jQuery.xml
===================================================================
---
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/jQuery.xml 2009-05-26
12:04:43 UTC (rev 14326)
+++
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/jQuery.xml 2009-05-26
12:20:29 UTC (rev 14327)
@@ -283,10 +283,10 @@
back to the normal size on mouse out:</para>
<programlisting role="XML"><![CDATA[...
- <h:graphicImage onmouseover="enlargePic(this)" width="50"
value="/images/price.png"
- onmouseover="enlargePic(this, {pwidth:'60px'})"
onmouseover="releasePic(this)" />
- <h:graphicImage onmouseover="enlargePic(this)" width="50"
value="/images/discount.png"
- onmouseover="enlargePic(this, {pwidth:'100px'})"
onmouseover="releasePic(this)" />
+ <h:graphicImage width="50" value="/images/price.png"
+ onmouseover="enlargePic(this, {pwidth:'60px'})"
onmouseout="releasePic(this)" />
+ <h:graphicImage width="50" value="/images/discount.png"
+ onmouseover="enlargePic(this, {pwidth:'100px'})"
onmouseout="releasePic(this)" />
...
<rich:jQuery name="enlargePic" timing="onJScall"
query="animate({width:param.pwidth})" />
<rich:jQuery name="releasePic" timing="onJScall"
query="animate({width:'50px'})"/>