Skip to content

Releases: sutara79/jquery.simple-scroll-follow

v3.1.2

24 Jul 03:31
Compare
Choose a tag to compare

Patch release

Use webpack + puppeteer + Mocha to fix #2.

v3.1.1

29 Oct 01:14
Compare
Choose a tag to compare

Use Bootstrap 4 beta 2 for docs.

v3.1.0

13 May 11:13
Compare
Choose a tag to compare

Add option upper_side and lower_side

If you use fixed menu such as Bootstrap .navbar-fixed-top, the options below will help you.

$('#foo').simpleScrollFollow({
  upper_side: '#menu-fixed-top',
  lower_side: '#menu-fixed-bottom'
});

v3.0.0

25 Apr 00:58
Compare
Choose a tag to compare

Option "instance" is deleted.

In v3.x, simpleScrollFollow() always returns jQuery object, so jQuery method chaining always works.

How to call public method from outside is Changed.

v3.x
// apply plugin to an element
$('#foo').simpleScrollFollow();

// call sub-method "setEnabled()"
// the second argument is for sub-method
$('#foo').simpleScrollFollow('setEnabled', false);
v2.x
// set "instance" true
var arrInstance = $('#foo').simpleScrollFollow({
  instance: true
});

// call submethod "setEnabled()"
$(arrInstance).each(function() {
  this.setEnabled(false);
});

2.0.3

11 Jun 01:25
Compare
Choose a tag to compare
  • Min file was added for jsDelivr.

2.0.2

30 May 04:40
Compare
Choose a tag to compare
  • window.matchMedia was stopped use because it is not supported in IE9.
    (window.matchMediaはIE9でサポートされていないため、別の方法に替えました。)

2.0.1

30 May 04:40
Compare
Choose a tag to compare
  • Plugin name was changed.
    (プラグイン名、ファイル名、フォルダ名を変更しました。)

2.0.0

30 May 04:40
Compare
Choose a tag to compare
  • Parameters for public method .setFollow() and .setOption() was changed.
    (パブリックメソッド .setFollow().setOption()に必要な引数を変更しました。)
  • position: absolute is required.
    (追尾要素はposition: absoluteが必須となりました。)