PDA

View Full Version : Need help in referencing main window.


Entropy
06-29-2002, 07:25 PM
Hi,

I'm trying to make a small menu window (200x400) popup when a link is clicked in the main screen. This I've been able to do with "_blank".

My problem is that this new small window is a floating links menu, and I need it to go back and open the linked page when clicked in the main browser window.

I'm rather new to javascript, can anyone help?

Thank you much.
Entropy

joh6nn
06-29-2002, 07:28 PM
if you put this in the main browser window

<script>
window.name = "something";
</script>

then, you can just target all of the links from the popup into "something". eg:

<A HREF="somepage.htm" TARGET="something">click click</A>

Entropy
06-29-2002, 11:09 PM
Danke, Danke.