kwhubby
11-26-2002, 06:40 AM
Is there a way to to make a parent frame kill the frames and make a different frame the only thing viewable. Is there a way that won;t get permision denied errors when the child is in a different domain?
Such as this: frame A is one frame that has navigation + anti frame button
frame B is the frame with the page thats being browsed.
push a button on frame A and make it Convert frame B's src to the whole page (kill frame A)
Ive done it previously by getting the frame B's src and doing a top.location.href = (frame B).src
it works, but when frame B is at a different domain (lets say Google)
It gives and error
Such as this: frame A is one frame that has navigation + anti frame button
frame B is the frame with the page thats being browsed.
push a button on frame A and make it Convert frame B's src to the whole page (kill frame A)
Ive done it previously by getting the frame B's src and doing a top.location.href = (frame B).src
it works, but when frame B is at a different domain (lets say Google)
It gives and error