Difference between revisions of "Team:SUIS Shanghai"

Line 1,743: Line 1,743:
  
  
 +
<script>
 +
    $(document).ready(function() {
 +
 +
        //鱼上面的两个div被hover
 +
        $(".fish_hover1,.fish_hover2,.fish_hover3").hover(
 +
            function() {
 +
                $('.fish').addClass('fish_hover');
 +
                $('.fish_bone').fadeIn(2);
 +
            },
 +
            function() {
 +
                //$('.fish').removeClass('fish_hover');
 +
                //$('.fish_bone').hide();
 +
            });
 +
 +
        $(".fish_bone,.tail,.title").hover(
 +
            function() {
 +
 +
            },
 +
            function() {
 +
                console.log('fish_bone gone');
 +
                $('.fish').removeClass('fish_hover');
 +
                $('.fish').fadeIn(300);
 +
                $('.fish_bone').fadeOut(1);
 +
                console.log('fish_bone gone ok');
 +
 +
            });
 +
       
 +
        $(".fish_bone1,.fish_bone2,.fish_bone3,.fish_bone4,.fish_bone5,.fish_bone6,.fish_bone7,.fish_bone8").hover(
 +
            function() {
 +
                $(this).addClass('fish_bone_title_hover');
 +
            },
 +
            function() {
 +
                $(this).removeClass('fish_bone_title_hover');
 +
            });
 +
 +
 +
    });
 +
</script>
  
  
 
</html>
 
</html>

Revision as of 14:34, 20 October 2019

IGEM   |   WANYUAN   |   SUIS

Website: wanyuan.suis.com.cn

Mail Box: suisigem@outlook.com

No.509, Pingji Rd, Minhang District, Shanghai

Copyright © 2019 Shanghai United International School. All Rights Reserved.