Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Browser Menu Bar 1

Status
Not open for further replies.

stevenk140

Programmer
Nov 20, 2003
34
CA
I would like to get rid of the menu bar on my popup page.

I have a hyperlink control that links to a page, and I would like that link to popup a new window without a menubar.

I know you can open new windows using javascript:

window.open(link, null, "menubar=no", null)

But I don't know how to make my link do something like this.
 
the only way I know of manipulating the window is using javascript as you stated. either call the function from the link or you can place it in the href itself

<a href=&quot;javascript:void(0)&quot; onClick=&quot;window.open(link, null, 'menubar=no')&quot;>link</a>



_____________________________________________________________________
onpnt2.gif
[sub]
Hakuna matata!!
[/sub]
 
Now this leads me into another question...

I was hoping that once I clicked a link, it would open a new window. Then if a clicked another link, it would open another new window, instead of replacing the first window with the new page.

Would anyone know how to do this?

 
target=&quot;_blank&quot; in the href tag. [smile]

the other forums including the HTML forum215 javascript forum216 may also have more solutions for you.

_____________________________________________________________________
onpnt2.gif
[sub]
Hakuna matata!!
[/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top