Team:SYSU-Software/header
From 2013.igem.org
(Difference between revisions)
Nie1234567 (Talk | contribs) |
Nie1234567 (Talk | contribs) |
||
Line 24: | Line 24: | ||
</button> | </button> | ||
<div class="nav-collapse collapse"> | <div class="nav-collapse collapse"> | ||
- | + | <ul class="nav"> | |
- | <li class=" | + | <li class="nav-li"> |
- | <a href=" | + | <a href="/Team:SYSU-Software/index"> |
Home | Home | ||
</a> | </a> | ||
</li> | </li> | ||
- | <li> | + | <li class="nav-li"> |
- | <a href=" | + | <a href="/Team:SYSU-Software/overview"> |
Software | Software | ||
</a> | </a> | ||
<ul> | <ul> | ||
- | <li><a href=" | + | <li><a href="/Team:SYSU-Software/overview">Overview</a></li> |
<li> | <li> | ||
<a href="#">1</a> | <a href="#">1</a> | ||
Line 41: | Line 41: | ||
<li><a href="#">2</a></li> | <li><a href="#">2</a></li> | ||
<li><a href="#">3</a></li> | <li><a href="#">3</a></li> | ||
- | <li><a href=" | + | <li><a href="/Team:SYSU-Software/demo">demo</a></li> |
- | <li><a href=" | + | <li><a href="/Team:SYSU-Software/download">download</a></li> |
</ul> <!-- /Sub menu --> | </ul> <!-- /Sub menu --> | ||
</li> | </li> | ||
- | <li> | + | <li class="nav-li"> |
- | <a href=" | + | <a href="/Team:SYSU-Software/model"> |
Documents | Documents | ||
</a> | </a> | ||
<ul> | <ul> | ||
- | <li><a href=" | + | <li><a href="/Team:SYSU-Software/model">Models</a></li> |
<li> | <li> | ||
- | <a href=" | + | <a href="/Team:SYSU-Software/model">Tutorial</a> |
</li> | </li> | ||
- | <li><a href=" | + | <li><a href="/Team:SYSU-Software/notebook">Notebook</a></li> |
</ul> | </ul> | ||
</li> | </li> | ||
- | <li> | + | <li class="nav-li"> |
- | <a href=" | + | <a href="/Team:SYSU-Software/require"> |
Requirements | Requirements | ||
</a> | </a> | ||
<ul> | <ul> | ||
- | <li><a href=" | + | <li><a href="/Team:SYSU-Software/require">Medal</a></li> |
<li> | <li> | ||
- | <a href=" | + | <a href="/Team:SYSU-Software/require">Saft</a> |
</li> | </li> | ||
- | <li><a href=" | + | <li><a href="/Team:SYSU-Software/require">Collaboration</a></li> |
</ul> | </ul> | ||
</li> | </li> | ||
- | <li> | + | <li class="nav-li"> |
- | <a href=" | + | <a href="/Team:SYSU-Software/humanpra"> |
Human Practice | Human Practice | ||
</a> | </a> | ||
</li> | </li> | ||
- | <li> | + | <li class="nav-li"> |
- | <a href=" | + | <a href="/Team:SYSU-Software/team"> |
Team | Team | ||
</a> | </a> | ||
<ul> | <ul> | ||
- | <li><a href=" | + | <li><a href="/Team:SYSU-Software/team">Member</a></li> |
<li> | <li> | ||
- | <a href=" | + | <a href="/Team:SYSU-Software/team">Sponsor</a> |
</li> | </li> | ||
</ul> | </ul> | ||
</li> | </li> | ||
+ | <script type="text/javascript"> | ||
+ | var url = window.location.href; | ||
+ | |||
+ | |||
+ | if(url == "http://localhost/wiki/index.html") | ||
+ | { | ||
+ | $(".nav-li:first").addClass("active"); | ||
+ | } | ||
+ | else if((url == "http://localhost/wiki/overview.html") || (url == "http://localhost/wiki/demo.html") || | ||
+ | (url == "http://localhost/wiki/download.html") || (url == "http://localhost/wiki/part1.html") || | ||
+ | (url == "http://localhost/wiki/part2.html") || (url == "http://localhost/wiki/part3.html")) | ||
+ | $(".nav-li:eq(1)").addClass("active"); | ||
+ | else if((url == "http://localhost/wiki/model.html") || (url == "http://localhost/wiki/notebook.html")) | ||
+ | $(".nav-li:eq(2)").addClass("active"); | ||
+ | else if((url == "http://localhost/wiki/require.html")) | ||
+ | $(".nav-li:eq(3)").addClass("active"); | ||
+ | else if((url == "http://localhost/wiki/humanpra.html")) | ||
+ | $(".nav-li:eq(4)").addClass("active"); | ||
+ | else if((url == "http://localhost/wiki/team.html")) | ||
+ | $(".nav-li:eq(5)").addClass("active"); | ||
+ | </script> | ||
</ul> | </ul> | ||
</div><!--/.nav-collapse --> | </div><!--/.nav-collapse --> |
Revision as of 03:13, 28 April 2013