Team:ETH Zurich/Templates/TestHeader

From 2012.igem.org

(Difference between revisions)
Line 205: Line 205:
$(document).ready(function()
$(document).ready(function()
-
{ $('#eth_nav > ul > li').bind('mouseover', eth_nav_open);
+
{
-
$('#eth_nav > ul > li').bind('mouseout',  eth_nav_timer);});
+
  // Navigation
 +
  $('#eth_nav > ul > li').bind('mouseover', eth_nav_open);
 +
  $('#eth_nav > ul > li').bind('mouseout',  eth_nav_timer);
 +
 
 +
  // Enable/disable login/wiki
 +
  if ($('#pt-logout').length) // if "logged on"
 +
      $('#eth_nav > ul > li:last').prev().hide(); // Hide second last menu entry
 +
  else
 +
      $('#eth_nav > ul > li:last').hide(); // Hide last menu entry
 +
});
document.onclick = eth_nav_close;
document.onclick = eth_nav_close;
Line 239: Line 248:
** [[Team:ETH_Zurich/Team_description|Team description]]
** [[Team:ETH_Zurich/Team_description|Team description]]
** [[Team:ETH_Zurich/Attributions|Attributions]]
** [[Team:ETH_Zurich/Attributions|Attributions]]
 +
* [{{fullurl:Special:UserLogin|returnto={{PAGENAMEE}}}} Login]
* [[WIKI]]
* [[WIKI]]
-
** [{{fullurl:Special:UserLogin|returnto={{PAGENAMEE}}}} Login]
+
** [{{fullurl:{{PAGENAME}}}} View page]
-
** [{{fullurl:{{PAGENAME}}}} Page]
+
** [{{fullurl:{{PAGENAME}}|action=edit}} Edit page]  
-
** [{{fullurl:{{PAGENAME}}|action=edit}} Edit]  
+
** [{{fullurl:{{PAGENAME}}|action=history}} History of this page]
-
** [{{fullurl:{{PAGENAME}}|action=history}} History]
+
** [{{fullurl:Special:Upload}} Upload new file]
<div class="clear"></div>
<div class="clear"></div>
</div>
</div>

Revision as of 08:33, 23 September 2012

Eth page header.png