After clicking on any navigation link in navgation and whenever that page will be open then one active class will be added in that element. $(document).ready(function(){ var a = $('.navbar-nav a'); a.each(function(){ if(window.location.href == $(this).attr('href')){ $(this).closest('li').addClass('active'); } }) })
Tag: Windows Server
Typically windows server has no built-in backup transfer system via SSH or FTP/SFTP. They can only take backup and transfer to another windows machine. But in the age of cloud computing we need portablity of data. Anywhere I can put or get data. So from this sense I tried to get some handy tools which will do a perfect trick for me. For my windows server I love rsync very much. It’s lovely. I like it’s awesomeness. Also for windows …