浙ICP备11019884号-1  
友情链接:888真人赌场  葡京开户  皇冠赌场平台  澳门威尼斯人网址  巴黎人视讯网投  澳门金沙线上官网  赌钱棋牌  澳门金沙游戏平台  银丰棋牌  澳门老葡京官网  澳门新濠天地娱乐游戏  澳门银河官网网址  澳门真人游戏  888真人集团  澳门金沙游戏赌博
var demo = document.getElementById('demo'); var sx = sy = 1; var x = y = 300; function move(){ if(document.documentElement.clientWidth - demo.offsetWidth-1 < x || x < 0){ sx = -sx; } if(document.documentElement.clientHeight - demo.offsetHeight-1 < y || y < 0){ sy = -sy; } x = demo.offsetLeft + sx; y = demo.offsetTop + sy; demo.style.left = x + 'px'; demo.style.top = y + 'px'; } var timer = setInterval(move, 40); demo.onmouseover = function(){ clearInterval(timer); } demo.onmouseout = function(){ timer = setInterval(move, 40); }