Efeito Fogos de Artifício
#1
Posted 31/12/2002, 13:05
Jah deu uma vasculhada mas naum achei, jah tinha visto, mas naum lembro onde..... Se possivel preciso pra hoje, hehehe, virada do ano.... huahuahua
Valews,
T+
No imagens on sign...
No imagens on sign...
No imagens on sign...
No imagens on sign...
No imagens on sign...
No imagens on sign...
No imagens on sign...
#2
Posted 31/12/2002, 15:13
Lembre-se que este Script acessa o evento window.onload do seu documento, portanto se você usa outro Script neste mesmo evento, ele deixará de funcionar...
Corrija-o e rode-o na mesma chamada.
<script language="JavaScript1.2">
var ns=document.layers?1:0
var ie4=document.all?1:0
var ns6=document.getElementById&&!document.all?1:0
amount=14;
if (ns){
for (i=0; i < amount; i++)
document.write("<LAYER NAME='nsstars"+i+"' LEFT=0 TOP=0 BGCOLOR='#FFFFF0' CLIP='0,0,1,1'></LAYER>");
}
else if (ie4||ns6){
document.write("<div id='ieCov' style='position:absolute;top:0px;left:0px'>");
document.write("<div style='position:relative'>");
for (i=0; i < amount; i++)
document.write("<div id='iestars"+i+"' style='position:absolute;top:0px;left:0px;width:1;height:1;background:#ffffff;font-size:1;z-index:10'></div>");
document.write("</div></div>");
}
Clrs=new Array('ff0000','00ff00','ffffff','ff00ff','ffa500','ffff00','00ff00','ffffff','ff00ff')
sClrs=new Array('ffa500','00ff00','FFAAFF','fff000','fffffF')
Xpos=300;
Ypos=150;
initialStarColor='00ff00';
step=5;
currStep=0;
explosionSize=120;
function Fireworks(){
var WinHeight=(ns||ns6)?window.innerHeight-100:window.document.body.clientHeight-100;
var WinWidth=(ns||ns6)?window.innerWidth-100:window.document.body.clientWidth-100;
var Yscroll=(ns||ns6)?window.pageYOffset:document.body.scrollTop;
for (i=0; i < amount; i++){
if (ie4||ns6)
var layer=ns6?document.getElementById("iestars"+i).style : eval("iestars"+i).style;
else if (ns)
var layer=document.layers["nsstars"+i]
var randCol=Math.round(Math.random()*8);
var randSz=Math.round(Math.random()*2);
layer.top = Ypos + explosionSize*Math.sin((currStep+i*5)/3)*Math.sin(currStep/100)
layer.left= Xpos + explosionSize*Math.cos((currStep+i*5)/3)*Math.sin(currStep/100)
if (currStep < 110){
if (ns){layer.bgColor=initialStarColor;layer.clip.width=1;layer.clip.height=1}
else{layer.background=initialStarColor;layer.width=1;layer.height=1;layer.fontSize=1}
}
else{
if (ns){layer.bgColor=Clrs[randCol];layer.clip.width=randSz;layer.clip.height=randSz}
else{layer.background=Clrs[randCol];layer.width=randSz;layer.height=randSz;layer.fontSize=randSz}
}
}
if (currStep > 220)
{
currStep=0;
Ypos = 50+Math.round(Math.random()*WinHeight)+Yscroll;
Xpos = 50+Math.round(Math.random()*WinWidth);
for (i=0; i < sClrs.length; i++)
{
var newIcol=Math.round(Math.random()*i);
}
initialStarColor=sClrs[newIcol];
explosionSize=Math.round(80*Math.random()+100);
}
currStep+=step;
setTimeout("Fireworks()",20);
}
Fireworks();
// -->
</script>
Espero ter ajudado...
Grato,
// Dados:
Nome("Guilherme Blanco");
Localidade("São Carlos - SP/Brasil");
Cargo("Manutenção");
</script>
#3
Posted 01/01/2003, 06:28
Obrigado novamente kra.....
T+
Feliz Ano Novo pra ti......
No imagens on sign...
No imagens on sign...
No imagens on sign...
No imagens on sign...
No imagens on sign...
No imagens on sign...
No imagens on sign...
#4
Posted 01/01/2003, 23:25
O q serah q estah acontecendo e pq o seu exmplo naum dah nada??????
Valews......
T+
No imagens on sign...
No imagens on sign...
No imagens on sign...
No imagens on sign...
No imagens on sign...
No imagens on sign...
No imagens on sign...
#5
Posted 02/01/2003, 18:23
Lembre-se que este Script acessa o evento window.onload do seu documento, portanto se você usa outro Script neste mesmo evento, ele deixará de funcionar...
O HPG usa o evento window.onload para carregar seu banner...
Foi por isso que o Script não funcionou.
Valeu,
// Dados:
Nome("Guilherme Blanco");
Localidade("São Carlos - SP/Brasil");
Cargo("Manutenção");
</script>
#6
Posted 25/09/2017, 16:46
Using Propecia Finasteride Cephalexin Behavioral Side Effects Children viagra cialis Cialis Achat Comparatif Propecia Y Fertilidad Si Puo Comprare Viagra Senza Ricetta
Cheap Mexico No Rx Doxepin viagra cialis Levitra En Belgique
#7
Posted 09/10/2017, 08:50
#8
Posted 09/10/2017, 09:29
Keppra Levitra Effetti Positivi Amoxicillin And Pill Size osu levitra comprar Tadalis Sx Soft Jokes
#9
Posted 09/10/2017, 12:40
Generic Viagra Without Prescription Buy Now Clobetasol Internet Cialis Viagra Meinung cialis Baclofene Lancet Canada Prescriptions No
Ou Acheter Du Cialis Sur Internet Forum Commander Generique Cialis Super Active brand levitra canada Atomoxetine Hcl Price Amoxicillin Clavulanic Acid Dogs
Comment Acheter Cytotec Sans Ordonnance Cialis Effet Temps generic levitra 20mg Osu Levitra En Pharmacie Keflex For Cellulitis In The Face
Lioresal Acheter En Canada Can You Drink While Taking Amoxicillin viagra vs cialis vs levitra Lasix Czech Republic
Infected Tooth Still Hurts With Amoxicillin Curetage Ou Cytotec levitra non prescription Proscar O Propecia No Prescription Tadalafil Salzarex Pharmaceuticals Generic Viagra
Levitra In Osterreich Rezeptfrei Viagra 100 Precio Farmacia viagra online pharmacy Propecia E Cialis
Buy Now Amoxicilina Pills cost of levitra at savon pharmacy How Long Does Levitra Work Viagra Us Distributer
How To Buy Stendra Ed Medication Website viagra Pyridium 200mg By Money Order Cialis Nachteile
#10
Posted 25/10/2017, 00:16
Propecia Donna buy viagra Kamagra Billig Online Bestellen Comprar Kamagra En Valencia
Acheter Du Cialis A Andorre Pdr Side Effects Rare For Amoxil Amoxicillin For Cat Urinary Infections viagra Levitra Viagra Cialis
#12
Posted 25/10/2017, 08:49
Propecia Over The Counter online pharmacy Cialis Dolori Alle Gambe
Acquisto Viagra Professional viagra Generic Free Shipping Provera Find In Internet Shipped Ups Cialis Side Effects
European Med Online Cialis 20mg No Prescription Viagra Avis Consommateur viagra online prescription Bentyl With Free Shipping In Internet Overseas Pharmacy Prix Du Cialis 10mg En Pharmacie
#14
Posted 05/11/2017, 17:39
Cialis Sin Receta 2009 Propecia Epo buy levitra safely from canada Zithromax Work For Chlamydia Walmart Cialis Prices Without Insurance
Esiste Cialis Da 5 Mg Effects Of Alcohol On Amoxicillin brand levitra canada Cheap Kamagra In Linea Keflex Anerobes
#15
Posted 28/11/2017, 17:34
Buspirone viagra Esperienze Cialis Generico How To Last Longer In The Bedroom
Provera Medicine In Us Cash Delivery buy cialis Keppra
0 user(s) are reading this topic
0 membro(s), 0 visitante(s) e 0 membros anônimo(s)