Ejemplo de ASP
Código :
getURL("Javascript:finscripcion('800','600','center','front')");Código :
function Pedido(infocus){
if(pos=='random'){
LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;
TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;
}
if(pos=='center'){
LeftPosition=(screen.width)?(screen.width-w)/2:100;
TopPosition=(screen.height)?(screen.height-h)/2:100;
}
else if((pos!='center' && pos!='random') || pos==null){
LeftPosition=100;TopPosition=100;
}
settings='width=' + w + ' ,height=' + h + ',top=' + TopPosition + ',left=' + LeftPosition + ',location=no,directories=no,menubar=no,toolbar=no,status=no,scrollbars=no,resizable=no,dependent=no';
introWindowpedido =indow.open("http://localhost/WebAplicativo_Autogas/WbFrm_NotaPedido.aspx",'Formulario',settings);
if(infocus=='front'){
introWindowpedido.focus();
}
}
//esto esta hecho en el codigo de la pàginaEsta lo probe porsiacaso pero tampoco
ejemplo prueba:
getURL("http://www.google.com","_blank") " Esto funciona cuando estoy en flash y hago enter + crtl"
pero si lo habrò como pàgina a este index, no habre nada.
Ese es el proble, quiero ejecutarlo solo en mi màquina
