"Meu mundo caiu"
apresentado por Guacira
Credits:
° image gif: "Sol Poente"
- by Guacira Sampaio Rocha
° mid: "paz_do_meu_amor" (found for free, in the net)
° text: Guacira Sampaio Rocha
° script author: Brian
Gosselin
° prepared, commented and posted (as it
is in this page) by: Guacira
1) Dentro das tags "<head>
</head>" coloque:
" <SCRIPT
language=JavaScript>
<!-- Original: Brian Gosselin (bgaudiodr@aol.com)
-->
<!-- Web Site: http://www.bgaudiodr.iwarp.com -->
<!-- This script
and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
var isNS = ((navigator.appName == "Netscape") &&
(parseInt(navigator.appVersion) >= 4));
var _all = '';
var _style = '';
var wwidth, wheight;
var ydir = '++';
var xdir = '++';
var id1, id2, id3;
var x = 1;
var y = 1;
var x1, y1;
if(!isNS) {
_all='all.';
_style='.style';
}
function getwindowsize() {
clearTimeout(id1);
clearTimeout(id2);
clearTimeout(id3);
if (isNS) {
wwidth = window.innerWidth - 55;
wheight = window.innerHeight - 50;
} else {
wwidth = document.body.clientWidth - 55;
wheight = document.body.clientHeight - 50;
}
id3 = setTimeout('randomdir()', 20000);
animate();
}
function randomdir() {
if (Math.floor(Math.random()*2)) {
(Math.floor(Math.random()*2)) ? xdir='--': xdir='++';
} else {
(Math.floor(Math.random()*2)) ? ydir='--': ydir='++';
}
id2 = setTimeout('randomdir()', 20000);
}
function animate() {
eval('x'+xdir);
eval('y'+ydir);
if (isNS) {
pic1.moveTo((x+pageXOffset),(y+pageYOffset))
} else {
pic1.pixelLeft = x+document.body.scrollLeft;
pic1.pixelTop = y+document.body.scrollTop;
}
if (isNS) {
if (pic1.top <= 5+pageYOffset) ydir = '++';
if (pic1.top >= wheight+pageYOffset) ydir = '--';
if (pic1.left >= wwidth+pageXOffset) xdir = '--';
if (pic1.left <= 5+pageXOffset) xdir = '++';
} else {
if (pic1.pixelTop <= 5+document.body.scrollTop) ydir = '++';
if (pic1.pixelTop >= wheight+document.body.scrollTop) ydir =
'--';
if (pic1.pixelLeft >= wwidth+document.body.scrollLeft) xdir =
'--';
if (pic1.pixelLeft <= 5+document.body.scrollLeft) xdir = '++';
}
id1 = setTimeout('animate()', 30);
}
// End -->
</SCRIPT> "
2) Entre as tags
<body> </body> coloque:
" <BODY
bgColor=#000000 onload=getwindowsize() onresize=getwindowsize()>
<DIV><BR></DIV><BGSOUND balance=0 loop=infinite
src="defina
aqui o caminho do som" volume=0>
<DIV id=pic1
style="LEFT: 0px; POSITION: absolute; TOP: 0px; VISIBILITY:
visible; Z-INDEX: -1"><IMG
border=0 src="aqui a imagem">
</DIV>
<SCRIPT language=javascript>
var pic1=eval('document.'+_all+'pic1'+_style);
</SCRIPT> "
3) Fechar as tags
</body> </html>
Atenção: não
esqueça de desprezar todas as aspas que não estejam
na cor branca.
Esse script pode perfeitamente
ser copiado dentro da aba Origem de seu Outlook Express, e ser enviado,
com fundo musical, como mensagem aos seus amigos.