$(document).ready(function(){ var url = window.location.href; var str = url.substring(0, url.indexOf("help")); //No I18N var pat = str + "help/"; //No I18N "use strict";$("#vMenu").html('
  • Welcome to ADManager Plus
  • Technology Overview
  • Getting Started
  • Dashboard View
  • Configuring Domains
  • CSV Import
  • Active Directory Management
  • Office 365
  • Active Directory Reports
  • Workflow
  • Automation
  • Help Desk Delegation Overview
  • Active Directory Security Management
  • Admin Settings
  • Mobile App User Manual
  • Active Directory portable people search
  • Active Directory Explorer
  • Troubleshooting Tips
  • FAQ
  • Known Issues and Limitations
  • '); $("body").on('click', ".vertical-menu li.arrow a", function(event){ $(this).parent("li").toggleClass("in"); localStorage.setItem("dataid", $(this).parent("li").attr("data-id")); //No I18N }); $("body").on('click', ".vertical-menu li.book > a", function(event){ localStorage.setItem("dataid", $(this).parent("li").attr("data-id")); //No I18N event.stopImmediatePropagation(); }); if(localStorage.getItem("dataid") === null || localStorage.getItem("dataid") == "undefined"){ //sidebar menu function var k = window.location.pathname; var n = k.lastIndexOf("/") + 1; var m = k.slice(n); var v = $(".vertical-menu li a"); var anchr; $.each(v, function(index, item){ var temp = $(item).attr('href'); if(temp.indexOf(m) != -1){ anchr = item; $(anchr).parents("li.arrow").addClass('in'); } }) //sidebar ends }else{ var dataid = localStorage.getItem("dataid"); //No I18N $("li[data-id='"+dataid+"']").addClass('in'); $("li[data-id='"+dataid+"']").parents("li.arrow").addClass('in'); } //Clearing dataid in localstorage for sidemenu localStorage.setItem("dataid", ""); //No I18N });