Author: jeremy Date: Mon Oct 11 05:57:48 2004 New Revision: 54576 Added: cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/resources/close.gif (contents, props changed) Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/resources/forms-advanced-field-styling.xsl Log: adding close control to help popup for browsers that do not support current setup
Added: cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/resources/close.gif ============================================================================== Binary file. No diff available. Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/resources/forms-advanced-field-styling.xsl ============================================================================== --- cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/resources/forms-advanced-field-styling.xsl (original) +++ cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/resources/forms-advanced-field-styling.xsl Mon Oct 11 05:57:48 2004 @@ -71,6 +71,7 @@ <xsl:template match="fi:help"> <xsl:variable name="id" select="generate-id()"/> <div class="forms-help" id="help{$id}" style="visibility:hidden; position:absolute;"> + <span style="float:right"><a href="#" onClick="helpWin{$id}.hidePopup();return false;"><img align="top" alt="close" src="{$resources-uri}/close.gif" height="6" width="6"/></a></span> <xsl:apply-templates select="node()"/> </div> <script type="text/javascript">