...

View Full Version : moving the parent window to another place



joonstar
07-22-2006, 03:36 AM
parent.htm

<a href='child_as_newWindow.htm' target='_blank'>
child_as_newWindow
</a>

If a user clicks the link above, a newWindow will pop.

I like to write some code in child_as_newWindow.htm.

The code has a button named "close."

If the user clicks the button "close," child_as newWindow.htm will be close.
At the same time, the parent.htm will go to another_parent.htm.

Can I do it with your help?

subhailc
07-22-2006, 09:22 AM
close.onclick=function(){parent.moveTo(500,500);self.close();};



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum