Forum www.forum.fora.pl Strona Główna

www.forum.fora.pl
Nieoficjalne forum pomocy serwisu fora.pl
 

Macie jakieś..

 
Napisz nowy temat   Odpowiedz do tematu    Forum www.forum.fora.pl Strona Główna -> Pomoc i pytania
Zobacz poprzedni temat :: Zobacz następny temat  
Autor Wiadomość
KrisKSD
Taki se gostek
Taki se gostek



Dołączył: 10 Gru 2005
Posty: 7
Przeczytał: 0 tematów

Ostrzeżeń: 5/5
Skąd: Grodzisk Wlkp.

PostWysłany: Sob 17:40, 10 Gru 2005    Temat postu: Macie jakieś..

Macie jakies skrypty zwiazane ze świętami Bozego Narodzenia i Nowy rok
jak macie to piszcie w temacie. Z góry wielkie dzięki

www.krisksd.fora.pl


Post został pochwalony 0 razy
Powrót do góry
Zobacz profil autora
piternet
Maniak postów
Maniak postów



Dołączył: 03 Lis 2005
Posty: 197
Przeczytał: 0 tematów

Pomógł: 5 razy
Ostrzeżeń: 5/5

PostWysłany: Sob 17:42, 10 Gru 2005    Temat postu:

masz tu na śnieg:

Kod:
/****************************************** * Snow Effect Script- By Altan d.o.o. (http://www.altan.hr/snow/index.html) * Visit Dynamic Drive DHTML code library (http://www.dynamicdrive.com/) for full source code * Last updated Nov 9th, 05' by DD. This notice must stay intact for use ******************************************/ //Configure below to change URL path to the snow image var snowsrc="http://img506.imageshack.us/img506/4899/snieg5cg.gif" // Configure below to change number of snow to render var no = 10; // Configure whether snow should disappear after x seconds (0=never): var hidesnowtime = 0; // Configure how much snow should drop down before fading ("windowheight" or "pageheight") var snowdistance = "pageheight"; ///////////Stop Config////////////////////////////////// var ie4up = (document.all) ? 1 : 0; var ns6up = (document.getElementById&&!document.all) ? 1 : 0; function iecompattest(){ return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body } var dx, xp, yp; // coordinate and position variables var am, stx, sty; // amplitude and step variables var i, doc_width = 800, doc_height = 600; if (ns6up) { doc_width = self.innerWidth; doc_height = self.innerHeight; } else if (ie4up) { doc_width = iecompattest().clientWidth; doc_height = iecompattest().clientHeight; } dx = new Array(); xp = new Array(); yp = new Array(); am = new Array(); stx = new Array(); sty = new Array(); snowsrc=(snowsrc.indexOf("dynamicdrive.com")!=-1)? "snow.gif" : snowsrc for (i = 0; i < no; ++ i) { dx[i] = 0; // set coordinate variables xp[i] = Math.random()*(doc_width-50); // set position variables yp[i] = Math.random()*doc_height; am[i] = Math.random()*20; // set amplitude variables stx[i] = 0.02 + Math.random()/10; // set step variables sty[i] = 0.7 + Math.random(); // set step variables if (ie4up||ns6up) { if (i == 0) { document.write(""); } else { document.write(""); } } } function snowIE_NS6() { // IE and NS6 main animation function doc_width = ns6up?window.innerWidth-10 : iecompattest().clientWidth-10; doc_height=(window.innerHeight && snowdistance=="windowheight")? window.innerHeight : (ie4up && snowdistance=="windowheight")? iecompattest().clientHeight : (ie4up && !window.opera && snowdistance=="pageheight")? iecompattest().scrollHeight : iecompattest().offsetHeight; for (i = 0; i < no; ++ i) { // iterate for every dot yp[i] += sty[i]; if (yp[i] > doc_height-50) { xp[i] = Math.random()*(doc_width-am[i]-30); yp[i] = 0; stx[i] = 0.02 + Math.random()/10; sty[i] = 0.7 + Math.random(); } dx[i] += stx[i]; document.getElementById("dot"+i).style.top=yp[i]+"px"; document.getElementById("dot"+i).style.left=xp[i] + am[i]*Math.sin(dx[i])+"px"; } snowtimer=setTimeout("snowIE_NS6()", 10); } function hidesnow(){ if (window.snowtimer) clearTimeout(snowtimer) for (i=0; i0) setTimeout("hidesnow()", hidesnowtime*1000) }

a tak wogóle to skorzystaj z opcji SZUKAJ!
jest juz 50 takich tematów!


Post został pochwalony 0 razy
Powrót do góry
Zobacz profil autora
sweet
Taki se gostek
Taki se gostek



Dołączył: 01 Gru 2005
Posty: 15
Przeczytał: 0 tematów

Ostrzeżeń: 3/5
Skąd: ja mam tyle ostrzeżeń??

