Subject: Re: [xsl] Displaying one node at a time From: "Joris Gillis" <roac@xxxxxxxxxx> Date: Mon, 04 Jul 2005 20:42:15 +0200 |
How can I display one chunk at a time, for example, using a next link.
<xsl:template match="/"> <html> <head>title <script type="text/javascript"> function show(id) { var block=document.getElementsByTagName('div'); for (i=0;i < block.length;i++) { block[i].style.display='none'; } document.getElementById(id).style.display='block'; } </script> </head> <body onload="show('{//chunk/@id[1]}')"> <xsl:apply-templates/> </body> </html> </xsl:template>
regards, -- Joris Gillis (http://users.telenet.be/root-jg/me.html) Spread the wiki (http://www.wikipedia.org)
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Displaying one node at a time, Fadi Qutaishat | Thread | Re: [xsl] Displaying one node at a , Fadi Qutaishat |
[xsl] Displaying one node at a time, Fadi Qutaishat | Date | [xsl] Constructor functions & `cast, Frans Englich |
Month |