Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
365
Webtextedit Mousemove event in XSLT
posted

Hi, I need help please.

No clue in xml & WebtextEdit, I am editing an xslt stylesheet that creates asp controls.

Below is the WebTextEdit control, I want to add an mousemove event:

       <xsl:element name="igtxt:WebTextEdit">
            <xsl:attribute name='id'><xsl:value-of select='$Name' /></xsl:attribute>
            <xsl:attribute name='runat'>server</xsl:attribute> 
     <xsl:attribute name='Text'><xsl:value-of select='$Value' disable-output-escaping="yes" /></xsl:attribute>                                                      <xsl:attribute name='MouseMove'>"<xsl:value-of select='@name' />".style.color = '#006AB6';</xsl:attribute>
     <xsl:for-each select="$Attributes/Attribute">
              <xsl:if test=". != ''">
                <xsl:attribute name='{@name}'><xsl:value-of select='.' /></xsl:attribute>
              </xsl:if>
            </xsl:for-each>
            <xsl:copy-of select="$Events" />
          </xsl:element>

The code works to change the style as it works on other objects.

Please assist with how i can add a mouseover event to WebTextEdit control

 

Parents Reply Children
No Data