You are not logged in.

Gabardin

Beginner

  • "Gabardin" started this thread

Posts: 3

Date of registration: Jul 28th 2009

Location: Saint-Etienne

  • Send private message

1

Tuesday, July 28th 2009, 2:09pm

Site yaplmak icin lazim olabilir

Ilk basta herkeze mehabalar, size biraz yardim edeyim dedim ve arkaslarla yaptigim kodlari size gostermek ve size lazim olabilen kodlari buraya koyuyorum yaptikca korum :D

Sag CLIK :
[code:1]
<script language="JavaScript1.2">
/*
SCRIPT BY Gabardin
*/

function ejs_nodroit()
{
alert('Hirsizlik cok kotu bir seydir :D');
return(false);
}

document.oncontextmenu = ejs_nodroit;
</script>[/code:1]

Ekran'in ustunden dusen fotoraflar:

[code:1]
<SCRIPT language=JavaScript>
/*
SCRIPT BY Gabardin
*/

var snowsrc="http://www.editeurjavascript.com/img/img_exemples/flocon.gif"
var no = 10;
var ns4up = (document.layers) ? 1 : 0;
var ie4up = (document.all) ? 1 : 0;
var nn6up = (document.getElementById) ? 1 : 0;
var dx, xp, yp;
var am, stx, sty;
var i, doc_width = 800, doc_height = 600;

if (ns4up) {
doc_width = self.innerWidth;
doc_height = self.innerHeight;
} else if (ie4up) {
doc_width = document.body.clientWidth;
doc_height = document.body.clientHeight;
} else if (nn6up) {
doc_width = self.innerWidth;
doc_height = self.innerHeight;
}

dx = new Array();
xp = new Array();
yp = new Array();
am = new Array();
stx = new Array();
sty = new Array();

for (i = 0; i < no; ++ i) {
dx = 0;
xp[i] = Math.random()*(doc_width-50);
yp[i] = Math.random()*doc_height;
am[i] = Math.random()*20;
stx[i] = 0.02 + Math.random()/10;
sty[i] = 0.7 + Math.random();
if (ns4up) {
if (i == 0) {
document.write("<layer name=dot"+ i +" left=15 top=15 visibility=show><img src='"+snowsrc+"' border=0></layer>");
} else {
document.write("<layer name=dot"+ i +" left=15 top=15 visibility=show><img src='"+snowsrc+"' border=0></layer>");
}
} else if (ie4up || nn6up) {
if (i == 0) { document.write("<div id=dot"+ i +" style=\"POSITION: absolute; Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><img src='"+snowsrc+"' border=0></div>");
} else {
document.write("<div id=dot"+ i +" style=\"POSITION: absolute; Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><img src='"+snowsrc+"' border=0></div>");
}
}
}

function snowNS() {
for (i = 0; i < no; ++ i) {
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();
doc_width = self.innerWidth;
doc_height = self.innerHeight;
}
dx[i] += stx[i];
document.layers["dot"+i].top = yp[i];
document.layers["dot"+i].left = xp[i] + am[i]*Math.sin(dx[i]);
}
setTimeout("snowNS()", 10);
}

function snowIE() {
for (i = 0; i < no; ++ i) {
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();
doc_width = document.body.clientWidth;
doc_height = document.body.clientHeight;
}
dx[i] += stx[i];
document.all["dot"+i].style.pixelTop = yp[i];
document.all["dot"+i].style.pixelLeft = xp[i] + am[i]*Math.sin(dx[i]);
}
setTimeout("snowIE()", 10);
}

function snowNN6() {
for (i = 0; i < no; ++ i) {
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();
doc_width = self.innerWidth;
doc_height = self.innerHeight;
}
dx[i] += stx[i];
document.getElementById("dot"+i).style.top = yp[i];
document.getElementById("dot"+i).style.left = xp[i] + am[i]*Math.sin(dx[i]);
}
setTimeout("snowNN6()", 10);
}
if (ns4up) {
snowNS();
} else if (ie4up) {
snowIE();
} else if (nn6up) {
snowNN6();
}

</SCRIPT>
[/code:1] [i]Fotorafi degistirmek icin bunu ("http://www.editeurjavascript.com/img/img_exemples/flocon.gif") degistirmek gerikicek


Sayfa'yi kapatiktan sonra emin olmasini sorma script'i :
[code:1]
<body onBeforeUnload="return('Sayfa'yi kapatmak icin emin misiniz ?')">
[/code:1]

Simdilik bu kadar, biraz da sonra ekliyeyim :D

Posts: 82

Date of registration: Mar 17th 2008

Location: Ýtalya / Ýmperia

  • Send private message

2

Wednesday, January 20th 2010, 2:28pm

linkler sağlam değil

oqus pokus

Moderator

  • "oqus pokus" is male

Posts: 4,572

Date of registration: Jul 16th 2007

Location: C:\Windows

  • Send private message

3

Wednesday, January 20th 2010, 3:12pm

Quoted from ""CRazY PoWeR""

linkler sağlam değil


Link zaten yokki, sağlam ya da kırık olsun.
Verilenler sadece kod. Sitenin kodları arasına eklersen çalışır.

Posts: 82

Date of registration: Mar 17th 2008

Location: Ýtalya / Ýmperia

  • Send private message

4

Wednesday, February 24th 2010, 1:12pm

denedim çalışmıo bende

show65

Trainee

Posts: 9

Date of registration: Aug 2nd 2009

Location: VAN

  • Send private message

5

Wednesday, March 10th 2010, 2:57pm

teşekkurler

6

Sunday, March 6th 2011, 2:02pm

emeğine sağlık