Flor dançante


Se você não tem familiaridade com scripts, 
consulte a página 05 do Caderninho.

Abra uma nova mensagem e cole o seguinte texto antes de
<BODY...no início da Origem. Indique no texto do script o endereço da figura desejada.

 


*****************


<STYLE>BODY {
BACKGROUND-ATTACHMENT: fixed; BACKGROUND-COLOR: black; 
BACKGROUND-POSITION: 0px 0px; BACKGROUND-REPEAT: repeat; COLOR: aliceblue; 
FONT-FAMILY: Tahoma; FONT-SIZE: 9pt; FONT-STYLE: normal; 
FONT-VARIANT: normal; FONT-WEIGHT: bold; MARGIN: 2em
}
IMG {
LEFT: 0px; POSITION: absolute; TOP: 0px; VISIBILITY: hidden; Z-INDEX: -1
}
.rEpons {
COLOR: bisque; MARGIN-LEFT: 2em
}
A:link {
COLOR: coral; TEXT-DECORATION: none
}
A:visited {
COLOR: red; TEXT-DECORATION: none
}
A:active {
COLOR: green; TEXT-DECORATION: none
}
A:hover {
COLOR: burlywood; TEXT-DECORATION: none
}
</STYLE>

<IMG id=contorsionniste src="defina aqui o endereço da sua imagem"> 

<SCRIPT>
//-----------Rip curl, still some more of the same ... ------------
//-----------a script by MP, auguste de '99 -----------------------
//-----------d'après Gerard Ferrandez------------------------------
//-----------"another way to twist the ole lemon"------------------
//-----------thanks to Aladdin for the original VBscript-----------
//
// attention : cette version,
// n'est pas non plus un panorama,
// [elle ne colle pour ainsi dire pas].
//
// Si l'image ne vient pas de suite, pète un bon coup, si ça décoiffe pas, ça scalpe.

var nh = 1, nv = 48
var argu = 200
var wx = document.body.offsetWidth, wy = document.body.offsetHeight, midx, midy, maxK = Math.round(wx * 0.15) / argu, mayK = Math.round(wy * 0.66) / argu, mux = 9, muy = 9
var ob = new Array()
//--------------------------------

function ziva() {
var iL, iH
iL = contorsionniste.width
iH = contorsionniste.height
midx = Math.round((wx - iL) * 0.15)
midy = Math.round((wy - iH) * 0.15)
var ape, ese = 0, dx = iL / nh, dy = iH / nv, t = 0, r = dx, b = dy, l = 0
while (ese < nh * nv) {
//rect(top right bottom left)
ape = "<IMG src=" + contorsionniste.src + " style=\"CLIP: rect(" + Math.round(t) + " " + Math.round(r) + " " + Math.round(b) + " " + Math.round(l) + ")\">"
document.body.insertAdjacentHTML("AfterBegin", ape)
ob[ese] = new abject(ese++, document.body.children(0))
t += dy
b += dy
if (b > iH) {
t = 0
b = dy
l += dx
r += dx
}
}
}

function abject(ion, o){
this.i = ion
this.arg = argu

this.obj = o.style

this.tourne = bougE
this.tournf = bougF

this.obj.visibility = "visible"
this.tourne()
}

function bougE() {
var argv = this.arg + this.i
this.obj.pixelLeft = midx + Math.sin(argv / mux) * this.arg * maxK
this.obj.pixelTop = midy + Math.sin(argv / muy) * this.arg * mayK
this.arg--
if (this.arg >= 0) setTimeout("ob[\"" + this.i + "\"].tourne()", 33);
else {
this.obj.pixelLeft = midx
this.obj.pixelTop = midy
mux += (1 - Math.random()*2) * 0.5
muy += (1 - Math.random()*2) * 0.5
setTimeout("ob[\"" + this.i + "\"].tournf()", 2000)
}
}

function bougF() {
var argv = this.arg + this.i
this.obj.pixelLeft = midx + Math.sin(argv / mux) * this.arg * maxK
this.obj.pixelTop = midy + Math.sin(argv / muy) * this.arg * mayK
this.arg++
if (this.arg <= argu) setTimeout("ob[\"" + this.i + "\"].tournf()", 33);
else this.tourne()
}

setTimeout("ziva()", 1000)

// Compatible OE4, ça messieux-dames...
</SCRIPT>