Okay, might sound a little confusing… lets say i have this:
<html>
<head>
<script>
function alertBob()
{
alert("Focus on Bob Please");
}
</script>
</head>
<body color="black">
<div id="bob">
hello im bob
</div>
<a href="http://bob.com">Bob's Site</a>
</body>
</html>
How would i make it, so that if i click anywhere on the body, except on a hyper link, or on the div layer “bob”, the function alertBob would be executed???