Template:ETHZ Basel10
From 2010.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | <html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | <head> | ||
- | < | + | <script type="text/javascript"> |
+ | window.onload = clearCurrentLink; | ||
+ | |||
+ | function clearCurrentLink(){ | ||
+ | |||
+ | var nav = document.getElementById("current"); | ||
+ | var a = nav.getElementsByTagName("A"); | ||
+ | for(var i=0;i<a.length;i++) | ||
+ | if(a[i].href == window.location.href.split("#")[0]) | ||
+ | removeNode(a[i]); | ||
+ | } | ||
+ | </script> | ||
<style type="text/css"> | <style type="text/css"> | ||
logo { | logo { | ||
Line 69: | Line 80: | ||
} | } | ||
- | ul#simple-menu li a. | + | ul#simple-menu li a.current{ |
color:#2E4560; | color:#2E4560; | ||
background:#fff; | background:#fff; | ||
} | } | ||
- | ul#simple-menu li a. | + | ul#simple-menu li a.current:hover{ |
color:#2E4560; | color:#2E4560; | ||
background:#fff; | background:#fff; |
Revision as of 17:15, 27 July 2010