Sha256: 661f99cfdd3812912d75b4ee202e8f89d6c69e8149ee7b2a3e7da2821bcd57d4

Contents?: true

Size: 374 Bytes

Versions: 2

Compression:

Stored size: 374 Bytes

Contents

$(function() {
  $('#sidebar').click(function (e) {
    var position = $(this).position()
    if (e.pageX < position.left) {
      if ($(this).css('right') == '0px') {
        $(this).animate({
          right: "-=230"
        }, 600, function() {});
      } else {
        $(this).animate({
          right: "+=230"
        }, 600, function() {});
      }
    }
  });

});

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
arctic_admin-1.0.3 app/assets/javascripts/arctic_admin.js
arctic_admin-1.0.2 app/assets/javascripts/arctic_admin.js