# Simple (?) HTML question: Link opens in new non-menu window (with netObjects)

**URL:** https://boards.straightdope.com/t/simple-html-question-link-opens-in-new-non-menu-window-with-netobjects/115243
**Category:** Factual Questions
**Created:** [June 21, 2002, 10:57am UTC](https://boards.straightdope.com/t/simple-html-question-link-opens-in-new-non-menu-window-with-netobjects/115243 "2002-06-21T10:57:14Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![richardb](https://avatars.discourse-cdn.com/v4/letter/r/96bed5/32.png) [@richardb](https://boards.straightdope.com/u/richardb)
#### Post date: [June 21, 2002, 10:57am UTC](https://boards.straightdope.com/t/simple-html-question-link-opens-in-new-non-menu-window-with-netobjects/115243/1 "2002-06-21T10:57:14Z")

</div>

[Sub](Hopefully this is a pretty simple question, and I hope I don’t offend anyone because I think it will be easier for someone to give me a quick answer rather than have me expend a bunch of brain cells looking up the answer through what I’m sure are a plethora of web sites containing HTML code.)[/Sub]

What is the HTML code for a link to open in a new window (leaving the first window with the clicked hot text or graphic in it open), and that doesn’t have any menu items except maybe a title bar?

I use NetObjects Fusion to build a web site, and it is all point and click and drag, so I don’t really know that much HTML coding. I don’t know how to acheive this effect in NetObject Fusion 5.0 (which is what I have), but the program allows you to put in your own HTML code to do things beyond that which is programed in to do automatically for you.

So what is that code? Is this simple enough for someone to rattle off the top of their head?

THANKS!

---

<div class="post-metadata">

### Author: ![Crusoe](https://avatars.discourse-cdn.com/v4/letter/c/49beb7/32.png) [@Crusoe](https://boards.straightdope.com/u/Crusoe)
#### Post date: [June 21, 2002, 11:28am UTC](https://boards.straightdope.com/t/simple-html-question-link-opens-in-new-non-menu-window-with-netobjects/115243/2 "2002-06-21T11:28:20Z")

</div>

Use this:

```auto

<A HREF="http://www.yourlinkhere.com/blah.htm" target="_blank">Link text.</A>

```

---

<div class="post-metadata">

### Author: ![Urban\_Ranger](https://avatars.discourse-cdn.com/v4/letter/u/e9c0ed/32.png) [@Urban\_Ranger](https://boards.straightdope.com/u/Urban_Ranger)
#### Post date: [June 21, 2002, 11:38am UTC](https://boards.straightdope.com/t/simple-html-question-link-opens-in-new-non-menu-window-with-netobjects/115243/3 "2002-06-21T11:38:20Z")

</div>

That unfortunately opens a normal window.

---

<div class="post-metadata">

### Author: ![Crusoe](https://avatars.discourse-cdn.com/v4/letter/c/49beb7/32.png) [@Crusoe](https://boards.straightdope.com/u/Crusoe)
#### Post date: [June 21, 2002, 11:54am UTC](https://boards.straightdope.com/t/simple-html-question-link-opens-in-new-non-menu-window-with-netobjects/115243/4 "2002-06-21T11:54:56Z")

</div>

Sorry. I misread the OP. My fault.

---

<div class="post-metadata">

### Author: ![Crusoe](https://avatars.discourse-cdn.com/v4/letter/c/49beb7/32.png) [@Crusoe](https://boards.straightdope.com/u/Crusoe)
#### Post date: [June 21, 2002, 11:57am UTC](https://boards.straightdope.com/t/simple-html-question-link-opens-in-new-non-menu-window-with-netobjects/115243/5 "2002-06-21T11:57:52Z")

</div>

I _think_ it can only be done with Javascript, not plain HTML.

[Here is a tutorial on Javascript menubar-free pop-ups](http://www.katsueydesignworks.com/cgi_basic_popup.htm).

---

<div class="post-metadata">

### Author: ![richardb](https://avatars.discourse-cdn.com/v4/letter/r/96bed5/32.png) [@richardb](https://boards.straightdope.com/u/richardb)
#### Post date: [July 9, 2002, 1:59pm UTC](https://boards.straightdope.com/t/simple-html-question-link-opens-in-new-non-menu-window-with-netobjects/115243/6 "2002-07-09T13:59:05Z")

</div>

OK, just double checking:

Must this be done with Javascript, or is there any way can it be done in plain HTML?

Is there no HTML that will open a page in a new browser window without closing the first one?

Thanks…

---

<div class="post-metadata">

### Author: ![Crusoe](https://avatars.discourse-cdn.com/v4/letter/c/49beb7/32.png) [@Crusoe](https://boards.straightdope.com/u/Crusoe)
#### Post date: [July 9, 2002, 2:14pm UTC](https://boards.straightdope.com/t/simple-html-question-link-opens-in-new-non-menu-window-with-netobjects/115243/7 "2002-07-09T14:14:48Z")

</div>

HTML can be used to open a new browser window. However, because HTML is a language for marking up the structure of the document, it cannot be used to alter the browser window itself (e.g. hiding the address bar), only the contents of the document in the window.

---

<div class="post-metadata">

### Author: ![black\_rabbit](https://avatars.discourse-cdn.com/v4/letter/b/f19dbf/32.png) [@black\_rabbit](https://boards.straightdope.com/u/black_rabbit)
#### Post date: [July 9, 2002, 4:05pm UTC](https://boards.straightdope.com/t/simple-html-question-link-opens-in-new-non-menu-window-with-netobjects/115243/8 "2002-07-09T16:05:31Z")

</div>

Gotta do it with javascript.

In the head of the referring doc:

```auto

<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,width=800,height=600');");
}
// End -->
</script>

```

You’ll have to play around with the width and height settings to get something that looks right.

The link tags for the new windows should look like this:

```auto

<a href="javascript:popUp('yourpage.html')">

```

Here’s an example… feel free to grab the source:

[http://neussubjex.net/gallery/zc/index.html](http://neussubjex.net/gallery/zc/index.html)
