the code generated by the host it's like this:
<script>
function begin() {
popup = window.open (and so on...)
page1.location.href="MyIndex.html";
}
</script>
<html>
<head></head>
<Frameset rows="*,1" onload="begin();">
<frame name="page1">
<frame name="page2">
</frameset>
</html>
so, the server generates 2 frames: and invisible one(1 pixel size) and the
big one that contains my website.
INSIDE MY MyIndex.html I wrote javascript like: popup.close(); and no
result; parent.frames[0].popup.close() and no result.
I don't know if what i'm asking is possible to do:closing the popup window
from myindex.html (hosted at page1 frame)
ANY IDEAS PLEASE???
Is the problem that the variable 'popup' is not available outside of the
begin function? Normally something like
parent.popup.close();
should work but only if popup is in scope. I can see your problem but can't
offer any definitive solution. :(
Martin
"José.A Torres" <mico...@midominio.bis> wrote in message
news:Oxs8MkIv...@TK2MSFTNGP14.phx.gbl...