Template:Team:Edinburgh/Code
From 2013.igem.org
(Difference between revisions)
Hristianita (Talk | contribs) |
Hristianita (Talk | contribs) |
||
(3 intermediate revisions not shown) | |||
Line 265: | Line 265: | ||
position: relative; | position: relative; | ||
display: block; | display: block; | ||
+ | } | ||
+ | |||
+ | .side_menu_item a{ | ||
+ | margin-right: 6px; | ||
} | } | ||
Line 280: | Line 284: | ||
color : #2b6196; | color : #2b6196; | ||
font-weight: bold; | font-weight: bold; | ||
+ | margin-right: 6px; | ||
} | } | ||
Line 341: | Line 346: | ||
color: #001f3d !important; | color: #001f3d !important; | ||
cursor: default !important; | cursor: default !important; | ||
+ | margin-right: 6px; | ||
text-decoration: none !important; | text-decoration: none !important; | ||
} | } | ||
Line 406: | Line 412: | ||
for (var j=0; j < menu_links.length; j++) { | for (var j=0; j < menu_links.length; j++) { | ||
active=1; | active=1; | ||
- | + | if (window.location.href.indexOf(menu_links[j].href, window.location.href.length-menu_links[j].href.length) > -1) { | |
- | + | ||
active = 3; | active = 3; | ||
} | } | ||
- | |||
- | |||
- | |||
- | |||
if (active==3) { | if (active==3) { | ||
$(menu_links[j]).addClass("selflink"); | $(menu_links[j]).addClass("selflink"); |
Latest revision as of 00:27, 5 October 2013