Team:Toulouse/template/navigation

From 2014.igem.org

(Difference between revisions)
 
(25 intermediate revisions not shown)
Line 8: Line 8:
     <script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script>
     <script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script>
     <![endif]-->
     <![endif]-->
-
 
+
  <script type=”text/javascript” src=”http://code.jquery.com/jquery-1.5.2.min.js”></script>
   <script type="text/javascript">
   <script type="text/javascript">
         $(window).scroll(function () {  
         $(window).scroll(function () {  
Line 40: Line 40:
         $(document).ready(
         $(document).ready(
             function(){
             function(){
-
                 $("ul.subnav").parent().find("> a").append("<span> </span>");
+
                 $("ul.subnav").parent().find("> a").append("<span> ?</span>");
                 $("ul.topnav li").hover(
                 $("ul.topnav li").hover(
                     function() {
                     function() {
Line 135: Line 135:
float: right;
float: right;
         position: relative;
         position: relative;
-
         top: -4px;
+
         top: 5px;
}
}
ul.topnav li {
ul.topnav li {
float: left;
float: left;
margin: 0;
margin: 0;
-
padding: 0px 24px;
+
padding: 0px 18px;
position: relative; /*--Declare X and Y axis base for sub navigation--*/
position: relative; /*--Declare X and Y axis base for sub navigation--*/
}
}
Line 178: Line 178:
position: absolute; /*--Important - Keeps subnav from affecting main navigation flow--*/
position: absolute; /*--Important - Keeps subnav from affecting main navigation flow--*/
left: 15px; top:35px;
left: 15px; top:35px;
-
background: #50a29b;
+
background: #86C46C;
margin: 0; padding: 0;
margin: 0; padding: 0;
display: none;
display: none;
Line 201: Line 201:
html ul.topnav li ul.subnav li a:hover { /*--Hover effect for subnav links--*/
html ul.topnav li ul.subnav li a:hover { /*--Hover effect for subnav links--*/
-
background: #96d2cd;
+
background: #22780F;
}
}
-
html ul.topnav li ul.subnav li .simpledrop:hover { /*--Hover effect for subnav links--*/
+
html ul.topnav li ul.subnav li.lisimpledrop:hover { /*--Hover effect for subnav links--*/
background: white;
background: white;
-
        opacity:0.2;
 
-
        color:white;
 
}
}
 +
 +
html ul.topnav li ul.subnav li.lisimpledrop a:hover  { /*--Hover effect for subnav links--*/
 +
color:black;
 +
        background:none;
 +
}
 +
 +
html ul.topnav li ul.subnav li.libasedrop:hover { /*--Hover effect for subnav links--*/
 +
background: #999;
 +
}
 +
 +
html ul.topnav li ul.subnav li.libasedrop a.basedrop  { /*--Hover effect for subnav links--*/
 +
color:black;
 +
        background:none;
 +
}
 +
 +
html ul.topnav  ul.subnav li.libasedrop a:hover  { /*--Hover effect for subnav links--*/
 +
color:white;
 +
        background:none;
 +
}
 +
 +
/*li.Achievements {/*--Hover effect for Achievements subnav links--*/
 +
        background-color : #E1E979;
 +
}
 +
 +
li.Achievements:hover {/*--Hover effect for Achievements subnav links--*/
 +
        background-color : #E6CF1C
 +
}--*/
</style>
</style>
Line 222: Line 247:
                         <li><a href="http://2014.igem.org/Team:Toulouse/Team">Our Team</a></li>
                         <li><a href="http://2014.igem.org/Team:Toulouse/Team">Our Team</a></li>
                         <li><a href="http://igem.org/Team.cgi?year=2014&team_name=Toulouse">Official team profile</a></li>
                         <li><a href="http://igem.org/Team.cgi?year=2014&team_name=Toulouse">Official team profile</a></li>
-
                        <li><a href="http://2014.igem.org/Team:Toulouse/Team/Contact">Contact</a></li>
 
                         <li><a href="http://2014.igem.org/Team:Toulouse/Team/Gallery">Gallery</a></li>
                         <li><a href="http://2014.igem.org/Team:Toulouse/Team/Gallery">Gallery</a></li>
                         <li><a href="http://2014.igem.org/Team:Toulouse/Team/Fun_facts">Fun Facts</a></li>
                         <li><a href="http://2014.igem.org/Team:Toulouse/Team/Fun_facts">Fun Facts</a></li>
Line 231: Line 255:
                         <li><a href="http://2014.igem.org/Team:Toulouse/Project/project-context">Project context</a></li>
                         <li><a href="http://2014.igem.org/Team:Toulouse/Project/project-context">Project context</a></li>
                         <li><a href="http://2014.igem.org/Team:Toulouse/Project/Overviews">Overview</a></li>
                         <li><a href="http://2014.igem.org/Team:Toulouse/Project/Overviews">Overview</a></li>
-
                        <li><a href="http://2014.igem.org/Team:Toulouse/Project/binding">Binding</a></li>
 
                         <li><a href="http://2014.igem.org/Team:Toulouse/Project/Chemotaxis">Chemotaxis</a></li>
                         <li><a href="http://2014.igem.org/Team:Toulouse/Project/Chemotaxis">Chemotaxis</a></li>
 +
                        <li><a href="http://2014.igem.org/Team:Toulouse/Project/binding">Binding</a></li>
 +
                       
                         <li><a href="http://2014.igem.org/Team:Toulouse/Project/Fungicides">Fungicides</a></li>
                         <li><a href="http://2014.igem.org/Team:Toulouse/Project/Fungicides">Fungicides</a></li>
                         <li><a href="http://2014.igem.org/Team:Toulouse/Project/Spreading">Spreading</a></li>
                         <li><a href="http://2014.igem.org/Team:Toulouse/Project/Spreading">Spreading</a></li>
-
                        <li><a href="http://2014.igem.org/Team:Toulouse/Modeling">Modelling</a></li>
+
                                            </ul>
-
                    </ul>
+
                 </li>
                 </li>
                 <li><a href="http://2014.igem.org/Team:Toulouse/Result/experimental-results" class="navlink">RESULTS</a>
                 <li><a href="http://2014.igem.org/Team:Toulouse/Result/experimental-results" class="navlink">RESULTS</a>
                     <ul class="subnav">
                     <ul class="subnav">
                         <li><a href="http://2014.igem.org/Team:Toulouse/Result/experimental-results">Experimental results</a></li>
                         <li><a href="http://2014.igem.org/Team:Toulouse/Result/experimental-results">Experimental results</a></li>
 +
<li><a href="http://2014.igem.org/Team:Toulouse/Modelling">Modeling</a></li>
                         <li><a href="http://2014.igem.org/Team:Toulouse/Result/parts">Parts</a></li>
                         <li><a href="http://2014.igem.org/Team:Toulouse/Result/parts">Parts</a></li>
-
                         <li><a href="http://2014.igem.org/Team:Toulouse/Result/achievement">Achievement</a></li>
+
                         <li class="Achievements"><a href="http://2014.igem.org/Team:Toulouse/Result/achievement">Achievements</a></li>
                     </ul>
                     </ul>
                 </li>
                 </li>
Line 249: Line 274:
                         <li><a href="http://2014.igem.org/Team:Toulouse/Safety">Safety</a></li>
                         <li><a href="http://2014.igem.org/Team:Toulouse/Safety">Safety</a></li>
                         <li><a href="http://2014.igem.org/Team:Toulouse/ethics">Ethics</a></li>
                         <li><a href="http://2014.igem.org/Team:Toulouse/ethics">Ethics</a></li>
-
                         <li><a href="http://2014.igem.org/Team:Toulouse/Human_Practice">Communication</a></li>
+
                         <li><a href="http://2014.igem.org/Team:Toulouse/Communication">Communication</a></li>
                     </ul>
                     </ul>
                 </li>
                 </li>
-
                 <li><a href="http://2014.igem.org/Team:Toulouse/Notebook/Protocols" class="navlink">NOTEBOOK</a>
+
                 <li><a href="http://2014.igem.org/Team:Toulouse/Notebook/Calendar" class="navlink">NOTEBOOK</a>
                     <ul class="subnav">
                     <ul class="subnav">
                         <li><a href="http://2014.igem.org/Team:Toulouse/Notebook/Calendar">Calendar</a></li>
                         <li><a href="http://2014.igem.org/Team:Toulouse/Notebook/Calendar">Calendar</a></li>
Line 258: Line 283:
                         <li><a href="http://2014.igem.org/Team:Toulouse/Notebook/Protocols">Protocols</a></li>
                         <li><a href="http://2014.igem.org/Team:Toulouse/Notebook/Protocols">Protocols</a></li>
                     </ul>
                     </ul>
-
                 </li>            
+
                 </li>
 +
        <li><a href="http://2014.igem.org/Team:Toulouse/Acknowledgements/Attributions" class="navlink">ACKNOWLEDGEMENTS</a>
 +
                    <ul class="subnav">
 +
                        <li><a href="http://2014.igem.org/Team:Toulouse/Acknowledgements/Attributions">Attributions</a></li>
 +
                        <li><a href="http://2014.igem.org/Team:Toulouse/Acknowledgements/Sponsors">Sponsors</a></li>
 +
                    </ul>
 +
                </li>
 +
             </ul>
             </ul>
         </div>
         </div>

Latest revision as of 12:43, 23 February 2015