Vikrant's Demo for Open sidebar window with jQuery

http://stackoverflow.com/questions/29484126/open-sidebar-window-with-jquery

HTML

<div id="wrap">
    <div id="menux">
        <p>Here is your Direction and Store content</p>
    </div>
    <div id="icox">
        <img src="http://porschedvd.de/bluptest/umg/wp-content/uploads/2014/05/lup.png" />
    </div>
</div>

CSS

#menux {
    float: left;
    margin-left: -360px;
    padding: 15px;
    height: 100%;
    width: 320px;
    background: #eff0f1;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    overflow: auto;
}
#icox {
    float: left;
    width: 60px;
    height: 60px;
    background-color: rgb(218, 218, 218);
}
#menux.active {
    margin-left: 0;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

JavaScript

$('#icox').on('click', function () {
    $(this).children().toggleClass('active');
    $('#menux').toggleClass('active');
});