The moose likes HTML, CSS and JavaScript and the fly likes pop up window href Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "pop up window href" Watch "pop up window href" New topic

pop up window href

Artemesia Lakener
Ranch Hand

Joined: Jun 21, 2005
Posts: 162
<href> syntax redirect pages but I want to click a link and pop up new window. how to do that ?
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15376
<a href="newPage.html" target="_blank">link</a>
<a href="newPage.html" onclick="window.open(this.href);return false;">link</a>
jQuery in Action, 2nd edition
subject: pop up window href
Similar Threads
javascript:window.close() not working in firefox
new window quality
How to get the Pop-up window in the center of the screen
Hide Standart Buttons in Taskbar
Refreshing Parent Window from Child