Subject: RE: [xsl] using the href attribute

Subject: Subject: RE: [xsl] using the href attribute
From: Neil Smith <neil@xxxxxxxxxxxxxxx>
Date: Mon, 16 Jun 2003 11:12:38 +0100
"Any idea what's wrong with this?"

Yes - this is a basic javascript syntax problem, you need to read some basic javascript documentation cause your window.open() call is not correct javascript.

View source on most web pages to get the correct function syntax (I'm not gonna tell you what's wrong, you need to figure it out for yourself).

Cheers - Neil.

At 00:38 16/06/2003 -0400, you wrote:
Date: Fri, 13 Jun 2003 16:32:00 -0400
From: "Kathy Burke" <Kathy_Burke@xxxxxxxxx>
Subject: RE: [xsl] using the href attribute

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


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list


Current Thread