Re: [Hypercontent-users] navagation
Brought to you by:
alexvigdor
From: Alex V. <av...@co...> - 2004-09-08 18:00:16
|
Hi Carl, You'll notice the logic starting on line 87 of the common.xsl stylesheet in that project: <xsl:choose> <xsl:when test="$onSelf"> <span style="{$style}"> <xsl:value-of select="@label"/> </span> </xsl:when> <xsl:otherwise> <xsl:call-template name="navigation-link"> <xsl:with-param name="style" select="$style"/> </xsl:call-template> </xsl:otherwise> </xsl:choose> This is checking whether the link belongs to the current page, and is just spitting out a span tag rather than a link in that case. If you want the link to appear regardless, you could replace the choose with just the contents of the otherwise: <xsl:call-template name="navigation-link"> <xsl:with-param name="style" select="$style"/> </xsl:call-template> Hope that helps! - Alex On Sep 8, 2004, at 3:47 AM, Carl Barrow wrote: > Hi Alex > > I have got everything else working fine now, just one outstanding > question that for some reason I can't pin point, as I said before it > might just be that my xsl is a bit limited at the moment and I need to > brush up on it. > > In the demo site you supplied, when you click on a menu link on the > published website that link will disappear, this is something that > people have asked for, but I will also need the links to stay there on > some sites. How would I did that? > > Thanks > Carl > > -- > ************************************ > > Carl Barrow > Web Developer > e-Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > ************************************ > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users > |