<!DOCTYPE hmtl> | |
<!-- | |
Used to test that a controller click is properly registered on the webpage as | |
if it were a mouseclick/touchscreen tap. | |
--> | |
<html> | |
<head> | |
<style> | |
html, body { | |
height: 100%; | |
margin: 0; | |
} | |
#linktoclick { | |
min-height: 100%; | |
} | |
</style> | |
</head> | |
<script> | |
function navigateOnClick() { | |
window.location.href = "./test_navigation_2d_page.html"; | |
} | |
</script> | |
<body> | |
<div id="linktoclick" onclick="navigateOnClick()">This is a div</div> | |
</body> | |
</html> |