You are not logged in.

alemci_bln

Trainee

  • "alemci_bln" started this thread

Posts: 34

Date of registration: Nov 28th 2006

  • Send private message

1

Thursday, November 30th 2006, 8:46pm

Arka Plan Efekleri

Sitenizde arka planin sürekli renk degistirmesini istermisiniz??
[code:1]

<head>
<script language="JavaScript">
r=235;
g=226;
b=211;
flag=0;
t=new Array;
o=new Array;
d=new Array;

function hex(a,c)
{
t[a]=Math.floor(c/16)
o[a]=c%16
switch (t[a])
{
case 10:
t[a]='A';
break;
case 11:
t[a]='B';
break;
case 12:
t[a]='C';
break;
case 13:
t[a]='D';
break;
case 14:
t[a]='E';
break;
case 15:
t[a]='F';
break;
default:
break;
}
switch (o[a])
{
case 10:
o[a]='A';
break;
case 11:
o[a]='B';
break;
case 12:
o[a]='C';
break;
case 13:
o[a]='D';
break;
case 14:
o[a]='E';
break;
case 15:
o[a]='F';
break;
default:
break;
}
}

function ran(a,c)
{
if ((Math.random()>2/3||c==0)&&c<255)
{
c++
d[a]=2;
}
else
{
if ((Math.random()<=1/2||c==255)&&c>0)
{
c--
d[a]=1;
}
else d[a]=0;
}
return c
}
function do_it(a,c)
{
if ((d[a]==2&&c<255)||c==0)
{
c++
d[a]=2
}
else
if ((d[a]==1&&c>0)||c==255)
{
c--;
d[a]=1;
}
if (a==3)
{
if (d[1]==0&&d[2]==0&&d[3]==0)
flag=1
}
return c
}
function disco()
{
if (flag==0)
{
r=ran(1, r);
g=ran(2, g);
b=ran(3, b);
hex(1,r)
hex(2,g)
hex(3,b)
document.bgColor="#"+t[1]+o[1]+t[2]+o[2]+t[3]+o[3]
flag=50
}
else
{
r=do_it(1, r)
g=do_it(2,g)
b=do_it(3,b)
hex(1,r)
hex(2,g)
hex(3,b)
document.bgColor="#"+t[1]+o[1]+t[2]+o[2]+t[3]+o[3]
flag--
}
if (document.all)
setTimeout('disco()',50)
}
</script>
</head>
<body onload="disco()">
</body>
[/code:1]

Bu arka plan efektinde ise sanki arka planizda havai fisekleri atiliyor gibi
[code:1]
<body bgcolor="#000000">
<script language="JavaScript">
<!--
CL=new Array('#ff0000','#00ff00','#ffffff','#ff00ff','#ffa500','#ffff00','#00ff00','#ffffff','#ff00ff')
CL2=new Array('#ffa500','#00ff00','#FFAAFF','#fff000','#fffffF')
Xpos=130;
Ypos=130;
I='#00ff00';
C=0;
S=5;
H=null;
W=null;
Y=null;
NS4=(document.layers);
NS6=(document.getElementById&&!document.all);
IE4=(document.all);
A=14;
E=120;
L=null;
if (NS4){
for (i=0; i < A; i++)
document.write('<LAYER NAME="nsstars'+i+'" TOP=0 LEFT=0 BGCOLOR='+I+' CLIP="0,0,2,2"></LAYER>');
}
if (NS6){
window.document.body.style.overflow='hidden';
for (i=0; i < A; i++)
document.write('<div id="ns6stars'+i+'" style="position:absolute;top:0px;left:0px;height:2px;width:2px;font-size:2px;background:'+I+'"></div>');
}
if (IE4){
document.write('<div id="ie" style="position:absolute;top:0px;left:0px"><div style="position:relative">');
for (i=0; i < A; i++)
document.write('<div id="iestars" style="position:absolute;top:0;left:0;width:2px;height:2px;background:'+I+';font-size:2px"></div>');
document.write('</div></div>');
}
function Fireworks(){
H=(NS4||NS6)?window.innerHeight:window.document.body.clientHeight;
W=(NS4||NS6)?window.innerWidth:window.document.body.clientWidth;
Y=(NS4||NS6)?window.pageYOffset:window.document.body.scrollTop;
for (i=0; i < A; i++){
if (IE4)L=iestars.style;
if (NS4)L=document.layers["nsstars"+i];
if (NS6)L=document.getElementById("ns6stars"+i).style;
var F=Math.floor(Math.random()*CL.length);
var RS=Math.round(Math.random()*2);
L.top = Ypos + E*Math.sin((C+i*5)/3)*Math.sin(C/100)
L.left= Xpos + E*Math.cos((C+i*5)/3)*Math.sin(C/100)
if (C < 110){
if (NS4){L.bgColor=I;L.clip.width=1;L.clip.height=1}
if (IE4||document.getElementById)
{L.background=I;L.width=1;L.height=1;L.fontSize=1}
}
else{
if (NS4){L.bgColor=CL[F];L.clip.width=RS;L.clip.height=RS}
if (IE4||document.getElementById){L.background=CL[F];L.width=RS;L.height=RS;L.fontSize=RS}
}
}
if (C > 220){
C=0;
var NC=Math.floor(Math.random()*CL2.length);
I=CL2[NC];
E=Math.round(100+Math.random()*50);
Ypos = E+Math.round(Math.random()*(H-(E*2.2)))+Y;
Xpos = E+Math.round(Math.random()*(W-(E*2.2)));
}
C+=S;
setTimeout("Fireworks()",10);
}
Fireworks();
// -->
</script>
</form>
</td>
</tr>
<tr>
<td height="37" width="813" colspan="6" align="center"> </td>
</tr>
<tr>
<td height="39" width="176" align="center"> </td>
<td height="39" width="123" align="center"> </td>
<td height="39" width="251" align="center"> </td>
<td height="39" width="74" align="center"> </td>
<td height="39" width="70" align="center"> </td>
<td height="39" width="111" align="center"> </td>
</tr>
</table>
</div>
[/code:1]

