Hi all,
I'd like to ask if anyone knows how to access the main frame (parent) from within some child frame (created using frameset)? I'm doing chat and I need to redirect user to another page when he is kicked from the room (the redirection should be made from within the frame which displays the room content and which is refreshed every 10 seconds). I presume that some javascript object interface is needed for that. Maybe something like this:
but this is only my suggestion and I don't know it exactly.
Thanks for help
I'd like to ask if anyone knows how to access the main frame (parent) from within some child frame (created using frameset)? I'm doing chat and I need to redirect user to another page when he is kicked from the room (the redirection should be made from within the frame which displays the room content and which is refreshed every 10 seconds). I presume that some javascript object interface is needed for that. Maybe something like this:
Code:
document.frame.parent.location=URL
Thanks for help