He Creates A Clever Game For His Cat. How The Cat Solves It Is Genius.
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){}
});
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;
};
Ben Millam might have invented the best bit of tech for cats yet. To make his cat Monkey the hunting machine he is now, Millam used “clicker” training. After each stage of the behavior, give positive reinforcement to reward the behavior. Millam used three different sequences of behavior to train Monkey: one to retrieve the ball, one to deliver the ball to the target and a final one to combine the two (find the ball, retrieve it and deliver it to the target).
If you know someone who might like this, please click “Share!”
Prev Article Next Article