Team:NYMU-Taipei/TopBar

From 2014.igem.org

(Difference between revisions)
m
m
Line 25: Line 25:
}
}
</style>
</style>
 +
<script src="//code.jquery.com/jquery-1.11.0.min.js"></script>
 +
<script src="//code.jquery.com/jquery-migrate-1.2.1.min.js"></script>
 +
<script type="text/javascript" language="javascript">
 +
$( document ).ready(function() {
 +
    $('.navbt')
 +
        .on('mouseover', function(){
 +
            $(this).stop(true).animate({
 +
                borderWidth: '12px',
 +
                color: 'rgba(0,0,0,0.8)'
 +
            }, duration, 'easeOutSine');
 +
        })
 +
        .on('mouseout', function(){
 +
            $(this).stop(true).animate({
 +
                borderWidth: '0px',
 +
                color: '#696969'
 +
            }, duration, 'easeOutSine');
 +
        });
 +
});
 +
</script>
</head>
</head>
<nav class="navigation">
<nav class="navigation">

Revision as of 07:28, 11 April 2014