18 Dogs Proving Life Is Definitely More Interesting With A Pet
5 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;
};
In case you were wondering if life is better with a dog, this is the post for you. And if you’re already a dog owner, you’ll understand and agree with all of this!
1) Somehow they ALWAYS find the mud.
2) “I have no idea what that is. Help.”
3) There’s always enough room…
4) “Okay, this should be enough space.”
5) “Fetch or tug-of-war, fetch or tug-of-war…?”
6) It’s cute when they think they know what they want.
7) This after a long day.
8) “I’m just another doggy!”