Ücretsiz JAVA Kodları
-
1- Status Bar"da tarih yazar
function doClock() {
window.setTimeout( "doClock()", 1000 );
today = new Date();
self.status = today.toString();
}
doClock()
2- Her defasında farklı bir resim
today=new Date();
jran=today.getTime();
function rnd() {
ia=9301;
ic=49297;
im=233280;
jran = (jran*ia+ic) % im;
return jran/(im*1.0);
};
function rand(number) {
return Math.ceil(rnd()*number);
};
document.write("");
for(i=1;i");
if(myNum == 2) document.write("");
if(myNum == 3) document.write("");
if(myNum == 4) document.write("");
if(myNum == 5) document.write("");
if(myNum == 6) document.write("");
if(myNum == 7) document.write("");
if(myNum == document.write("");
if(myNum == 9) document.write("");
if(myNum == 10) document.write("");
if(myNum == 11) document.write("");
if(myNum == 12) document.write("");
else {
document.write();
}
};
document.write("");
3- Yeni pencere açar
4- Ziyaretçinin o sayfayı kaç kere ziyaret ettiğini gösterir
function getCookieVal (offset) {
var endstr = document.cookie.indexOf (";", offset);
if (endstr == -1)
endstr = document.cookie.length;
return unescape(document.cookie.substring(offset, endstr));
}
function GetCookie (name) {
var arg = name + "=";
var alen = arg.length;
var clen = document.cookie.length;
var i = 0;
while (i = 10)
message=" Tamam tamam istedigin kadar gelebilirsin !";
alert("\n"+"Tarayiciniz bu sayfaya tam \n"
+" "+visit+"\n" +" kere ugramis. -TESEKKÜRLER-."+"\n"+"\n"
+message);
}
function ResetCounts() {
var expdate = new Date();
expdate.setTime(expdate.getTime() + (24 * 60 * 60 * 1000 * 365));
visit = 0;
SetCookie("visit", visit, expdate , "/", null, false);
history.go(0);
}
window.onload=DisplayInfo
exOf (";", offset);
if (endstr == -1)
endstr = document.cookie.length;
return unescape(document.cookie.substring(offset, endstr));
}
function GetCookie (name) {
var arg = name + "=";
var alen = arg.length;
var clen = document.cookie.length;
var i = 0;
while (i = 10)
message=" Tamam tamam istedigin kadar gelebilirsin !";
alert("\n"+"Tarayiciniz bu sayfaya tam \n"
+" "+visit+"\n" +" kere ugramis. -TESEKKÜRLER-."+"\n"+"\n"
+message);
}
function ResetCounts() {
var expdate = new Date();
expdate.setTime(expdate.getTime() + (24 * 60 * 60 * 1000 * 365));
visit = 0;
SetCookie("visit", visit, expdate , "/", null, false);
history.go(0);
}
window.onload=DisplayInfo
5- Şifre Sorma (Unutmayın Şifre: oguzguner)
oguzguner OnLiNe
webforumu
6- Girişi onaylama
7- Bu Script sabah yazılarınızın siyah, background"un beyaz, akşamda tam tersi olmasını sağlar
now = new Date();
if ((now.getHours() > 5) && (now.getHours()
8- Mouse"u üzerine getirdiğinizde ekrana bir uyarı gelir
Sakın mouse"unuzu buraya veya buraya yada buraya getirmeyin.
9- Ziyaretçiyi selamlar
alert("İyi Gezintiler ve uğradığınız için teşekkurler umarız sitemizi beğenirsiniz MUTANTİG...");
10- Saate göre hitap
=6 && saat.getHours()=17 && saat.getHours()=22)||(saat.getHours()
11- Çerçeve İçinde Kayan Yazı
// Modified by CoffeeCup Software
var id,pause=0,position=0,revol=9;
function banner()
{
var i,k;
var msg=" www.webforumu.com ";
var speed=10;
document.thisform.thisbanner.value=msg.substring(p osition,position+50);
if(position++==msg.length)
{
if (revol--
12- Rengarenk Arka Fon
// Modified by CoffeeCup Software
function initArray()
{
this.length = initArray.arguments.length
for (var i = 0; i = step )
{
red -= red_int;
red_round = Math.round(red);
red_hex = Dec2Hex(red);
grn -= grn_int;
grn_round = Math.round(grn);
grn_hex = Dec2Hex(grn);
blu -= blu_int;
blu_round = Math.round(blu);
blu_hex = Dec2Hex(blu);
document.bgColor = red_hex + grn_hex + blu_hex;
step++;
}
document.bgColor = end;
}
www.oguzguner.info
13- Saat
var timerID = null;
var timerRunning = false;
function stopclock ()
{
if(timerRunning)
clearTimeout(timerID);
timerRunning = false;
}
function showtime ()
{
var now = new Date();
var hours = now.getHours();
var minutes = now.getMinutes();
var seconds = now.getSeconds()
var timeValue = "" + ((hours >12) ? hours -12 :hours)
timeValue += ((minutes = 12) ? " P.M." : " A.M."
document.clock.face.value = timeValue;
// you could replace the above with this
// and have a clock on the status bar:
// window.status = timeValue;
timerID = setTimeout("showtime()",1000);
timerRunning = true;
}
function startclock ()
{
// Make sure the clock is stopped
stopclock();
showtime();
}
14- Internet Explorer Çubuğunda Kayan Yazı
//Modified by Coffeecup.com
function infoscroll(seed,looped)
{
var text1 = " www.webforumu.com";
var text2 = " webforumu.com";
var msg=text1+text2;
var putout = " ";
var c = 1;
if (looped > 10)
{ window.status=""; }
else if (seed > 100)
{
seed--;
var cmd="infoscroll(" + seed + "," + looped + ")";
timerTwo=window.setTimeout(cmd,100);
}
else if (seed 0)
{
for (c=0 ; c
-
eyw. kardeş saolasıun.java pek kullanmadım ama paylaştıın için tşk. ederim.KULLANAN ARKADAŞLARIN DA ADINA!
-
exploit25 e son sözünde katılıorum..
saol herseysanalhocam -
PayLaşım için saoL dostum...
-
bende AntiOksidan a katılıyorum :P
Toplam Hit: 1964 Toplam Mesaj: 5