Top Navigation XSLT code for Custom Navigation Module
One problem when using the Custom Navigation module in Office Live is the inability to switch to a horizontal layout. By default, it uses a left navigation layout. Changing the NavType to TOP from LEFT in the XSLT code apparently has no effect either. Microsoft should really fix this, but it seems unlikely that will happen any time soon. We promised avd a little more than a month ago that we will have the code for it, but we didn’t get around to doing it until this weekend. So, without further adieu, here is the XSLT code for setting up a horizontal navigation bar with the Custom Navigation module:
- Download topnav.xsl and upload it to the Document Gallery.
- Add a Custom Navigation module to your web page, then go to Properties. Click on Link to an XSLT file. Click on the Select file… button and pick topnav.xsl from the list. Click OK.
- View the web page. You will see a horizontal navigation bar generated from the Custom Navigation module.

awesome .. THANK YOU
Thanks much.. A real help.. kudos
If you ever need a free VO, look us up..
How do I center the text on the topnav code?
@Donald: You will need to open topnav.xsl in a text editor, then look for the
You were reading my mind!