I having difficulties initializing a DIV to hidden. See the bold line below, it generates the following script error:
Effect[pm.type] is not a constructor
processEffect(Object type=Blind targetId=formInstructions)processEffect.js (line 6)
bindedFunction(load )Account.jsp (line 692)
bindAsEventListener(load )a4j_3_1_4.GAorg.a... (line 217)
wrapper(load )a4j_3_1_4.GAorg.a... (line 3850)
[Break on this error] new Effect[pm.type]($(pm.targetId),pm);
<table> <tr><td align="right"> <a4j:commandLink id="showFormInstructionsSection" styleClass="tlbl" onmouseover="overlib('#{commonBundle.bubbleHelpShowFormInformation}')" onmouseout="nd()" oncomplete="showDiv()" action="#{portFolioAction.formInstructionsToggle}" reRender="hideFormInstructionsSection"> <h:outputText value="Show"> </h:outputText> <f:param value="false" name="retrieveData"/> </a4j:commandLink> </td> <td align="right"> <a4j:commandLink id="hideFormInstructionsSection" styleClass="tlbl" onmouseover="overlib('#{commonBundle.bubbleHelpHideFormInformation}')" onmouseout="nd()" oncomplete="hideDiv()" action="#{portFolioAction.formInstructionsToggle}" reRender="showFormInstructionsSection"> <h:outputText value="Hide"> </h:outputText> <f:param value="false" name="retrieveData"/> </a4j:commandLink> </td></htm:tr> </htm:table> <rich:effect name="hideDiv" for="formInstructions" type="BlindUp"/> <rich:effect name="showDiv" for="formInstructions" type="BlindDown"/> <rich:effect for="window" event="onload" type="Blind" params="targetId:'formInstructions',duration:0.8,from:0.3,to:1.0" /> <div id="formInstructions"> ..... </div>