I am using javascript to launch a child window with no toolbar. The problem is that the script refreshes the parent page as it opens the child window.
This is messing up the page because the post variables are missing when the page is refreshed. Is there any way I can open a child window without refreshing the parent page?
Below is a copy of the script I'm using.
<SCRIPT LANGUAGE="JAVASCRIPT">
function WinOpen() {
open("notepad.php","Window1","width=338,height=400");
}
</SCRIPT>
<A HREF="<?=$PHP_SELF?>" onclick="WinOpen()"><font face=verdana size=1 color=#ffffff><img src="images/second_nav/notepad.gif" border=0></font></a>
I know this is more of a javascript problem, but i'm desparate and any help would be greatly appreciated.
Thanks.