Team:DTU-Denmark/Templates/Standard page begin

From 2011.igem.org

(Difference between revisions)
 
(9 intermediate revisions not shown)
Line 1: Line 1:
-
__FORCETOC__
 
<html>
<html>
Line 9: Line 8:
<!-- JAVASCRIPTS -->
<!-- JAVASCRIPTS -->
<!-- *********** -->
<!-- *********** -->
-
    <script>
 
-
        $(function() {
 
-
    // initialize scrollable
 
-
    $(".scrollable").scrollable().navigator();
 
-
            // initialize tooltips
 
-
            $("#topnav > li > a[title]").tooltip();
 
-
        });
 
-
    </script>
 
     <!-- ie9.js (fixes all Internet Explorer browsers older than ie9) -->
     <!-- ie9.js (fixes all Internet Explorer browsers older than ie9) -->
Line 23: Line 14:
     <![endif]-->
     <![endif]-->
-
     <!-- jQuery Tools (slider & tooltips) -->
+
     <!-- jQuery Tools (slider) -->
     <script src="http://cdn.jquerytools.org/1.2.5/full/jquery.tools.min.js"></script>
     <script src="http://cdn.jquerytools.org/1.2.5/full/jquery.tools.min.js"></script>
 +
    <script>
 +
        $(function() {
 +
    // initialize scrollable
 +
    $(".scrollable").scrollable().navigator();
 +
        });
 +
    </script>
     <!-- Navigation scroll follow -->
     <!-- Navigation scroll follow -->
Line 62: Line 59:
                     function() {
                     function() {
                         // Hover over
                         // Hover over
-
                         $(this).find("ul.subnav").stop(true, true).css({height: "", opacity: ""}).show();
+
                         $(this).parent().find("ul.subnav").hide();
 +
                        $(this).find("ul.subnav").show();
                         // Hover out
                         // Hover out
                         $(this).hover(
                         $(this).hover(
Line 68: Line 66:
                             },
                             },
                             function(){
                             function(){
-
                                 $(this).find("ul.subnav").animate({opacity: 0, height: 0},'slow');
+
                                 $(this).find("ul.subnav").hide();
                             }
                             }
                         );
                         );
                     },
                     },
                     function(){
                     function(){
-
                         $(this).find("ul.subnav").animate({opacity: 0, height: 0},'slow');
+
                         $(this).find("ul.subnav").hide();
                     }
                     }
Line 88: Line 86:
                     return $.trim($(this).html()) == '';
                     return $.trim($(this).html()) == '';
                 }).remove();
                 }).remove();
 +
            });
 +
        </script>
 +
 +
        <!-- Remove "team" from the menubar -->
 +
        <script type="text/javascript">
 +
            $(document).ready(function() {
 +
                $("menubar > ul > li:last-child").remove();
             });
             });
         </script>
         </script>

Latest revision as of 22:32, 21 September 2011

{{{1}}}