| Server IP : 46.62.235.243 / Your IP : 216.73.216.254 Web Server : Apache/2.4.58 (Ubuntu) System : Linux Linkabili3Dicembre 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/linkabili/node_modules/jquery.easing/example/ |
Upload File : |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Example</title>
<script type="text/javascript" src="http://code.jquery.com/jquery-2.1.4.min.js"></script>
<script type="text/javascript" src="../jquery.easing.js"></script>
<script type="text/javascript" src="../jquery.easing.compatibility.js"></script>
<script type="text/javascript">
$(function() {
var boing = function() {
$('#boxing')
.animate({marginLeft: '50px' }, 1000, 'easeOutElastic')
.animate({marginTop: '50px' }, 1000, 'easeOutBounce')
.animate({marginLeft: '-150px'}, 1000, 'easeOutQuad')
.animate({marginTop: '-150px'}, 1000, 'easeInOutBack');
};
var squish = function() {
$('#box')
.animate({height: '100px', marginTop: '0px', width: '50px' }, 1000, 'easeOutElastic')
.animate({height: '50px' , marginTop: '25px', width: '50px' }, 1000, 'easeOutBounce')
.animate({height: '50px' , marginTop: '25px', width: '100px'}, 1000, 'easeOutQuad')
.animate({height:'100px' , marginTop: '0px', width: '100px'}, 1000, 'easeInOutBack');
}
setInterval(boing, 4000);
setInterval(squish, 4000);
setTimeout(function() {
boing();
squish();
}, 500);
})
</script>
<style type="text/css" media="screen">
#boxing {
height:100px;
width:100px;
position:absolute;
top:50%;left:50%;
margin-left:-150px;
margin-top:-150px;
}
#box {
height:100px;
width:100px;
background:#000;
margin:0 auto;
}
</style>
</head>
<body>
<div id="boxing"><div id="box"></div></div>
</body>
</html>