Meaningless Drivel is fun!*
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
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "pop up window href" Watch "pop up window href" New topic
Author

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
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
<a href="newPage.html" target="_blank">link</a>
<a href="newPage.html" onclick="window.open(this.href);return false;">link</a>
 
Consider Paul's rocket mass heater.
 
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