ni falta haría jQuery para eso, pero bueno
Código HTML:
Ver original<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <script type="text/javascript"> $(document).ready(function(){
$('.newWindow').click(function (event){
event.preventDefault();
var url = $(this).attr("href");
var windowName = "popUp";
var caracteristicas = 'height='+screen.height+',width='+screen.width+ ',scrollbars=yes';
window.open(url, windowName, caracteristicas);
});
});
<a href="http://www.mnswf.com/" rel="1" class="newWindow">abrir en ventana nueva
</a>
Saludos