Difference between revisions of "Template:Team:DTU-Denmark/header.html"

Line 415: Line 415:
 
    var show_current_sub = function(){
 
    var show_current_sub = function(){
 
    var current_url = window.location.href
 
    var current_url = window.location.href
 +
          current_url = current_url.split("#")[0]
 
    var search_name = "a[href=\'" + current_url + "\']"
 
    var search_name = "a[href=\'" + current_url + "\']"
 
    var position_link = document.querySelectorAll(search_name);
 
    var position_link = document.querySelectorAll(search_name);

Revision as of 04:31, 24 August 2016

New HTML template for the wiki