Ver Mensaje Individual
  #1 (permalink)  
Antiguo 25/05/2007, 15:10
Avatar de marijos
marijos
 
Fecha de Ingreso: mayo-2004
Ubicación: Madrid
Mensajes: 241
Antigüedad: 20 años
Puntos: 0
pasar php a asp

Hola buenas! a ver, hice una página en flash en cuyo index.html había un código cuya función era hacer la pantalla sin barra de navegador ni nada... mi problema es que lo subí a un servidor en el cual el técnico me dice que no lee php sino asp, mi pregunta por lo tanto es: ¿cómo sería ese código para que funcionara como asp??

os paso el código:
Código PHP:
window.moveTo(0,0);
if (
document.all) {
top.window.resizeTo(screen.availWidth,screen.availHeight);
}
else if (
document.layers||document.getElementById) {
if (
top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth){
top.window.outerHeight screen.availHeight;
top.window.outerWidth screen.availWidth;
}
}

function 
MM_openBrWindow(theURL,winName,features) { //v2.0
  
window.open(theURL,winName,features);
}
//-->
var titulopordefecto "tituloqsea"
var 
cont=0;
function 
afoto(cual,titulo)
{
if(
cont==1){ventana.close();ventana=null}
if(
titulo==null){titulo=titulopordefecto}
ventana=window.open('','ventana','resizable=yes,scrollbars=no')
ventana.document.write('<html><head><title>' titulo '</title></head><body style="overflow:hidden" marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" scroll="no" onUnload="opener.cont=0"><img src="' cual '" onLoad="opener.redimensionar(this.width, this.height)">');
ventana.document.close();
cont++;
}
function 
redimensionar(anchoalto)
{
ventana.resizeTo(ancho+12,alto+28);
ventana.moveTo((screen.width-ancho)/2,(screen.height-alto)/2); //centra la ventana. Eliminar si no se quiere centrar el popup

muchas gracias!!