Ver Mensaje Individual
  #6 (permalink)  
Antiguo 09/01/2007, 15:04
Avatar de buhomorado
buhomorado
 
Fecha de Ingreso: enero-2005
Mensajes: 324
Antigüedad: 19 años, 3 meses
Puntos: 1
Re: pantalla completa

ummh... no entiendo bien el kodigo Java Script... pero parece ke ese kodigo podria ser la solucion alproblema.

Alguien podria explikarlo?

<SCRIPT TYPE="text/javascript" >

var v = xFlash.versionInstalled;
var f = xLocation.Search["flash"];
var l = xLocation.Search["l"];

var screenh = xWindow.getHeight();
var swfh = 1020;
var lang = (xLocation.Search['lang'] ? xLocation.Search['lang'].toLowerCase() : 'us');
var lcode = (xLocation.Search['lcode'] ? xLocation.Search['lcode'] : '' );



if(lang != 'us') {
document.location.href = "international/index.html?lang=" + lang;
};

/*if(screenh > 1024) {
swfh = 1200;
} else if(screenh > 768) {
swfh = 980;
} else if(screenh > 600) {
swfh = 860;
};*/

function popPrivacy() {
xWindow.openCenter("pop_privacy.html", "PRIVACY", 600, 450);
};

function popTerms() {
xWindow.openCenter("pop_terms.html", "TERMS", 600, 450);
};

function popProductionNotes() {
xWindow.openCenterScroll("productionnotes/index.html", "PRODNOTES", 640, screenh-50);
};

function popReleaseDates() {
var x = Math.round((xScreen.getWidth()-520)/2);
var y = 00;
// window.open("international/pop_releasedates.html", "RELEASEDATES", "width=510,height=" + (xScreen.getHeight()-100) + ",toolbar=false,menubar=false,location=false,scrol lbars=auto,resizeable=false,screenX=" + x + ",left=" + x + ",screenY=" + y + ",top=" + y);
xWindow.openCenterScroll("international/pop_releasedates.html", "RELEASEDATES", 520, xScreen.getHeight()-100);
};


function popWallpaper(file, lang) {
var size = file.split("_")[1].split(".")[0].split("x");
var w = parseInt(size[0]);
var h = parseInt(size[1]);

if(navigator.userAgent.toLowerCase().indexOf('safa ri') > -1) {
window.open('pop_wallpaper.html?img=' + escape(file) + '&lang=' + lang, 'WALLPAPER');
} else {
xWindow.openCenterScroll('pop_wallpaper.html?img=' + escape(file) + '&lang=' + lang, 'WALLPAPER', Math.min(xScreen.getWidth()-50, w), Math.min(xScreen.getHeight()-50, h));
};
};
</SCRIPT>

Kreo ke ese es el kodigo ke hace ke la pagina se vea kompleta.. O estoy ekivokado?