PDA

View Full Version : popup to page...


The Wizzard
04-30-2003, 01:12 AM
Hey Everyone!!

Have a question. I have a popup and I want to have a link on it. When the user clicks the link I want the window to close, and then have the website go to that page...

Does that make sense?

Thanks!!

kalijunfan
04-30-2003, 05:48 AM
Hi Wizzard, what you are trying to do is what is known as a remote control in JavaScript. Open a popup window and with a link in that small one, open the selected url in the main window.

The guys at JavaScript Kit (http://www.javascriptkit.com/) have a good tutorial on how to do this, you should check it out. Itīs here:

Creating window remote controls (http://www.javascriptkit.com/javatutors/remote.shtml)

I hope this helps

Bye