Template:Team:HokkaidoU Japan/JS

From 2014.igem.org

(Difference between revisions)
 
(27 intermediate revisions not shown)
Line 3: Line 3:
<script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<script type="text/javascript">
<script type="text/javascript">
 +
(function() {
(function() {
   $(function() {
   $(function() {
-
     return $('#menubar.left-menu ul li:last-child').css('color', 'white');
+
     return $('#menubar.left-menu ul li:last-child').css('display', 'none');
   });
   });
}).call(this);
}).call(this);
Line 11: Line 12:
$(function () {
$(function () {
     $(".right-menu").hover(function(){
     $(".right-menu").hover(function(){
-
         $(this).css({"display": "block"});
+
         $(this).css({"opacity": "1.0"});
     },function(){
     },function(){
-
         $(this).css({"display": "none"});
+
         $(this).css({"opacity": "0.0"});
     });
     });
});
});
 +
 +
$(function() {
 +
$(".left-menu").css("left","0");
 +
});
 +
</script>
</script>
</html>
</html>
{{Team:HokkaidoU_Japan/Book/JS}}
{{Team:HokkaidoU_Japan/Book/JS}}
-
{{Team:HokkaidoU_Japan/Top_Header/JS}}
+
{{Team:HokkaidoU Japan/LargeDropDown/JS}}
 +
{{Team:HokkaidoU Japan/About_Us/JS}}

Latest revision as of 12:55, 17 October 2014