Web Analytics Made Easy -
StatCounter Need help in referencing main window. - CodingForum

Announcement

Collapse
No announcement yet.

Need help in referencing main window.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Need help in referencing main window.

    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

  • #2
    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>
    bluemood | devedge | devmo | MS Dev Library | WebMonkey | the Guide

    i am a loser geek, crazy with an evil streak,
    yes i do believe there is a violent thing inside of me.

    Comment


    • #3
      Danke, Danke.

      Comment

      Working...
      X