È soltanto un Pokémon con le armi o è un qualcosa di più? Vieni a parlarne su Award & Oscar!
Telegiornaliste Fans Forum
TELEGIORNALISTE FANS FORUM - Forum ufficiale del settimanale Telegiornaliste
Buon compleanno a  
 
Pagina precedente | 1 | Pagina successiva

|¬ L ¬|

Ultimo Aggiornamento: 09/12/2003 19:50
Autore
Vota | Stampa | Notifica email    
OFFLINE
Post: 2.404
Registrato il: 27/12/2002
Città: ACCIANO
Età: 44
Sesso: Maschile
06/12/2003 18:57
 
Quota

<SCRIPT language=JavaScript>


var dir = "http://info.supereva.it/mgxvdl237/lollo/";

var images = new Array(
dir+"../antdl.gif",
dir+"../antdn.gif",
dir+"../antdr.gif",
dir+"../antlt.gif",
dir+"../antrt.gif",
dir+"../antul.gif",
dir+"../antup.gif",
dir+"../antur.gif"
);

var isMinNS4 = (document.layers) ? 1 : 0;
var isMinIE4 = (document.all) ? 1 : 0;

var _LBimgList;
var _LBimgCount;
var _LBbase = "LBbase";
var _LBlow = "LBlow";
var _LBhigh = "LBhigh";
var _LBwidth;
var _LBheight;
var _LBbaseLayer;
var _LBlowLayer;
var _LBhighLayer;
function createLoadBar(width, height, bdSize, bdColor, bgColor, fgColor, fontFace, fontSize, text) {
var txtLow, txtHigh, tblStart, tblEnd;
var str;
txtLow = '' + text + '';
txtHigh = '' + text + '';
tblStart = '

';
tblEnd = '
';
if (isMinNS4)
str = '\n'
+ ' ' + tblStart + txtLow + tblEnd + '\n'
+ ' ' + tblStart + txtHigh + tblEnd + '\n'
+ '
';
if (isMinIE4)
str = '
\n'
+ '
' + tblStart + txtLow + tblEnd + '
\n'
+ '
' + tblStart + txtHigh + tblEnd + '
\n'
+ '
';
document.writeln(str);
_LBwidth = width - 2 * bdSize;
_LBheight = height - 2 * bdSize;
}
function startLoadBar(srcList, x, y) {
var i, w, h;
if (isMinNS4) {
_LBbaseLayer = document.layers[_LBbase];
_LBlowLayer = _LBbaseLayer.document.layers[_LBlow];
_LBhighLayer = _LBbaseLayer.document.layers[_LBhigh];
}
if (isMinIE4) {
_LBbaseLayer = eval('document.all.' + _LBbase);
_LBlowLayer = eval('document.all.' + _LBlow);
_LBhighLayer = eval('document.all.' + _LBhigh);
}
if (isMinNS4) {
w = window.innerWidth;
h = window.innerHeight;
}
if (isMinIE4) {
w = document.body.clientWidth;
h = document.body.clientHeight;
}
if (x == null)
x = Math.round((w - _LBwidth) / 2);
if (y == null)
y = Math.round((h - _LBheight) / 2);
moveLayerTo(_LBbaseLayer, x, y);
clipLayer(_LBhighLayer, 0, 0, 0, _LBheight);
showLayer(_LBbaseLayer);
_LBimgCount = 0;
_LBimgList = new Array();
for (i = 0; i < srcList.length; i++) {
_LBimgList = new Image();
_LBimgList.onabort = _LBupdate;
_LBimgList.onerror = _LBupdate;
_LBimgList.onload = _LBupdate;
}
for (i = 0; i < srcList.length; i++)
_LBimgList.src = srcList;
}
function endLoadBar() { // empty (can be changed) function called when finished
}
function _LBupdate() {
var pct;
_LBimgCount++;
pct = _LBimgCount / _LBimgList.length;
clipLayer(_LBhighLayer, 0, 0, Math.round(pct * _LBwidth), _LBheight);
if (_LBimgCount == _LBimgList.length) {
setTimeout('hideLayer(_LBbaseLayer)', 500);
endLoadBar();
}
}
function moveLayerTo(layer, x, y) {
if (isMinNS4)
layer.moveTo(x, y);
if (isMinIE4) {
layer.style.left = x;
layer.style.top = y;
}
}
function hideLayer(layer) {
if (isMinNS4)
layer.visibility = "hide";
if (isMinIE4)
layer.style.visibility = "hidden";
}
function getWindowWidth() {
if (isMinNS4)
return(window.innerWidth);
if (isMinIE4)
return(document.body.offsetWidth);
return(-1);
}
function getWindowHeight() {
if (isMinNS4)
return(window.innerHeight);
if (isMinIE4)
return(document.body.offsetHeight);
return(-1);
}
function getPageScrollX() {
if (isMinNS4)
return(window.pageXOffset);
if (isMinIE4)
return(document.body.scrollLeft);
return(-1);
}
function getPageScrollY() {
if (isMinNS4)
return(window.pageYOffset);
if (isMinIE4)
return(document.body.scrollTop);
return(-1);
}
function getHeight(layer) {
if (isMinNS4) {
if (layer.document.height)
return(layer.document.height);
else
return(layer.clip.bottom - layer.clip.top);
}
if (isMinIE4) {
if (false && layer.style.pixelHeight)
return(layer.style.pixelHeight);
else
return(layer.clientHeight);
}
return(-1);
}
function getWidth(layer) {
if (isMinNS4) {
if (layer.document.width)
return(layer.document.width);
else
return(layer.clip.right - layer.clip.left);
}
if (isMinIE4) {
if (layer.style.pixelWidth)
return(layer.style.pixelWidth);
else
return(layer.clientWidth);
}
return(-1);
}
function getLeft(layer) {
if (isMinNS4)
return(layer.left);
if (isMinIE4)
return(layer.style.pixelLeft);
return(-1);
}
function getTop(layer) {
if (isMinNS4)
return(layer.top);
if (isMinIE4)
return(layer.style.pixelTop);
return(-1);
}
function getRight(layer) {
if (isMinNS4)
return(layer.left + getWidth(layer));
if (isMinIE4)
return(layer.style.pixelLeft + getWidth(layer));
return(-1);
}
function getBottom(layer) {
if (isMinNS4)
return(layer.top + getHeight(layer));
else if (isMinIE4)
return(layer.style.pixelTop + getHeight(layer));
return(-1);
}
function moveLayerBy(layer, dx, dy) {
if (isMinNS4)
layer.moveBy(dx, dy);
if (isMinIE4) {
layer.style.pixelLeft += dx;
layer.style.pixelTop+= dy;
}
}
function showLayer(layer) {
if (isMinNS4)
layer.visibility = "show";
if (isMinIE4)
layer.style.visibility = "visible";
}
function clipLayer(layer, clipleft, cliptop, clipright, clipbottom) {
if (isMinNS4) {
layer.clip.left = clipleft;
layer.clip.top= cliptop;
layer.clip.right= clipright;
layer.clip.bottom = clipbottom;
}
if (isMinIE4)
layer.style.clip = 'rect(' + cliptop + ' ' +clipright + ' ' + clipbottom + ' ' + clipleft +')';
}
var mouseX = 0;
var mouseY = 0;
if (isMinNS4)
document.captureEvents(Event.MOUSEMOVE);
document.onmousemove = getMousePosition;
function init() {
startLoadBar(images);
}
function getMousePositi0n(e) {
if (isMinNS4) {
mouseX = e.pageX;
mouseY = e.pageY;
}
if (isMinIE4) {
mouseX = event.clientX + document.body.scrollLeft;
mouseY = event.clientY + document.body.scrollTop;
}
return true;
}
var ants = new Array(8);
function endLoadBar() {
var i;
for (i = 0; i < ants.length; i++) {
if (isMinNS4) {
ants = document.layers["ant" + (i + 1)];
ants.image = ants.document.images["antimg" + (i + 1)];
}
if (isMinIE4) {
ants = eval('document.all.ant' + (i + 1));
ants.image = document.images["antimg" + (i + 1)];
}
initAnt(i);
showLayer(ants);
}
updateAnts();
}
function initAnt(n) {
var s, x, y;
x = Math.floor(Math.random() * getWindowWidth());
y = Math.floor(Math.random() * getWindowHeight());
s = Math.floor(Math.random() * 4);
if (s == 0)
x = -getWidth(ants[n]);
if (s == 1)
x = getWindowWidth();
if (s == 2)
y = -getHeight(ants[n]);
if (s == 3)
y = getWindowHeight();
x += getPageScrollX();
y += getPageScrollY();
moveLayerTo(ants[n], x, y);
}
function updateAnts() {
var i, dx, dy, theta, d;
d = 3;
for (i = 0; i < ants.length; i++) {
dx = mouseX - getLeft(ants);
dy = mouseY - getTop(ants);
theta = Math.round(Math.atan2(-dy, dx) * 180 / Math.PI);
if (theta < 0)
theta += 360;
if (Math.abs(dx) < d && Math.abs(dy) < d)
initAnt(i);
else if (theta > 22.5 && theta <= 67.5) {
moveLayerBy(ants, d, -d);
ants.image.src = dir+"antur.gif";
}
else if (theta > 67.5 && theta <= 112.5) {
moveLayerBy(ants, 0, -d);
ants.image.src = dir+"antup.gif";
}
else if (theta > 112.5 && theta <= 157.5) {
moveLayerBy(ants, -d, -d);
ants.image.src = dir+"antul.gif";
}
else if (theta > 157.5 && theta <= 202.5) {
moveLayerBy(ants, -d, 0);
ants.image.src = dir+"antlt.gif";
}
else if (theta > 202.5 && theta <= 247.5) {
moveLayerBy(ants, -d, d);
ants.image.src = dir+"antdl.gif";
}
else if (theta > 247.5 && theta <= 292.5) {
moveLayerBy(ants, 0, d);
ants.image.src = dir+"antdn.gif";
}
else if (theta > 292.5 && theta <= 337.5) {
moveLayerBy(ants, d, d);
ants.image.src = dir+"antdr.gif";
}
else {
moveLayerBy(ants, d, 0);
ants.image.src = dir+"antrt.gif";
}
}
setTimeout('updateAnts()', 50);
return;
}
// End -->
</SCRIPT>







