sex
This commit is contained in:
commit
d844e77940
833 changed files with 11089 additions and 0 deletions
1
7ed03149-3725-4cad-85d2-49e6693d5e6a/js/app.js
Normal file
1
7ed03149-3725-4cad-85d2-49e6693d5e6a/js/app.js
Normal file
File diff suppressed because one or more lines are too long
7
7ed03149-3725-4cad-85d2-49e6693d5e6a/js/bootstrap-tagsinput.min.js
vendored
Normal file
7
7ed03149-3725-4cad-85d2-49e6693d5e6a/js/bootstrap-tagsinput.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
7ed03149-3725-4cad-85d2-49e6693d5e6a/js/chart.js
Normal file
1
7ed03149-3725-4cad-85d2-49e6693d5e6a/js/chart.js
Normal file
File diff suppressed because one or more lines are too long
1
7ed03149-3725-4cad-85d2-49e6693d5e6a/js/croppie.min.js
vendored
Normal file
1
7ed03149-3725-4cad-85d2-49e6693d5e6a/js/croppie.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
21
7ed03149-3725-4cad-85d2-49e6693d5e6a/js/sticky-promo.js
Normal file
21
7ed03149-3725-4cad-85d2-49e6693d5e6a/js/sticky-promo.js
Normal file
|
@ -0,0 +1,21 @@
|
|||
var stickyPromoAnchor = $('.sticky-promo-anchor').offset();
|
||||
|
||||
$(window).scroll(function() {
|
||||
xPos = $(this).scrollTop();
|
||||
|
||||
stickyPromo(xPos, stickyPromoAnchor.top);
|
||||
});
|
||||
|
||||
function stickyPromo(xPos, anchorPos)
|
||||
{
|
||||
var offsetBy = 90;
|
||||
var offsetPos = anchorPos - offsetBy;
|
||||
|
||||
if (xPos > offsetPos) {
|
||||
$('.sticky-promo').css('position', 'fixed');
|
||||
$('.sticky-promo').css('top', offsetBy);
|
||||
} else {
|
||||
$('.sticky-promo').css('position', 'relative');
|
||||
$('.sticky-promo').css('top', 0);
|
||||
}
|
||||
}
|
1
7ed03149-3725-4cad-85d2-49e6693d5e6a/js/tag-manager.js
Normal file
1
7ed03149-3725-4cad-85d2-49e6693d5e6a/js/tag-manager.js
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue