Logo Home   Documents and Lists   Create   Site Settings   Help    Up to The Great Shark Hunt
Web Part Page Title Bar image
A short list of how things are done around here
Features of the Site

This is just a rundown of the features of this site, and how some things are done. This is very much like learning the secrets of the magician except this is a public SharePoint site and not a Fox TV special.

For the record, this is an externally hosted site (via WebHost4Life) and as such, I do not have access to the 60 hive or the server in any way (except through FTP and the SharePoint Web Interface) so customization is limited.

This doesn't mean however I'm completely cut-off. With some tricks using CSS, the infamous Content Editor Web Part (CEWP), and some other goodies we can achieve a little SharePoint magic.

Home Page

The Home Page has a few features to note:

Quick Launch and Main Navigation Menus

This is hidden from view using a simple CSS style. We override the style of . and set the display to none using this code:

<style>
.ms-navframe {
  display: none;
}
</style>

This effectively hides the Quick Launch from viewing in the browser, even though it's really there.

A similar trick is used to hide the Documents and Lists, Create, and Site Settings menu from the top navbar. In this case, we use the ID of the elements and hide those with this code:

<script language="JavaScript">
  document.getElementById('onettopnavbar1002-1').style.visibility='hidden';
  document.getElementById('onettopnavbar1002-2').style.visibility='hidden';
  document.getElementById('onettopnavbar1002-3').style.visibility='hidden';
  document.getElementById('onettopnavbar1002-4').style.visibility='hidden';
</script>

Simple but effective.