The following example will allow you to hide the different portions of a WSS 3.0 or MOSS site. In particular the left navigation bar, the top navigation bar, the breadcrumb trail and the top banner. Remember if you hide all of the zones, you will need to implement your own navigation. This will only hide the zones on a single web. There are ways to do this for every future site that is created but that is beyond the scope of this post.
1. Add a Content Editor Web Part to your page.
2. Edit the content of the web part, specifically the source editor.
3. Add the java script below:
<style>
.ms-nav, .ms-globalTitleArea, .ms-bannerframe, .ms-globalbreadcrumb
{
display: none;
}
</style>
4. The final thing you’ll want to do it set the web part to hidden.
Moss has a few other components you can hide. I’ll make another post shortly that will allow you to easily find out which style you would need to hide addition MOSS features.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment