Friday, January 29, 2016

Hide top navigation and quick launch in SharePoint 2013

Hide top navigation and quick launch in SharePoint 2013,

<style type="text/css">

.main-topbar,
#siteIcon,
.search-area,
#s4-titlerow,
#sideNavBox{display:none !important;}
#contentBox {
    margin-left: 0;
}
div#s4-ribbonrow {
    height: auto !important;
    margin: 0;
}
#ActionDiv a {
    background: #f1f1f1 none repeat scroll 0 0;
    border: 1px solid #ccc;
    display: inline-block;
    margin-bottom: 5px;
    margin-right: 4px;
    padding: 3px 8px !important;
    text-align: center;
}
#ActionDiv {
    text-align: left;
}
</style>


Hope this helps!!!

Populate people picker field with logged in user in SharePoint using JS

Please use below code to populate people picker in SharePoint online, <script src="https://ajax.googleapis.com/ajax/libs/jquery/3....