Foro de Programación Cliente este codigo que hace¿? el 22.07.2004 a las 20:43 por hardface · 4 comentarios Seguir este temaSeguir este tema Dejar de seguir este tema 3 seguidores lo he quitao por que la he liao!!!! jijij sorry Comentar Me gusta
hardface
como os decuideis os dejo el formato DMSTK como un lienzo del Joshua Davis, patas arriba.... jijiji
thanx!!!
ese flashmaestro! the returns.....!
;)
pedro_fm
pez
1.- cargarse el formato del foro de DMSTK
jaajaaaa! esa ha estado bien :P :P
el script es un resize de browser a resolucion del cliente. no es de los mas limpios que he visto, yo suelo usar este script:
<code>var Macintosh = navigator.userAgent.indexOf('Mac')>0;
function firstresize(){
thisTargetWidth = screen.width;
thisTargetHeight = screen.height;
resizeWin(thisTargetWidth,thisTargetHeight);
}
function resizeWin(width,height) {
thisTargetWidth = width;
thisTargetHeight = height;
if (self.innerWidth) {
frameWidth = self.innerWidth;
frameHeight = self.innerHeight;
realWidth = self.outerWidth;
realHeight = self.outerHeight;
widthMod = (realWidth - frameWidth);
heightMod = (realHeight - frameHeight);
wt=thisTargetWidth;
ht=thisTargetHeight-25;
self.moveTo(0,0);
self.resizeTo(wt,ht);
}
else {
if ((Macintosh) && (navigator.appVersion.indexOf("MSIE 4.") > 1)) {
window.resizeTo(thisTargetWidth,thisTargetHeight+101);
}
else if (Macintosh) {
if (self.screen.width > 1024) {
window.moveTo(0,0);
}
else {
window.moveTo(0,0);
}
window.resizeTo(thisTargetWidth,thisTargetHeight+107);
}
else {
frameWidth = document.body.offsetWidth;
frameHeight = document.body.offsetHeight;
calcWidth = thisTargetWidth - frameWidth;
calcHeight = thisTargetHeight - frameHeight + 3;
window.moveTo(0,0);
window.resizeBy(calcWidth,calcHeight);
}
}
} </code>
hardface
otia puta.....
sorry sorry!!!!
si lo pongo en negrita¿?
thanx!
pez
1.- cargarse el formato del foro de DMSTK
2.- maximizar la ventana actual (la funcion openwin no es ejecutada)