Ahhh, but I need to use a javascript to size the window, etc.
Any idea what's wrong with this?
<a href="javascript:openWindow({(_at_)url})">
Script is in html <head> section:
<msxsl:script language="javascript" implements-prefix="kb"><![CDATA[
function openWindow()
{
window.open(), 'Link Window', 'toolbar=1, menubar=1 resizable=1,
dependent=0
width=400, height=300, left=25, top=25')
}
]]>
</msxsl:script>
thanks, Ken.
kathy
-----Original Message-----
From: G. Ken Holman [mailto:gkholman(_at_)CraneSoftwrights(_dot_)com]
Sent: Friday, June 13, 2003 3:29 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] using the href attribute
At 2003-06-13 14:39 -0400, Kathy Burke wrote:
I have a <link> element with an "href" attribute.
I apply this template and my html page works to open up the link -- but in
the same browser window.
...
Since I need the link to open into a new browser window...
When I need to do this I use <a target="_blank" href="{(_at_)uri}">
I hope this helps.
.......................... Ken
--
Upcoming hands-on courses: (registration still open!)
- (XSLT/XPath and/or XSL-FO) North America: June 16-20, 2003
G. Ken Holman mailto:gkholman(_at_)CraneSoftwrights(_dot_)com
Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995)
ISBN 0-13-065196-6 Definitive XSLT and XPath
ISBN 0-13-140374-5 Definitive XSL-FO
ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath
ISBN 1-894049-11-X Practical Formatting Using XSL-FO
Member of the XML Guild of Practitioners: http://XMLGuild.info
Male Breast Cancer Awareness http://www.CraneSoftwrights.com/s/bc
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list