Template:Team:Duke/CSS

From 2014.igem.org

(Difference between revisions)
Line 99: Line 99:
.arrowsidemenu div.selected a{ /*header that's currently selected*/
.arrowsidemenu div.selected a{ /*header that's currently selected*/
color: #EDEDED; /*#616161;*/
color: #EDEDED; /*#616161;*/
-
background-position: 50% -64px !important;
+
background-position: 100% -64px !important;
}
}
Line 245: Line 245:
</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 18:15, 17 July 2014

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