Thanks a ton solprovider. That solved all the issues regarding my problem

thank you once again.

regards,

Anshuman



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, November 21, 2005 11:42 PM
To: [email protected]
Subject: Re: info about links on page


On 11/21/05, Roy, Ansuman <[EMAIL PROTECTED]> wrote:
> many many thanks solprovider
> your solution solved my query but the second solution is nt working
> i.e. the hyperlink to the new page created in not forming on the parent page
>
> how to go about and do it??

Sorry.  I developed and tested using my revised menu.xsl.  The default
menu.xsl is more difficult to extend.  Where you want the menu, add
this line:
 <xsl:apply-templates select="xhtml:[EMAIL PROTECTED] =
'menu']//xhtml:div[starts-with(@class,'menuitem-selected-')]/../xhtml:div[starts-with(@class,
'menublock-')]" mode="onelevel"/>

Add these templates to your XSL:
<xsl:template match="xhtml:div" mode="onelevel">
<xsl:apply-templates select="xhtml:div/xhtml:a" mode="onelevel"/>
</xsl:template>
<xsl:template match="xhtml:a" mode="onelevel">
<div class="onelevel"><xsl:apply-templates select="."/></div>
</xsl:template>

Add some CSS for the new menu:
.onelevel { background-color: #CCFFCC; }
.onelevel a {
    text-decoration: none;
    color: #FF6666;
}

solprovider

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to