65.9K
CodeProject is changing. Read more.
Home

Outlook Style Menu With Collapse Side Menu

starIconstarIcon
emptyStarIcon
starIcon
emptyStarIconemptyStarIcon

2.40/5 (21 votes)

Jul 11, 2006

CPOL
viewsIcon

115103

downloadIcon

3406

Very good outlook style menu with collapse side menu

Sample Image - collapse_menu.png

Introduction

I have read an "BalaNet" article at  http://www.codeproject.com/useritems/XPMenu.asp  which explains the dropdown xp style menu  that the great work

Just I would like to add new features,

1-Collapse side menu.

2-Change the xp style menu in to Outlook style bar.(Using CSS File "SlideMenu.css")

I think that most developers suffer from the problem of the design of the menu,needs thier application GUI like Outlook or XP Style,

Therefore I think that this menu provide solution .


Source code contain to

    * SlideMenu.css file
    * menu.js file


Import Css file in your page

<LINK href="SlideMenu/images/SlideMenu.css" type="text/css" rel="stylesheet">


Collaps side menu feature permit to hide side menu from page as a client script

Hide menu function:

<script type="text/javascript">

function lefthide() {

var fr = parent.document.getElementById("sbCont");

if(fr.style.display==""){

fr.style.display="none";

change('outlookside', 'outlookBarExpand')

}

else{

fr.style.display="";

change('outlookside', 'outlookBarcollapse')

}

}

function change(id, newClass) {

identity=document.getElementById(id);

identity.className=newClass;

}

</script>



I hope that I have succeeded in making this article and i wish to be useful