Difference between revisions of "Template:AUC TURKEY"

Line 78: Line 78:
 
     vertical-align:top;
 
     vertical-align:top;
 
}
 
}
#menu li:hover {
+
#menu li:hover, activePage {
 
     background-color:lightgray;
 
     background-color:lightgray;
 
}
 
}
Line 152: Line 152:
 
         }
 
         }
 
     );
 
     );
 +
var pathname = window.location.pathname.split("/").pop();
 +
switch(pathname)
 +
{
 +
    case "":
 +
        $("#menu ul:nth-child(0)").addClass("activePage");
 +
}
 
});
 
});
 
</script>
 
</script>

Revision as of 08:32, 26 June 2015