jsolutions
Programmer
I want to do something that I thought would be fairly easy. When my index.html page opens, I am opening another page that has content that takes a while to load. I am using the code below.
This opens a new window with the content. However, the problem is that I then want the focus to go back to index.html. I have tried using self.focus() after the window.open, but whether I use that or not, it seems to throw the focus to the new window.
How can I regain focus to index.html?? Any help would be greatly appreciated.
Thanks
Code:
<SCRIPT LANGUAGE="javascript">
<!--
window.open ('page.html', 'newwindow')
-->
</SCRIPT>
How can I regain focus to index.html?? Any help would be greatly appreciated.
Thanks