Cashier Is Stunned When A Couple Of Nuns Buy A Six-Pack Of Beer, But What He Says To Them Is Hilarious…
4 years ago
Want more stories like this? Follow Us!
I already have<\/div>
<\/div>
I already have<\/div>
<\/div> <\/div>
<\/div>
<\/div>';
jQuery('body').append(popup);
jQuery('div.close').click(function () {
disablePopup();
});
jQuery('div.close1').click(function () {
disablePopuplike();
});
var userHasScrolled = false;
var hasPoppedUp =false;
function getLastOffsetTop(el) {
if(el) {
if (el.lastOffsetTop) {
return el.lastOffsetTop;
}
else {
return el.offsetTop;
}
}
return 0;
}
window.addEventListener('scroll', function() {
var scrollTop = window.pageYOffset;
var el = document.getElementById('creditsbox_element');
var tOffsetTop = totalOffsetTop(el);
if (scrollTop > tOffsetTop-window.innerHeight+200){setTimeout(function(){
clickcallpopup();
},60000);
hasPoppedUp = true;}
});
var totalOffsetTop = function(element) {
var top = 0, left = 0;
if(element) {
do {
top += element.offsetTop || 0;
left += element.offsetLeft || 0;
element = element.offsetParent;
} while(element);
}
return top;
};
(Source)
If you know someone who might like this, please click “Share!
Related Posts
After Thirsty Little Girl Gave Water To Those In Need, A Star Is Named After Her
November 11, 2017
A Rich Man Insulted Her Career Choice, But Her Response Will Make Him Think Twice…
August 29, 2016
Teens Ignored Her After She Politely Asked Them To Turn The Music Down, But They Did Not Expect What Came Next…
October 21, 2016
30 Jokes That Are So Bad, They Are Actually Hilarious
October 17, 2016
People Were Feeling Sorry For This Elderly Couple, But What They Did Next Was Surprising…
September 22, 2016
Couple Hid This Special Note Around The House For Each Other For Over Half Century Of Marriage
September 13, 2016