well....it didn't want things to get too complicated......
this is an xslt file on a dnn page
so i didn't post all of the code.
basically...i'm just trying to figure out why i can't get the onblr to do exactly what the onclick does.
it seems the onblur is ignored. the onclick works.
here's the entire template:
</xsl:template>
<!-- this could obviously be expanded to properly handle multi-variant products -->
<xsl:template name="MultiVariant">
<xsl:param name="pName" select="aspdnsf:GetMLValue(Name)"></xsl:param>
<xsl:param name="pDescription" select="aspdnsf:GetMLValue(Summary)"></xsl:param>
<table border="1" width="160px" height="260px" cellpadding="4" cellspacing="0">
<tr>
<td align="left" valign="top">
<a onfocus='this.blur();' onmouseover="document.getElementById('PopUp').style.display = 'table' " onblur="document.getElementById('PopUp').style.display = 'none' ">
<xsl:value-of select="aspdnsf:LookupImage(ProductID, 'product', 'medium', 1)" disable-output-escaping="yes"/></a>
</td>
</tr>
<tr>
<td align="center"><font size="1"><xsl:value-of select= "aspdnsf:GetMLValue(Name)" disable-output-escaping="yes"/></font></td>
</tr>
<tr>
<td><table width="100%"><tr><td align="left"><font size="1"><xsl:value-of select= "aspdnsf:GetMLValue(VariantName)" disable-output-escaping="yes"/></font></td><td align="right"><font size="1">$<xsl:value-of select="format-number(aspdnsf:GetMLValue(Price), '##,###.00')"
disable-output-escaping="yes"/></font></td></tr></table></td>
</tr>
</table>
<div id='PopUp' style='display: none; position: absolute; left: 50px; top: 50px; border: solid black 1px; padding: 10px; background-color: rgb(255,255,225); text-align: justify; font-size: 12px; width: 300px;'>
<xsl:value-of select= "aspdnsf:GetMLValue(Name)" disable-output-escaping="yes"/>
<br />
<div style='text-align: right;'><a onmouseover='this.style.cursor="pointer" ' style='font-size: 12px;' onfocus='this.blur();' onclick="document.getElementById('PopUp').style.display = 'none' " ><span style="text-decoration: underline;">Close</span></a></div>
</div>
</xsl:template>