Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<html>
<head>
<script type="text/javascript">
window.onload = setupFunc;
function setupFunc() {
document.getElementsByTagName('body')[0].onclick = clickFunc;
}
function clickFunc(eventData) {
var clickedElement = (window.event) ? event.srcElement : eventData.target;
alert('You clicked the element with a tag name of:\n\n' + clickedElement.tagName + '\n\nand an ID of:\n\n' + clickedElement.id);
}
</script>
</head>
<body>
<div id="wibble">
<span id="someOther1">
Click
</span>
<span id="someOther2">
Me
</span>
</div>
</body>
</html>