I am yet another newbie to JavaScript but can sometimes manage to find my way around it - so please bear with me.
I have searched through this forum and although there are some similar topics I cannot find one that completely answers my questions.
What I am trying to do is this: I have a page on which there are links and when a user clicks on one of these links a popup window is opened (this I can do) and if the user clicks on another link then it opens in the same popup window (again I can manage this). Here is problem one - on the second, or subsequent link selection the popup window is at the back - how do I keep it on top?
The second part of my problem is that when a user clicks on a link in the popup window how do I get the new page to display in the original window and at the same time close the popup window. I can get it to open in another window and close the popup.
I feel that I am almost there but I am missing something somewhere. Any help would be gratefully appreciated but please remember I am new to javaScript so make it simple!
Many thanks
I have searched through this forum and although there are some similar topics I cannot find one that completely answers my questions.
What I am trying to do is this: I have a page on which there are links and when a user clicks on one of these links a popup window is opened (this I can do) and if the user clicks on another link then it opens in the same popup window (again I can manage this). Here is problem one - on the second, or subsequent link selection the popup window is at the back - how do I keep it on top?
The second part of my problem is that when a user clicks on a link in the popup window how do I get the new page to display in the original window and at the same time close the popup window. I can get it to open in another window and close the popup.
I feel that I am almost there but I am missing something somewhere. Any help would be gratefully appreciated but please remember I am new to javaScript so make it simple!
Many thanks