|
Subject: document.write & copy-of From: Lee Goddard <home@xxxxxxxxxxxxxx> Date: Thu, 26 Oct 2000 10:48:30 +0100 |
I'm trying to get a JS function to pop-up a window
and write into it a copy of a node. Could someone
please give me a hand, let me know where I'm going
wrong? The window opens, but nothing writes....
Thanks in anticipation,
Lee
<xsl:template match="table">
<TABLE class="content" width="90%" border="1" cellpadding="4" cellspacing="0">
<xsl:copy-of select="tr"/>
</TABLE>
<P align="right" class="table_footer">
<xsl:element name="A">
<xsl:attribute name="href">
javascript:Popup=window.open('','IntlPopup','alwaysRaised=1,dependent=1,height=300,location=0,menubar=1,personalbar=0,scrollbars=0,status=0,toolbar=0,width=590,resizable=0');
Popup.focus();
Popup.document.write('
<TABLE>
<xsl:copy-of select="tr"/>
</TABLE>
');
</xsl:attribute>
Enlarge this table
</xsl:element>
</P>
</xsl:template>
[END]
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: How to &&, Albert Tsun | Thread | Re: document.write & copy-of, Mike Brown |
| Re: MathML tags in an attribute of , Jeni Tennison | Date | Re: How to &&, Albert Tsun |
| Month |