# Netscape pop ups returning page to top

**URL:** https://forum.kirupa.com/t/netscape-pop-ups-returning-page-to-top/18659
**Category:** Uncategorized
**Created:** [April 19, 2003, 3:01am UTC](https://forum.kirupa.com/t/netscape-pop-ups-returning-page-to-top/18659 "2003-04-19T03:01:34Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![violet](https://avatars.discourse-cdn.com/v4/letter/v/ebca7d/32.png) [@violet](https://forum.kirupa.com/u/violet)
#### Post date: [April 19, 2003, 3:01am UTC](https://forum.kirupa.com/t/netscape-pop-ups-returning-page-to-top/18659/1 "2003-04-19T03:01:34Z")

</div>

HI!

I am trying to make some pop up windows in dreamweaver using the open browser window behavior  
I have it se up so all the html doc load in to the same pop up as to avoid multiple pop ups.

what is happening is that in netscape when I click on the link the main page that the link to the pop up is on  
returns to the top of the page I suspect it has to do with the \<a href="#" in the links prop window…

how do I make this go away…  
script for pop ups

```php

<script language="JavaScript" type="text/JavaScript">
<!--

//tmtC_winOpen
var popwin1;
//tmtC_winOpenEnd

function tmt_winOpen(u,id,f,df){
	if(eval(id)==null||eval(id+".closed")){
	eval(id+"=window.open('"+u+"','"+id+"','"+f+"')");eval(id+".focus()");}
	else if(df){eval(id+".focus()");}
	else{eval(id+"=window.open('"+u+"','"+id+"','"+f+"')");eval(id+".focus()");}
}
//-->

```

script for pop up links

```php

><a href="#" onClick="tmt_winOpen('VenueInfo/BirchmereMusicHall.html','popwin1','width=350,height=460,left=0,top=0,status=yes',0)"><img src="/wheelsm2t.gif" width="40" height="41" border="0"></a>

```

\</script\>

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [April 19, 2003, 3:08am UTC](https://forum.kirupa.com/t/netscape-pop-ups-returning-page-to-top/18659/2 "2003-04-19T03:08:00Z")

</div>

href="#" is the reason it gets sent to the top.

Change it to href=“javascript:void(0);” instead. That way it will void the link instead of sending it to the top.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [April 19, 2003, 5:12am UTC](https://forum.kirupa.com/t/netscape-pop-ups-returning-page-to-top/18659/3 "2003-04-19T05:12:29Z")

</div>

thanks…my brain wasn’t working thanks for jolting it…i ended up using: javascript:;

:love:
