entreri
August 12th, 2003, 04:59 PM
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???
thanks in advance,
entreri
Shoot how do i not make it do html ?
<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???
thanks in advance,
entreri
Shoot how do i not make it do html ?