Ver Mensaje Individual
  #2 (permalink)  
Antiguo 17/06/2009, 00:22
Avatar de sirguy
sirguy
 
Fecha de Ingreso: septiembre-2006
Ubicación: Mallorca
Mensajes: 959
Antigüedad: 17 años, 8 meses
Puntos: 12
Respuesta: ventana de flash

La verdad es que la primera página no tiene Flash, pero bueno. Realmente usa javascript, concretamente estas funciones:

Código:
<script>
function opensite (url, full, w, h) {
    var opts = "width="+ w +",height="+ h +",scrollbars=0";
    if(full == true) opts += ",fullscreen=1";
    //opts += ",top="+(ah-720)/2+",left="+(aw-1000)/2;
    opts += ",top=0,left=0";
    var ow = window.open(url,"ow",opts);
    ow.focus();
}
function openWin(uUrl,wdth,hdth){
	window.open(""+uUrl+"", "NomePopUpSenzaSpazi" , "width="+wdth+",height="+hdth+",top="+((screen.availHeight/2)-(hdth/2))+",left="+((screen.availWidth/2)-(wdth/2))); void(0);
}
function MM_callJS(jsStr) { //v2.0
  return eval(jsStr)
}
</script>
No me queda demasiado claro si llama a la segunda pero por poner que no quede.

Y el enlace html sería:

Código:
<a href="#"><img src="img/es_off.gif" width="93" height="27" border="0"  onClick="MM_callJS('javascript: opensite(\'site_es.html\',0 ,screen.availWidth, screen.availHeight);')"></a>
La verdad prueba esto que es casi lo mismo desde flash:

on(press){
getURL("javascript:window.open('http://www.google.com','','channelmode,scrollbars')");
}

Un saludo
__________________
Chanante!