Yo tengo esta función en un .js que abre un enlace con una tecla:
 
var Navegador = (window.Event) ? 1 : 0
 
function CompruebaTecla(evento) {
	var codigo = Navegador ? evento.which : event.keyCode
	var tecla = String.fromCharCode(codigo)
	for (var x = 0; x < listaURLs.length; x++) {
		if ( tecla == listaURLs[x].tecla )
			location.href = listaURLs[x].direccion
	}
}
 
function objetoURL(tecla, direccion) {
	this.tecla = tecla
	this.direccion = direccion
}
 
var listaURLs = new Array()
 
listaURLs[0] = new objetoURL("i", "../../index.htm")
listaURLs[1] = new objetoURL("u", "entrar.php")
 
if (Navegador) 
document.captureEvents(Event.KEYPRESS)
document.onkeypress = CompruebaTecla
 
....y tengo esta otra para abrir una ventana:
 
var win=null;
function NewWindow(mypage,myname,w,h,scroll,pos){
if(pos=="random"){LeftPosition=(screen.w  idth)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Mat  h.random()*((screen.height-h)-75)):100;}
if(pos=="center"){LeftPosition=(screen.w  idth)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=0}
settings='width='+w+',height='+h+',top='+TopPositi  on+',left='+LeftPosition+',scrollbars='+scroll+',l  ocation=no,directories=no,status=no,menubar=no,too  lbar=no,resizable=no';
win=window.open(mypage,myname,settings);
if(win.focus){win.focus();}}
function CloseNewWin(){if(win!=null && win.open)win.close()
}
 
.......mi pregunta es ¿cómo hago para que al pulsar una tecla definida por mi utilice esta última función para abrir en enlace en un pop-up.
 
espero haberme explicado bien, sino es así me lo comentais.
 
 
abrazoxxx    
 
<html><center><img src="http://www.globalmedialab.com/firma/zpez_3_1.jpg" height=57 width=458 border="0" alt= ""></a>
</center></html>     
  
 
