21 | 21 |
deleted file mode 100644 |
... | ... |
@@ -1,21 +0,0 @@ |
1 |
-<script src="system/modules/eSM_waypoints/assets/lib/waypoints/<?php echo WAYPOINTS; ?>/assets/js/jquery.waypoints.min.js"></script> |
|
2 |
-<script> |
|
3 |
- (function($) { |
|
4 |
- $(document).ready(function() { |
|
5 |
- |
|
6 |
- var waypoint = { |
|
7 |
- |
|
8 |
- header: new Waypoint({ |
|
9 |
- element: $('#container'), |
|
10 |
- handler: function(direction) { |
|
11 |
- if (direction == 'down') { |
|
12 |
- $('#header').addClass('shrink'); |
|
13 |
- } else { |
|
14 |
- $('#header').removeClass('shrink'); |
|
15 |
- } |
|
16 |
- } |
|
17 |
- }) |
|
18 |
- }; |
|
19 |
- }); |
|
20 |
- })(jQuery); |
|
21 |
-</script> |
22 | 0 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,21 @@ |
1 |
+<script src="system/modules/eSM_waypoints/assets/lib/waypoints/<?php echo WAYPOINTS; ?>/assets/js/jquery.waypoints.min.js"></script> |
|
2 |
+<script> |
|
3 |
+ (function($) { |
|
4 |
+ $(document).ready(function() { |
|
5 |
+ |
|
6 |
+ var waypoint = { |
|
7 |
+ |
|
8 |
+ header: new Waypoint({ |
|
9 |
+ element: $('#container'), |
|
10 |
+ handler: function(direction) { |
|
11 |
+ if (direction == 'down') { |
|
12 |
+ $('#header').addClass('shrink'); |
|
13 |
+ } else { |
|
14 |
+ $('#header').removeClass('shrink'); |
|
15 |
+ } |
|
16 |
+ } |
|
17 |
+ }) |
|
18 |
+ }; |
|
19 |
+ }); |
|
20 |
+ })(jQuery); |
|
21 |
+</script> |