-1

I try to make a page with slide but slide function doesn't work.

Code:

$("#left").click(function () {
      $("#bolge").show('slide', 'left', 1000);
      $("#main").css({ opacity: 0.5 });
      $('#main :input').attr('disabled', true);
      $x = 1;
});

I got this error:

Uncaught TypeError: m.easing[this.easing] is not a function

Sender
  • 6,660
  • 12
  • 47
  • 66
  • 3
    [jQuery's documentation for `show()`](http://api.jquery.com/show/#show-duration-easing-complete) – D4V1D Sep 15 '15 at 08:02

1 Answers1

0

Your code has some issues.

From jQuery documentation:

.show( duration [, easing ] [, complete ] )

The show method only effects the visibilty.

If you're looking for some custom animation, you could use this solution: jQuery slide left and show

Community
  • 1
  • 1
parameciostudio
  • 570
  • 5
  • 12