PostWysłany: Nie 1:54, 11 Gru 2005    Temat postu: a

fajerwerki
Kod:

<style type="text/css">

body { overflow: hidden; }

v\ { behavior: url(#default#VML); }

</style><script language="JavaScript">



colors = new Array();



// Define your own color combinations

colors[0] = new Array('yellow', 'lime');

colors[1] = new Array('silver', 'green')

colors[2] = new Array('silver', 'blue');

colors[3] = new Array('silver', 'purple');

colors[4] = new Array('purple', 'white');

colors[5] = new Array('blue', 'silver');

colors[6] = new Array('red', 'fuchsia');

colors[7] = new Array('yellow', 'red');



// Define the maximum number of fire arrows

maximum = 1000;



vmlobj='';

for(i = 0; i < 12; i++){

vmlobj += '<div id="ster'+i+'" style="position:absolute; left:-50px; top-50px; visibility:hidden; z-index:50;">';

vmlobj += '<v:shape style="width:15px; height:15px;" fillcolor="yellow" coordorigin="0,0" coordsize="200 200">';

vmlobj += '<v:path v="m 8,65 l 72,65, 92,11, 112,65, 174,65, 122,100, 142,155,92,121, 42,155, 60,100 x e"/>';

vmlobj += '<v:stroke on="false" /></v:shape></div>';

}

document.write(vmlobj); vmlobj = null;



aantal = 0;



function begin()

{

try {

if(aantal == maximum){ return;}

kleurschema = Math.floor(Math.random() * colors.length);

posLinks = Math.floor(Math.random() * (document.body.clientWidth - 180));

posLinks = (posLinks < 170)? 170: posLinks;

posBoven = Math.floor(Math.random() * (document.body.clientHeight - 180));

posBoven = (posBoven < 170)? 170: posBoven;

straal = 0; uiteen = true; teller = 1; flikkereffect = false;

for(var i = 0; i < 12; i++){

document.getElementsByTagName('shape')[i].setAttribute('fillcolor', colors[kleurschema][0]);

document.getElementById('ster'+i).style.visibility = 'hidden'; // 5.0 fix

document.getElementById('ster'+i).style.left = posLinks;

document.getElementById('ster'+i).style.top = posBoven;

}

document.getElementById('ster0').style.top = (document.body.clientHeight - 20);

document.getElementById('ster0').style.visibility = 'visible';

omhoog();

} catch(e){}

}



function omhoog()

{

try {

positie = parseInt(document.getElementById('ster0').style.top);

if(positie > posBoven){

document.getElementById('ster0').style.top = (positie - 25);

setTimeout('omhoog()', 50);

} else {

for(i = 1; i < 12; i++){

document.getElementById('ster'+i).style.top = positie;

document.getElementById('ster'+i).style.visibility = 'visible';

}

uiteenspatten();

}

} catch(e){}

}



function uiteenspatten()

{

try {

if(straal > 120 && straal % 10 == 0){

flikkereffect = true;

teller = (teller == colors[kleurschema].length)? 0: (teller+1);

}

for(var i = 0; i < 12; i++){

var hoek = i * 30;

var piHoek = Math.PI - Math.PI / 180 * hoek;

var links = posLinks + Math.round(straal * Math.sin(piHoek));

var boven = positie + Math.round(straal * Math.cos(piHoek));

document.getElementById('ster'+i).style.left = links;

document.getElementById('ster'+i).style.top = boven;

if(flikkereffect){

document.getElementsByTagName('shape')[i].setAttribute('fillcolor', colors[kleurschema][teller]);

}

}

if(straal < 160 && uiteen){

straal += (straal < 120)? 10: 5;

setTimeout('uiteenspatten()', 50);

}

else if(straal > 120){

uiteen = false; straal -= 5;

setTimeout('uiteenspatten()', 50);

}

else if(straal <= 120){

for(var i = 0; i < 12; i++){

document.getElementById('ster'+i).style.visibility = 'hidden';

}

aantal++;

setTimeout('begin()', 500);

}

} catch(e) {}

}



window.onload=begin;



</script>


Post został pochwalony 0 razy
Powrót do góry
Zobacz profil autora
Wyświetl posty z ostatnich:   
Napisz nowy temat   Odpowiedz do tematu    Forum www.forum.fora.pl Strona Główna -> Pomoc i pytania Wszystkie czasy w strefie EET (Europa)
Strona 1 z 1

 
Skocz do:  
Nie możesz pisać nowych tematów
Nie możesz odpowiadać w tematach
Nie możesz zmieniać swoich postów
Nie możesz usuwać swoich postów
Nie możesz głosować w ankietach


fora.pl - załóż własne forum dyskusyjne za darmo
Powered by phpBB © 2001, 2005 phpBB Group
deoxGreen v1.2 // Theme created by Sopel stylerbb.net & programosy.pl

Regulamin