Template:Team:Trieste/menu

From 2012.igem.org

(Difference between revisions)
(fix menus)
(fix typo)
 
(22 intermediate revisions not shown)
Line 6: Line 6:
             <ul id="navigation">
             <ul id="navigation">
                 <li><a href="https://2012.igem.org/Team:Trieste">HOME</a></li>
                 <li><a href="https://2012.igem.org/Team:Trieste">HOME</a></li>
-
                 <li><a href="https://2012.igem.org/Team:Trieste/team">TEAM</a></li>
+
                 <li>
 +
                    <a href="https://2012.igem.org/Team:Trieste/team">TEAM</a>
 +
                    <ul>
 +
                <li><a href="https://2012.igem.org/Team:Trieste/team">Team</a></li>
 +
                        <li><a href="https://2012.igem.org/Team:Trieste/City&Lab">City&Lab</a></li>
 +
                        <li><a href="https://2012.igem.org/Team:Trieste/Team Gal">Team Gallery</a></li>
 +
                    </ul>
 +
                </li>
<li>
<li>
    <a href="https://2012.igem.org/Team:Trieste/project">PROJECT</a>
    <a href="https://2012.igem.org/Team:Trieste/project">PROJECT</a>
    <ul>
    <ul>
<li><a href="https://2012.igem.org/Team:Trieste/project">Abstract</a></li>
<li><a href="https://2012.igem.org/Team:Trieste/project">Abstract</a></li>
-
<li><a href="https://2012.igem.org/Team:Trieste/project#overview">Project Overview</a></li>
+
<li><a href="https://2012.igem.org/Team:Trieste/project/overview">Project Overview</a></li>
-
<li><a href="https://2012.igem.org/Team:Trieste/project#applications">Applications</a></li>
+
<li><a href="https://2012.igem.org/Team:Trieste/project/applications">Applications</a></li>
-
    </ul>
+
                        <li><a href="https://2012.igem.org/Team:Trieste/project/modeling">Modeling</a></li>
 +
                        <li><a href="https://2012.igem.org/Team:Trieste/project/mainres">Main Results</a></li>
 +
                    </ul>
                 </li>
                 </li>
<li>
<li>
    <a href="https://2012.igem.org/Team:Trieste/data">DATA</a>
    <a href="https://2012.igem.org/Team:Trieste/data">DATA</a>
                     <ul>
                     <ul>
-
                 <li><a href="https://2012.igem.org/Team:Trieste/project/mainres">Main Results</a></li>
+
                
 +
                       
 +
 
                     </ul>
                     </ul>
                 </li>
                 </li>
Line 25: Line 36:
</li>
</li>
<li>
<li>
-
    <a href="https://2012.igem.org/Team:Trieste/notebook">NOTEBOOK</a>
+
    <a href="https://2012.igem.org/Team:Trieste/notebook">DIARY</a>
 +
                    <ul>
 +
                        <li><a href="https://2012.igem.org/Team:Trieste/notebook">Notebook</a></li>
 +
                        <li><a href="https://2012.igem.org/Team:Trieste/protocols">Protocols</a></li>
 +
                    </ul>
</li>
</li>
<li>
<li>
Line 31: Line 46:
    <ul>
    <ul>
<li><a href="https://2012.igem.org/Team:Trieste/safety">Safety</a></li>
<li><a href="https://2012.igem.org/Team:Trieste/safety">Safety</a></li>
 +
                        <li><a href="https://2012.igem.org/Team:Trieste/survey">Safety Survey</a></li>
<li><a href="http://www.icgeb.org/~bsafesrv/"target="_blank">ICGEB Safety Unit</a></li>
<li><a href="http://www.icgeb.org/~bsafesrv/"target="_blank">ICGEB Safety Unit</a></li>
    </ul>
    </ul>
Line 37: Line 53:
    <a href="https://2012.igem.org/Team:Trieste/outreach">OUTREACH</a>
    <a href="https://2012.igem.org/Team:Trieste/outreach">OUTREACH</a>
    <ul>
    <ul>
-
<li><a href="https://2012.igem.org/Team:Trieste/outreach/meeting">Italian Igemmers MeetUp</a></li>
+
<li><a href="https://2012.igem.org/Team:Trieste/outreach">Human Practice</a></li>
-
<li><a href="https://2012.igem.org/Team:Trieste/outreach/univillage">Univillage 2012</a></li>
+
-
<li><a href="https://2012.igem.org/Team:Trieste/outreach/tascapane">Il tascapane Blog</a></li>
+
-
<li><a href="https://2012.igem.org/Team:Trieste/outreach/social">SocialiGEM</a></li>
+
-
<li><a href="https://2012.igem.org/Team:Trieste/outreach/next">Next</a></li>
+
-
<li><a href="https://2012.igem.org/Team:Trieste/outreach/caff">Science Café</a></li>
+
<li><a href="https://2012.igem.org/Team:Trieste/outreach/press">Press</a></li>
<li><a href="https://2012.igem.org/Team:Trieste/outreach/press">Press</a></li>
    </ul>
    </ul>
Line 50: Line 61:
    <ul>
    <ul>
<li><a href="https://2012.igem.org/Team:Trieste/extra">Attributions</a></li>
<li><a href="https://2012.igem.org/Team:Trieste/extra">Attributions</a></li>
-
<li><a href="https://2012.igem.org/Team:Trieste/extra/aks">Acknowledgement</a></li>
+
<li><a href="https://2012.igem.org/Team:Trieste/extra/ach">Achievements</a></li>
 +
                        <li><a href="https://2012.igem.org/Team:Trieste/extra/aks">Acknowledgement</a></li>
    </ul>
    </ul>
</li>
</li>
             </ul>
             </ul>
    <script type="text/javascript">
    <script type="text/javascript">
-
$(function(){
+
$(function(){
-
    title_regexp = /\w+$/;
+
    title_regexp = /http:\/\/2012\.igem\.org\/Team:Trieste\/([a-zA-Z]+).*/;
-
    title = title_regexp.exec(location.href);
+
    title = title_regexp.exec(location.href);
-
    $('#navigation > li > a[href$=' + title + ']').parent().addClass('select');
+
if (title === null){
-
    /* js menu */
+
$('#navigation > li:first').addClass('select');
-
    $('#navigation > li').hover(
+
} else {
-
function () {
+
    $('#navigation > li > a[href$=' + title[1] + ']').parent().addClass('select');
-
    //show its submenu
+
}
-
    $('ul', this).stop().show();
+
    /* js menu */
-
},  
+
    $('#navigation > li').hover(
-
function () {
+
function () {
-
    //hide its submenu
+
    //show its submenu
-
    $('ul', this).stop().hide();           
+
    $('ul', this).stop().show();
-
}
+
},  
-
    );
+
function () {
-
});
+
    //hide its submenu
 +
    $('ul', this).stop().hide();           
 +
}
 +
    );
 +
});
    </script>
    </script>
             <a href="http://socialigem.ning.com" target="_blank"><img src="/wiki/images/5/5c/Trieste-SocialiGEM.png" alt="SocialiGEM" class="logo-socialigem" /></a>
             <a href="http://socialigem.ning.com" target="_blank"><img src="/wiki/images/5/5c/Trieste-SocialiGEM.png" alt="SocialiGEM" class="logo-socialigem" /></a>

Latest revision as of 19:32, 26 October 2012