Team:EPF-Lausanne/Templates/Header

From 2011.igem.org

(Difference between revisions)
Line 12: Line 12:
                                                                                   -->
                                                                                   -->
<!-- CSS styling -->
<!-- CSS styling -->
-
<link rel="stylesheet" type="text/css" href="https://2011.igem.org/Team:EPF-Lausanne/Templates/thecss?action=raw&ctype=text/css" />
+
<link rel="stylesheet" type="text/css"
 +
            href="https://2011.igem.org/Team:EPF-Lausanne/Templates/thecss?action=raw&ctype=text/css" />
         <link href='http://fonts.googleapis.com/css?family=Raleway:100' rel='stylesheet' type='text/css'>
         <link href='http://fonts.googleapis.com/css?family=Raleway:100' rel='stylesheet' type='text/css'>
<!-- Accordion Menu -->
<!-- Accordion Menu -->
-
  <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>  
+
      <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>  
-
  <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/jquery-ui.js"></script>
+
      <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/jquery-ui.js"></script>
-
  <script type='text/javascript'  
+
      <script type='text/javascript'  
-
      src='https://2011.igem.org/Team:EPF-Lausanne/Templates/jquery-lavalamp?action=raw&ctype=text/javascript'>
+
          src='https://2011.igem.org/Team:EPF-Lausanne/Templates/jquery-lavalamp?action=raw&ctype=text/javascript'>
-
      </script>
+
      </script>
-
  <script type='text/javascript'  
+
      <script type='text/javascript'  
-
      src='https://2011.igem.org/Team:EPF-Lausanne/Templates/jquery-easing?action=raw&ctype=text/javascript'>
+
          src='https://2011.igem.org/Team:EPF-Lausanne/Templates/jquery-easing?action=raw&ctype=text/javascript'>
-
      </script>
+
      </script>
-
  <script type="text/javascript">  
+
      <script type="text/javascript">  
-
  $(function() {
+
      $(function() {
-
$('ul.llmenu').lavaLamp({ speed: 300, autoReturn: true , target:'li'});
+
            $('ul.llmenu').lavaLamp({ speed: 300, autoReturn: true , target:'li'});
-
    });
+
        });
-
  $(function(){
+
      $(function(){
-
      $('ul#accmenu').accordion({
+
            $('ul#accmenu').accordion({
-
              header:'.head',
+
                  header:'.head',
-
              fillSpace:false,
+
                  fillSpace:false,
-
              autoHeight:false,
+
                  autoHeight:false,
-
              navigation:true,
+
                  navigation:true,
-
              animated: 'easeslide'})
+
                  animated: 'easeslide'})
-
    });
+
            });
 +
      </script>
 +
 
 +
 
 +
    <!-- Add iGEM HQ link to menubar. Thanks to Cambridge 2010 for this one again! -->
 +
    <script type="text/javascript">
 +
        $('.left-menu ul')[0].innerHTML="<li><a href=\"https://2010.igem.org\" style=\"font-weight:bold;
 +
            text-transform:none\">iGEM HQ</a></li>"+$('.left-menu ul')[0].innerHTML;
     </script>
     </script>

Revision as of 10:08, 4 June 2011

This is the default header template. It takes a single argument: the page title.
Usage: