Template:Team:DukeHomePage/CSS

From 2014.igem.org

(Difference between revisions)
Line 67: Line 67:
</style>
</style>
-
<script>
 
-
// Javascript originally by Patrick Griffiths and Dan Webb.
 
-
// http://htmldog.com/articles/suckerfish/dropdowns/
 
-
sfHover = function() {
 
-
  var sfEls = document.getElementById("navbar").getElementsByTagName("li");
 
-
  for (var i=0; i<sfEls.length; i++) {
 
-
      sfEls[i].onmouseover=function() {
 
-
        this.className+=" hover";
 
-
      }
 
-
      sfEls[i].onmouseout=function() {
 
-
        this.className=this.className.replace(new RegExp(" hover\\b"), "");
 
-
      }
 
-
  }
 
-
}
 
-
if (window.attachEvent) window.attachEvent("onload", sfHover);
 
-
</script>
 
-
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script>
 
-
<script type="text/javascript" src="http://linacabal.com/juan/s3Slider.js"></script>
 
-
<script type="text/javascript">
 
-
    $(document).ready(function() {
 
-
        $('#slider').s3Slider({
 
-
            timeOut: 5000
 
-
        });
 
-
    });
 
-
</script>
 
<style type="text/css" media="screen">
<style type="text/css" media="screen">

Revision as of 17:31, 21 July 2014

  • 1 1
  • 2 2
  • 3 3
  • 4 4
  • 5 5
  • 6 6
  • 7 7
  • 8 8
  • 9
  • 10 10