<SCRIPT language=JavaScript>
createLoadBar(60, 0, 4, "#cccccc", "#ffffff", "#222222", "Arial", 5, "Arrivano...");
</SCRIPT>

















[Modificato da toro77 06/12/2003 19.36]

OFFLINE
Post: 18.460
Registrato il: 24/04/2003
Città: VICENZA
Età: 45
Sesso: Femminile
07/12/2003 20:42
 
Quota

sei stato via un mese e hai imparato solo questo?[SM=x44601]





[SM=x44624]

__________________

Perchè ga na testa che manco un porzeo ghe la magnaria
You're a good man,Charlie Brown

Il peggior nemico del bremaz è l'utente Rurro Rurrerini La dichiarazione di guerra
10/07/2009 13.45 - Capitano Marino: Mi quoto, aggiungendo che io soltanto pagherò il dolce alla Pippi.
OFFLINE
Post: 2.404
Registrato il: 27/12/2002
Città: ACCIANO
Età: 44
Sesso: Maschile
09/12/2003 19:50
 
Quota

Re:

Scritto da: piperitapatty 07/12/2003 20.42
sei stato via un mese e hai imparato solo questo?[SM=x44601]





[SM=x44624]



Prima funzionava
[SM=x44610]

[SM=x44613]
[SM=x44612]

Amministra Discussione: | Chiudi | Sposta | Cancella | Modifica | Notifica email Pagina precedente | 1 | Pagina successiva
Nuova Discussione
 | 
Rispondi

Feed | Forum | Album | Utenti | Cerca | Login | Registrati | Amministra
Crea forum gratis, gestisci la tua comunità! Iscriviti a FreeForumZone
FreeForumZone [v.6.1] - Leggendo la pagina si accettano regolamento e privacy
Tutti gli orari sono GMT+01:00. Adesso sono le 09:15. Versione: Stampabile | Mobile
Copyright © 2000-2024 FFZ srl - www.freeforumzone.com

forum ufficiale del settimanale Telegiornaliste Telegiornaliste: settimanale di critica televisiva e attualità