Subject: RE: [xsl] using the href attribute From: "Kathy Burke" <Kathy_Burke@xxxxxxxxx> Date: Fri, 13 Jun 2003 16:32:00 -0400 |
Ahhh, but I need to use a javascript to size the window, etc. Any idea what's wrong with this? <a href="javascript:openWindow({@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@xxxxxxxxxxxxxxxxxxxx] Sent: Friday, June 13, 2003 3:29 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx 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="{@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@xxxxxxxxxxxxxxxxxxxx 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] using the href attribute, Passin, Tom | Thread | Re: [xsl] using the href attribute, Oleg Tkachenko |
RE: [xsl] using the href attribute, Passin, Tom | Date | RE: [xsl] href problem...using CDAT, Martinez, Brian |
Month |