cancel
Showing results for 
Search instead for 
Did you mean: 

How to remove Left Navigation Bar from xMII Portal

Former Member
0 Kudos

Hi Experts

when we open portal then Left Navigation bar by default is there but we can remove.

But I want that this Navigation bar by default is remove.

How it is possible

Thanks

Lipsa S

Accepted Solutions (0)

Answers (2)

Answers (2)

jcgood25
Active Contributor
0 Kudos

Lipsa,

Ryan's solution will eliminate the Nav tree by default, however, it will render it useless entirely. It this is your requirement then 1 to 0 on line 15 will do the trick.

If the users need this for navigation, then maybe a bit of training for them to press the 'X' button to maximize horizontal space might be a better alternative.

Another programmatic alternative would be to add the following section of code in a javascript section in the head of whatever default page shows up in the iframe on the right-hand side:

//Used to auto hide the navigation tree
if (parent.document.getElementById("NavigationArea") != null) {
	parent.document.getElementById("NavigationArea").style.display = "none";
	parent.document.getElementById("DisplayArea").width = "100%";
}

By keeping this if statement out of a javascript function the page will auto hide the navigation tree as if the 'X' button was pressed for them. (the script content is the same logic that the home page uses).

Regards,

Jeremy

Former Member
0 Kudos

Check out line 15 or 16 in the DynamicHomePage.xsl file in %webroot%\Illumuniator\Themes.