Template:Team:Edinburgh/Code
From 2013.igem.org
(Difference between revisions)
Hristianita (Talk | contribs) |
Hristianita (Talk | contribs) |
||
Line 301: | Line 301: | ||
.menu_button { | .menu_button { | ||
display: none; | display: none; | ||
+ | } | ||
+ | |||
+ | .selflink { | ||
+ | color: #2b6196 !important; | ||
+ | cursor: default !important; | ||
+ | text-decoration: none !important; | ||
} | } | ||
Line 327: | Line 333: | ||
$(menu_links).css("display", "none"); | $(menu_links).css("display", "none"); | ||
menu_links[active-1].style.display = "block"; | menu_links[active-1].style.display = "block"; | ||
+ | |||
+ | if (active==3) { | ||
+ | $(menu_buttons[i]).parent("tr").next().children("td").filter(function(index) {return index==0}).children("a").addClass("selflink"); | ||
+ | } | ||
if (touchscreen) continue; | if (touchscreen) continue; |
Revision as of 00:33, 4 October 2013