Bu arka planda ise güzel bir kar yagisi var

[code:1]
<body bgcolor=#000000 onLoad="snow()">
<script language="JavaScript">
N = 40;
Y = new Array();
X = new Array();
S = new Array();
A = new Array();
B = new Array();
M = new Array();
V = (document.layers)?1:0;

iH=(document.layers)?window.innerHeight:window.document.body.clientHeight;
iW=(document.layers)?window.innerWidth:window.document.body.clientWidth;
for (i=0; i < N; i++){
Y[i]=Math.round(Math.random()*iH);
X[i]=Math.round(Math.random()*iW);
S[i]=Math.round(Math.random()*5+2);
A[i]=0;
B[i]=Math.random()*0.1+0.1;
M[i]=Math.round(Math.random()*1+1);
}
if (V){
for (i = 0; i < N; i++)
{document.write("<LAYER NAME='sn"+i+"' LEFT=0 TOP=0 BGCOLOR='#FFFFF0' CLIP='0,0,"+M[i]+","+M[i]+"'></LAYER>")}
}
else{
document.write('<div style="position:absolute;top:0px;left:0px">');
document.write('<div style="position:relative">');
for (i = 0; i < N; i++)
{document.write('<div id="si" style="position:absolute;top:0;left:0;width:'+M[i]+';height:'+M[i]+';background:#fffff0;font-size:'+M[i]+'"></div>')}
document.write('</div></div>');
}
function snow(){
var H=(document.layers)?window.innerHeight:window.document.body.clientHeight;
var W=(document.layers)?window.innerWidth:window.document.body.clientWidth;
var T=(document.layers)?window.pageYOffset:document.body.scrollTop;
var L=(document.layers)?window.pageXOffset:document.body.scrollLeft;
for (i=0; i < N; i++){
sy=S[i]*Math.sin(90*Math.PI/180);
sx=S[i]*Math.cos(A[i]);
Y[i]+=sy;
X[i]+=sx;
if (Y[i] > H){
Y[i]=-10;
X[i]=Math.round(Math.random()*W);
M[i]=Math.round(Math.random()*1+1);
S[i]=Math.round(Math.random()*5+2);
}
if (V){document.layers['sn'+i].left=X[i];document.layers['sn'+i].top=Y[i]+T}
else{si[i].style.pixelLeft=X[i];si[i].style.pixelTop=Y[i]+T}
A[i]+=B[i];
}
setTimeout('snow()',10);
}
</script>
[/code:1]

devami gelicek arkadas

oO_eLif_Oo

Intermediate

Posts: 534

Date of registration: Sep 21st 2006

  • Send private message

2

Thursday, November 30th 2006, 9:14pm

Paylasimin icin tskler ;)

maxma

Professional

Posts: 2,495

Date of registration: Nov 23rd 2006

Location: Evin Bir Kosesi :)

  • Send private message

3

Thursday, November 30th 2006, 9:16pm

Saol Saol Saol paylasimin icin tabi :D

arkadas_ca

Trainee

Posts: 69

Date of registration: Nov 29th 2006

  • Send private message

4

Friday, December 1st 2006, 10:20am

güzel javaScript kodları.. yakında daha fazlasi da benden olsun..

Asi_OnLiNe

Trainee

  • "Asi_OnLiNe" is male

Posts: 47

Date of registration: Nov 25th 2006

