can't touch this

by Kingdaro

JavaScript

var text = '';

var clickMe = document.createElement('div');
clickMe.style.width = '60px';
clickMe.style.height = '60px';
clickMe.style.border = '1px solid silver';
clickMe.style.position = 'absolute';

clickMe.style.backgroundColor = 'darkblue';
clickMe.innerHTML = text;

function hover(event){
    var self = event.target;
    self.style.left = (Math.random()*(window.innerWidth-60)) + 'px';
    self.style.top = (Math.random()*(window.innerHeight-60)) + 'px';
}

clickMe.onmousemove = hover;
document.body.appendChild(clickMe);