0

This code works just on JSfiddle.

http://jsfiddle.net/KhcvR/2016/

$(".sort").toggle(function() {
    $(".sort").animate({
        width: '90%'
    });
}, function() {
    $(".sort").animate({
        width: '50px'
    });
});
.sort {
    width: 50px;
    height: 50px;
    background-color: #EA932E;
}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
<div class="sort"></div>
mplungjan
  • 169,008
  • 28
  • 173
  • 236
art
  • 59
  • 1
  • 8

0 Answers0