I'm not very clear on what you are saying. I had a demo of this script set up already. I removed this part:
Code:
<script>
//Use below code to load DHTML Window as page loads
if (ns6) window.onload=new Function('loadwindow("http://www.google.com",600,400)')
else
loadwindow("http://www.google.com",600,400)
</script>
Then I added to the existing link that comes with the script so that I had these two links:
HTML Code:
<a href="javascript:loadwindow('http://www.google.com',600,400)">Geocities</a><br>
<a href="javascript:loadwindow('http://www.yahoo.com',600,400)">Yahoo</a>
Now, when the page loads, also when it is refreshed, there is no pop-up visible. If I click on either link, I get the pop-up with the appropriate page in it. If I click on the other link, while the first is visible, the second replaces it, if I close the pop-up, it goes away. If I refresh, the pop-up goes away. Anyways, what do you expect to have happen?
Bookmarks