Template:Amplino
From 2012e.igem.org
(Difference between revisions)
Line 110: | Line 110: | ||
var url = location.pathname + '/' + page + '?action=edit'; | var url = location.pathname + '/' + page + '?action=edit'; | ||
$("#menubar ul li:nth-child(3) a").attr('href', url); | $("#menubar ul li:nth-child(3) a").attr('href', url); | ||
+ | |||
+ | |||
+ | var url = location.pathname + '/' + page; | ||
+ | $("#menubar ul li:nth-child(1) a").attr('href', url); | ||
+ | var url = location.pathname + '/' + page + '?action=history'; | ||
+ | $("#menubar ul li:nth-child(4) a").attr('href', url); | ||
+ | var url = location.pathname + '/' + page + '?action=watch'; | ||
+ | $("#menubar ul li:nth-child(6) a").attr('href', url); | ||
+ | $("#menubar ul li:nth-child(2)).css('display','none'); | ||
+ | $("#menubar ul li:nth-child(5)).css('display','none'); | ||
} | } | ||
Revision as of 13:55, 29 April 2012