Abrir pagina ASP sin barra de navegacion,menus..etc
hola, alguien podría decirme si se puede abrir una página asp sin la barra de opciones, barra de menus..etc, etc, pero pasandole parámetros desde la página que la abre para poder acceder a una BD?
Gracias de antemano, un saludo
Gracias de antemano, un saludo
yo tengo este ejemplo...a ver si te sirve
<html>
<head>
<SCRIPT LANGUAGE="JavaScript">
function NewWindow(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
win=window.open(mypage,'_blank','toolbar=0,location=0,close=yes,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,height='+h+',width='+w+',top='+wint+',left='+winl+'');
if (parseInt(navigator.appVersion) >= 4)
{
win.window.focus();
}
}
function JsAceptar()
{
NewWindow('pagina.asp','name','520','425','no');
}
</script>
</head>
<body>
<form>
<center>
<font face="arial" size="1" color=blue><a href="javascript:JsAceptar();">Abrir ventana</a>
</font></center>
</form>
</body>
</html>
suerte
<html>
<head>
<SCRIPT LANGUAGE="JavaScript">
function NewWindow(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
win=window.open(mypage,'_blank','toolbar=0,location=0,close=yes,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,height='+h+',width='+w+',top='+wint+',left='+winl+'');
if (parseInt(navigator.appVersion) >= 4)
{
win.window.focus();
}
}
function JsAceptar()
{
NewWindow('pagina.asp','name','520','425','no');
}
</script>
</head>
<body>
<form>
<center>
<font face="arial" size="1" color=blue><a href="javascript:JsAceptar();">Abrir ventana</a>
</font></center>
</form>
</body>
</html>
suerte
