xsl translation in javascript frame
Here's my XSL:
<xsl:template match="Description">
<xsl:choose>
<xsl:when test="../HelpFile != true()">
<xsl:value-of select="." />
</xsl:when>
<xsl:otherwise>
<script language="javascript">
function test(parm)
{
parent.test(parm)
}
</script>
<xsl:value-of select="." /><xsl:text> </xsl:text><input value="Info"
type="button" onclick="test('hello')" />
</xsl:otherwise>
</xsl:choose>
</xsl:template>
This XSL is being transformed inside of a frame by some html/javascript code
Unfortunately, the test() function seems to "think" it's not within a frame
so parent returns "this" window.
Anyone have any possible solutions for this?
What I'm trying to do is ultimately have the parent window display HTML in a
different frame than what the XSL transformation is taking place in.
Thanks,
Jaz
P.S.
I'd rather use a anchor tag than the button but I can't seem to get that to
work in a different frame.
--
-Jaz
Jazz Guitar Site: http://www.*-*-*.com/