Skip to Content

JavaScript File

URL: https://tools.hostboxonline.com/assets/site_new/js/stellar.js
HTTP Status: 200 OK
MIME Type: text/javascript
Last Modified: Mon, 12 Feb 2018 04:50:00 GMT
Download Time: Less than a second
Cookies: None
Size: 23 KB
HTTP Headers:  29 headers
Links In:  1 pages
Links Out:  0 links
Images:  0 images
CSS:  0 files
JavaScript:  0 files
OK Issues: No issues found

1/*!

2 * Stellar.js v0.6.2

3 * http://markdalgleish.com/projects/stellar.js

4 *

5 * Copyright 2013, Mark Dalgleish

6 * This content is released under the MIT license

7 * http://markdalgleish.mit-license.org

8 */

9

10;(function($, window, document, undefined) {

11

12 var pluginName = 'stellar',

13 defaults = {

14 scrollProperty: 'scroll',

15 positionProperty: 'position',

16 horizontalScrolling: true,

17 verticalScrolling: true,

18 horizontalOffset: 0,

19 verticalOffset: 0,

20 responsive: false,

21 parallaxBackgrounds: true,

22 parallaxElements: true,

23 hideDistantElements: true,

24 hideElement: function($elem) { $elem.hide(); },

25 showElement: function($elem) { $elem.show(); }

26 },

27

28 scrollProperty = {

29 scroll: {

30 getLeft: function($elem) { return $elem.scrollLeft(); },

31 setLeft: function($elem, val) { $elem.scrollLeft(val); },

32

33 getTop: function($elem) { return $elem.scrollTop(); },

34 setTop: function($elem, val) { $elem.scrollTop(val); }

35 },

36 position: {

37 getLeft: function($elem) { return parseInt($elem.css('left'), 10) * -1; },

38 getTop: function($elem) { return parseInt($elem.css('top'), 10) * -1; }

39 },

40 margin: {

...

</html>