D
Dan
Hi
I am trying to use this javascript code to see if a frame is part of a
parent. It displays yes when it is part of a parent, but my only
problem is that it doesn't display no when it is not part of a parent.
In other words, when top.bob.document.title = test it displays yes, but
when it isn't test it doesn't display anything.
<script>
if (top.bob.document.title == "test"){
document.write("yes")
}
else{
document.write("no")
}
</script>
Dan
I am trying to use this javascript code to see if a frame is part of a
parent. It displays yes when it is part of a parent, but my only
problem is that it doesn't display no when it is not part of a parent.
In other words, when top.bob.document.title = test it displays yes, but
when it isn't test it doesn't display anything.
<script>
if (top.bob.document.title == "test"){
document.write("yes")
}
else{
document.write("no")
}
</script>
Dan