Team:Aalto-Helsinki/sidebar

From 2014.igem.org

(Difference between revisions)
Line 35: Line 35:
</li>
</li>
<a href="https://2014.igem.org/Main_Page">
<a href="https://2014.igem.org/Main_Page">
-
<img src="https://static.igem.org/mediawiki/igem.org/6/60/Igemlogo_300px.png" width="55px">
+
<img src="https://static.igem.org/mediawiki/2014/b/bd/Aalto-helsinki-igem-logo-musta.png" width="55px">
</a>
</a>
</ul>
</ul>
Line 45: Line 45:
$('#sidebar-wrapper a[href^="https://2014.igem.org' + location.pathname + '"]').addClass('active');
$('#sidebar-wrapper a[href^="https://2014.igem.org' + location.pathname + '"]').addClass('active');
} else $('#sidebar-wrapper a.home').addClass('active');
} else $('#sidebar-wrapper a.home').addClass('active');
-
console.log(location.pathname);
 
});
});
</script>
</script>
</html>
</html>

Revision as of 14:05, 12 June 2014