Location: Ankara

  • Send private message

5

Friday, December 1st 2006, 1:59pm

Teşekkürler Paylaşım için..

alemci_bln

Trainee

  • "alemci_bln" started this thread

Posts: 34

Date of registration: Nov 28th 2006

  • Send private message

6

Monday, December 4th 2006, 5:41pm

tesekürleriniz icin bende tesekürederim arkadaslar bu gün Türkiyeye ucuyorum onun icin bir kac hafta paylasim yapamicam html kodlariyla da ilgili sorunlariniz olursa iki hafta gibi bir süre icerisinde sizlere cevaop veremicem bundan dolayi kusura bakmayin!!ama iki hafta sonra döndügüm zaman tekrar sizlere yardimci olmaya calisicam

djisyankar

Trainee

Posts: 91

Date of registration: Nov 11th 2006

Location: istanbul

  • Send private message

7

Tuesday, December 19th 2006, 1:14am

arkadasım paylasımların için tsk ederim

d_e_k_a_n

Beginner

Posts: 6

Date of registration: Jan 25th 2007

  • Send private message

8

Thursday, January 25th 2007, 12:11pm

Emeğine sağlık kardeşim

yakamozfm

Beginner

Posts: 4

Date of registration: Jan 29th 2007

  • Send private message

9

Monday, January 29th 2007, 12:57pm

benim sitede calismiyo ama paylasim icin saol benim sayfa cok adi bi sayfa oldu yaws
:D

Mud-ti

Intermediate

Posts: 417

Date of registration: Sep 10th 2006

  • Send private message

10

Monday, January 29th 2007, 1:04pm

arkadsım bu kodlarin calışabilmesi için en azindan full html destekli olmali (space ve benzeri güncelerde calışmaz) mesela oluşturulmuş index.htm dosyasi gibi

html dosyasinda en üste bu kodu yazarsan zalışmasinnda hiç bi sorun olmayacaktir tabiki kod.lar dogruysa ben test etmedim ekleyen arkadsimiz umarim test etmiştir...

ekremekrem

Trainee

  • "ekremekrem" is male

Posts: 149

Date of registration: May 25th 2007

Location: Ýstanbul

  • Send private message

11

Monday, May 28th 2007, 11:30am

tşkler paylaşım için

maylo

Beginner

Posts: 9

Date of registration: Jan 11th 2007

  • Send private message

12

Tuesday, May 29th 2007, 2:00am

tesekkurler paylasimin icin ve ayrica iyi yolculuklar iyi tatiller

CcC-onur-CcC

Professional

Posts: 903

Date of registration: Mar 10th 2008

Location: ALLATURKA ÞEHRÝ

  • Send private message

13

Tuesday, July 1st 2008, 12:11am

SAOLASINDA BEN BUNLARI BI YERDEDE GORMUSTUM ALINTI YAPMAYASASIN SAKIN :D :D

MankenManita

Intermediate

Posts: 475

Date of registration: Aug 24th 2007

Location: seyyyyyy kemmmm kuuuum ...nereydi yahfss:)(:

  • Send private message

14

Tuesday, July 1st 2008, 12:34pm

Bu guzel paylasim icin tskler;)

SheKerLee

Intermediate

Posts: 430

Date of registration: Jan 8th 2008

Location: Solingen

  • Send private message

15

Tuesday, July 1st 2008, 12:44pm

Quoted from ""CcC-onur-CcC""

SAOLASINDA BEN BUNLARI BI YERDEDE GORMUSTUM ALINTI YAPMAYASASIN SAKIN :D :D


2006 yilinda eklenmiS buraya ;)

bilgi paylaSildikca cogalir, alinti yapSada free paylaSim :thx:

Lilyumm

Trainee

Posts: 87

Date of registration: Sep 19th 2008

  • Send private message

16

Sunday, December 14th 2008, 3:24pm

Yuregine saglik...Paylasim icin tskler...

muroc

Beginner

Posts: 7

Date of registration: Jan 15th 2009

Location: ankara

  • Send private message

17

Saturday, January 17th 2009, 8:41am

TSK KARDES EMEGİNE SAGLİK

fotinovolu

Trainee

Posts: 11

Date of registration: Dec 20th 2008

  • Send private message

18

Thursday, January 22nd 2009, 10:05am

paylaşım için tşk emegine saglık

19

Thursday, January 22nd 2009, 10:19am

bu kodlamaların radyoya nasıl yapılacağını söylermisiniz ?

  • "D3NiZLi-Li" is male

Posts: 3,304

Date of registration: Jul 29th 2007

Location: Denizli

  • Send private message

20

Thursday, January 22nd 2009, 8:14pm

rizegüzeli, kodlari kopyalalip html bolumune yapistiriyorsun