Skip to Content

JavaScript File

URL: http://sexteller.com/js/services/scrollFix2.js?v=142
HTTP Status: 200 OK
MIME Type: application/javascript
Last Modified: Sun, 07 Nov 2021 13:26:34 GMT
Download Time: Less than a second
Cookies: None
Size: 29 KB
HTTP Headers:  10 headers
Links In:  2 pages
Links Out:  0 links
Images:  0 images
CSS:  0 files
JavaScript:  0 files
OK Issues: No issues found

1/*

2 * HC-Sticky

3 * =========

4 * Version: 2.2.7

5 * Author: Some Web Media

6 * Author URL: https://github.com/somewebmedia

7 * Plugin URL: https://github.com/somewebmedia/hc-sticky

8 * Description: JavaScript library that makes any element on your page visible while you scroll

9 * License: MIT

10 */

11

12'use strict';

13

14(function(global, factory) {

15 if (typeof module === 'object' && typeof module.exports === 'object') {

16 if (global.document) {

17 module.exports = factory(global);

18 }

19 else {

20 throw new Error('HC-Sticky requires a browser to run.');

21 }

22 }

23 else if (typeof define === 'function' && define.amd) {

24 define('hcSticky', [], factory(global));

25 }

26 else {

27 factory(global);

28 }

29})(typeof window !== 'undefined' ? window : this, (window) => {

30 const document = window.document;

31

32 const DEFAULT_OPTIONS = {

33 top: 0,

34 bottom: 0,

35 bottomEnd: 0,

36 innerTop: 0,

37 innerSticker: null,

38 stickyClass: 'sticky',

39 stickTo: null,

40 followScroll: true,

...

</html>