Click to See Complete Forum and Search --> : How to Autoforward page to TARGET=_parent?
NetTechie
11-07-2003, 10:08 AM
Hey, I need a page to automatically forward to another one, and do it with parent, and therefore get out of the frame that it is in... is this possible with Javascript? I have looked at location.href and it doesn't seem to have a target attribute... did I look in the wrong place? How would I do this? Thanks!!
Shampie
11-07-2003, 10:22 AM
for page itself it will be this.parent
for a frame( check the name of the frame)
parent.framename
(if you have a button in parent.framename and you add location.replace(blaat.htm) or such it will open in that frame.
hope that will give ya an idea..
NetTechie
11-07-2003, 10:34 AM
Friggin awesome dude! It worked! Thanks a lot... didn't occur to me to try the this.parent.location "dot" approach... I'm a real newbie at Javascript. Thanks a million!