サイネージのトップページから遷移する方法
どこかの要素をクリック、もしくはYキーを取得
/*↓----------topクリック----------↓*/
$(function(){
$(".tap-move").click(function() {
setTimeout(function(){
window.location.href = 'xxxx.html';
}, 800);
//window.location.href = 'xxxx.html';
});
/*↑----------topクリック----------↑*/
/*↓----------Yキーで遷移----------↓*/
document.onkeydown = pageMove;
function pageMove(){
if (event.keyCode == 89){ //「Y」が押されたか確認
setTimeout(function(){
window.location.href = 'xxxx.html';
}, 800);
//window.location.href = 'xxxx.html';
}
}
/*↑----------Yキーで遷移----------↑*/
});
/*↑----------topからの遷移----------↑*/