How to

The menu is on the left and it will remain opened when a link is clicked

$(document).ready(function () {
    $('#test').BootSideMenu({
        side: "left",
        closeOnClick: false
    });
});

There are some interesting events you can use with your menu

onTogglerClick: function () {
    //code to be executed when the toggler arrow was clicked
},
onBeforeOpen: function () {
    //code to be executed before menu open
},
onBeforeClose: function () {
    //code to be executed before menu close
},
onOpen: function () {
    //code to be executed after menu open
},
onClose: function () {
    //code to be executed after menu close
},
onStartup: function () {
    //code to be executed when the plugin is called
}

See these in action in the next example.