xsl-list
[Top] [All Lists]

Subject: RE: using the href attribute

2003-06-16 03:12:38
"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(_at_)Jabil(_dot_)com>
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({(_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


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



<Prev in Thread] Current Thread [Next in Thread>
  • Subject: RE: using the href attribute, Neil Smith <=