Okay here is what i tried so far:
<script language=javascript>
<!--
function get_close()
{
var blar = parent.top.location;
alert(blar);
}
//-->
</script>
</head>
<body>
<a href="" onClick="get_close();">Getandclose</a><br>
</body>
</html>
Okay for this set up i have two frames. this code resides in th etop frame called top and the target is in the frame called bottom.. i just did this to see if i could get it to return the url... it works fine when the parent.top.location, but wont do anything when its parent.bottom.location. i tried both your examples and couldnt get them to return anything.... am idoing it wrong or is this happending because of some security thing?
please any help is appreciated. thanks
-emrys