Return-Path: Delivered-To: apmail-lenya-user-archive@www.apache.org Received: (qmail 55920 invoked from network); 8 Nov 2007 15:46:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Nov 2007 15:46:20 -0000 Received: (qmail 5749 invoked by uid 500); 8 Nov 2007 15:46:08 -0000 Delivered-To: apmail-lenya-user-archive@lenya.apache.org Received: (qmail 5496 invoked by uid 500); 8 Nov 2007 15:46:08 -0000 Mailing-List: contact user-help@lenya.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@lenya.apache.org Delivered-To: mailing list user@lenya.apache.org Received: (qmail 5482 invoked by uid 99); 8 Nov 2007 15:46:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Nov 2007 07:46:08 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gcclu-lenya-user@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Nov 2007 15:46:08 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Iq9Zb-0002J6-Vc for user@lenya.apache.org; Thu, 08 Nov 2007 15:45:39 +0000 Received: from cust.static.84-253-63-109.cybernet.ch ([84.253.63.109]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 08 Nov 2007 15:45:39 +0000 Received: from andreas by cust.static.84-253-63-109.cybernet.ch with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 08 Nov 2007 15:45:39 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: user@lenya.apache.org From: Andreas Hartmann Subject: Re: Betr.: Re: How to call External Javascript from xhtml2xhtml.xsl? Date: Thu, 08 Nov 2007 16:45:30 +0100 Lines: 94 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cust.static.84-253-63-109.cybernet.ch User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) In-Reply-To: Sender: news X-Virus-Checked: Checked by ClamAV on apache.org Hi Geert, Geert Verhaag schrieb: > Thanks for the link to the resources. By the way I use Lenya 1.2! Okay, > I've put the following basic > function into MYPUB/resources/javascript: I assume you put it in the file resources/javascript/myscript.js? Did you try to access this file in the browser? -- Andreas > > function myfunction() > { > var tekst= 'Hello!'; > document.write(tekst); > } > > The link Test doesn't seem to > work however, at least it doesn't show me the word Hello! > > The error console of FireFox, the browser I prefer to use, contains the > message: myfunction is not defined! > > Regards, > Gerard > >>>> thorsten.scherler.ext@juntadeandalucia.es 08/11/2007 13:22 >>> > On Thu, 2007-11-08 at 13:10 +0100, Geert Verhaag wrote: >> Dear Lenya'rs, >> >> I'm struggling with calling an external Javascript from within the >> xhtml2xhtml.xsl file. >> >> The following is a new match I've added to it: >> >> >>

>>