Java Kodları (Hepsi)

kadem

Profesör
Katılım
19 Ağu 2006
Mesajlar
1,622
Tepkime puanı
2
Puanları
0
Mouse linkin üzerine geldiğinde linkin zemin rengini sarı yapar
--------------------------------------------------------------------------------

Kod:
<style>
<!--
a:hover{background:yellow;}
-->
</style>

 

kadem

Profesör
Katılım
19 Ağu 2006
Mesajlar
1,622
Tepkime puanı
2
Puanları
0
kaç kere geldim
--------------------------------------------------------------------------------

Kod:
iiÖÖçs<script language="JavaScript">

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 < clen) {
var j = i + alen;
if (document.cookie.substring(i, j) == arg)
return getCookieVal (j);
i = document.cookie.indexOf(" ", i) + 1;
if (i == 0)
break;
}
return null;
}
function SetCookie (name, value) {
var argv = SetCookie.arguments;
var argc = SetCookie.arguments.length;
var expires = (2 < argc) ? argv[2] : null;
var path = (3 < argc) ? argv[3] : null;
var domain = (4 < argc) ? argv[4] : null;
var secure = (5 < argc) ? argv[5] : false;
document.cookie = name + "=" + escape (value) +
((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +
((path == null) ? "" : ("; path=" + path)) +
((domain == null) ? "" : ("; domain=" + domain)) +
((secure == true) ? "; secure" : "");
}
function DisplayInfo() {
var expdate = new Date();
var visit;
expdate.setTime(expdate.getTime() + (24 * 60 * 60 * 1000 * 365));
if(!(visit = GetCookie("visit")))
visit = 0;
visit++;
SetCookie("visit", visit, expdate, "/", null, false);
var message;
if(visit == 1)
message=" Sayfama Hos Geldin!";
if(visit== 2)
message=" Sayfama bir daha geldigin icin tesekkür ederim !";
if(visit == 3)
message=" Ooo,yine mi sen?";
if(visit == 4)
message=" Selamun aleykum!";
if(visit == 5)
message=" Selamun aleykum!";
if(visit == 6)
message=" Senin bir hobiye ihtiyacin var!";
if(visit == 7)
message=" Selamun aleykum?";
if(visit == 8)
message=" Hiç uyumaz misin?";
if(visit == 9)
message=" Selamun aleykum!!!";
if(visit >= 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
</script>

<form>
<p align="center"><input type="button" name="update"
value="Tekrar Ziyaret Et" onclick="history.go(0)"> <input
type="button" name="reset" value="Sayaci Sifirla"
onclick="ResetCounts()"> </p>
</form>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 < clen) {
var j = i + alen;
if (document.cookie.substring(i, j) == arg)
return getCookieVal (j);
i = document.cookie.indexOf(" ", i) + 1;
if (i == 0)
break;
}
return null;
}
function SetCookie (name, value) {
var argv = SetCookie.arguments;
var argc = SetCookie.arguments.length;
var expires = (2 < argc) ? argv[2] : null;
var path = (3 < argc) ? argv[3] : null;
var domain = (4 < argc) ? argv[4] : null;
var secure = (5 < argc) ? argv[5] : false;
document.cookie = name + "=" + escape (value) +
((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +
((path == null) ? "" : ("; path=" + path)) +
((domain == null) ? "" : ("; domain=" + domain)) +
((secure == true) ? "; secure" : "");
}
function DisplayInfo() {
var expdate = new Date();
var visit;
expdate.setTime(expdate.getTime() + (24 * 60 * 60 * 1000 * 365));
if(!(visit = GetCookie("visit")))
visit = 0;
visit++;
SetCookie("visit", visit, expdate, "/", null, false);
var message;
if(visit == 1)
message=" Sayfama Hos Geldin!";
if(visit== 2)
message=" Sayfama bir daha geldigin icin tesekkür ederim !";
if(visit == 3)
message=" Ooo,yine mi sen?";
if(visit == 4)
message=" Selamun aleykum!";
if(visit == 5)
message=" Selamun aleykum!";
if(visit == 6)
message=" Senin bir hobiye ihtiyacin var!";
if(visit == 7)
message=" Selamun aleykum?";
if(visit == 8)
message=" Hiç uyumaz misin?";
if(visit == 9)
message=" Selamun aleykum!!!";
if(visit >= 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
</script>

<form>
<p align="center"><input type="button" name="update"
value="Tekrar Ziyaret Et" onclick="history.go(0)"> <input
type="button" name="reset" value="Sayaci Sifirla"
onclick="ResetCounts()"> </p>
</form>

 

kadem

Profesör
Katılım
19 Ağu 2006
Mesajlar
1,622
Tepkime puanı
2
Puanları
0
Kapat
--------------------------------------------------------------------------------

Kod:
<FORM> <INPUT TYPE="BUTTON" VALUE="Kapat" NAME="lowerButton" onClick="self.close()"> </FORM>

 

kadem

Profesör
Katılım
19 Ağu 2006
Mesajlar
1,622
Tepkime puanı
2
Puanları
0
saate göre hitap
--------------------------------------------------------------------------------

Kod:
<script language="JavaScript">
<!--
today = new Date()

if((today.getHours() >=6) && (today.getHours() <12)){
confirm("Hayirli Sabahlar ! http://musluman.biz") //ab 6 Uhr bis 12 Uhr
}
if((today.getHours() >=12) && (today.getHours() <14)){
confirm("Selamun Aleykum ! http://musluman.biz") //ab 12 Uhr bis 14 Uhr
}
if((today.getHours() >=14) && (today.getHours() <=18)){
confirm("Iyi Günler ! http://musluman.biz") // ab 14 Uhr bis 18 Uhr
}
if((today.getHours() >=18) && (today.getHours() <23)){
confirm("Iyi Aksamlar ! http://musluman.biz") //ab 18 Uhr bis 23 Uhr
}
if((today.getHours() >=0) && (today.getHours() <4)){
confirm("Iyi Geceler ! http://musluman.biz") // ab 0 bis 4 Uhr
}
if((today.getHours() >=4) && (today.getHours() <6)){
confirm("Hayirdir Sabah Sabah ? http://musluman.biz") // ab 4 bis 6 Uhr
}
//-->
</script>

 

kadem

Profesör
Katılım
19 Ağu 2006
Mesajlar
1,622
Tepkime puanı
2
Puanları
0
popup
--------------------------------------------------------------------------------

Kod:
<SCRIPT LANGUAGE="JavaScript">
<!--
function pencere() {
window.open("","pencere","width=500,height=350,resizable=no,status=no,scrollbars=no")
}
// -->
</SCRIPT>
<A HREF="popupac.htm" onClick="pencere()" TARGET="pencere">Buraya tıklayarak örnek popup görebilirsiniz.. </a>

 

kadem

Profesör
Katılım
19 Ağu 2006
Mesajlar
1,622
Tepkime puanı
2
Puanları
0
Şimdilik bu kadar sonra devam edeceğim istediğiniz java kodu varsa ekleyebilirim.​
 

ibismus

Üye
Katılım
4 Ara 2006
Mesajlar
6
Tepkime puanı
0
Puanları
0
eline sağlık...gerçekten çok faydalı olacak...
 

hmazlum31

Üye
Katılım
28 Mar 2008
Mesajlar
3
Tepkime puanı
0
Puanları
0
Sevgili kardeşim ellerine sağlık... Paylaşımın için teşekkür ederim
 

soft

Üye
Katılım
29 Kas 2012
Mesajlar
4
Tepkime puanı
0
Puanları
0
java gerçekden zor birdil yoğun emek istior ve profesyonel bir yardımda almak gerekiyor bu noktada javanın firması oracle ın türkiyede bir eğitim partneri var bilişim eğitim merkezi burada java sertyifikası veriliyor kursun bu aya özelde bi kampanyası olduğunu okumştum.
 
Üst