Giriş yap
En son konular
Similar topics
Forumlariniz icin degisik Kodlar [konu 1]
+130
CHieF
bugra5454
NiLLy Lee
İMRAN FM
FerDi
Sezen Delisi
KaN
Anka0613
Efastus
::PATRON::
fearles577
Chazy Chazz
terlan
TuaL
Safaceza51
AktiForum
WeLeT
Müc@hid
Muro
Emule
BomBaCi
i-r-f-a-n
bin903
Ahçı Süngerbob
Paradso
yoshy5555
serk@n
Carucci
-=[UFUK]=-
çiko
cYpeRz
lutfenyardim
saLih*aLcay
ozan72
Punk Princess
Bilgici92
Dr.Seytandiss
frokolar
humanely1
CyBeRaY
wandeLLas
CaspeR1994
walasiga
TA2FORUM
zuzu
ahmet-yunus
Adslook
RaFa-eL MenDeZ.ıIIı.
[ *Joe Jonas* ]
orjinalkiz
İmaginative
NurBahcesi
shekran
zeynep20
ѕ¢я
RuBi
muselmansuffe
madrox
muratwebdesıgner
Musa
adana01
cHndGn
YONCA_ÇINAR
_KaraDumaN_
_LoRd_
DeJaVu
hakkidegirmenci
e.prenses_138
djalper01
yoshy55
**ZeHiR**
EnginWeb
The_TokaT60
ertac97
DENiZEVi
admın-cemre
hakan52
hackermert
ebrarli
Kizil Kabus
Paradiz
By_MiCRoP
orhanizm2
terminator37
pırto
Y.u.G.a.F
DeRiN DaRBe
ouz
cemix22
linkin43
ouroboros
the_finishlife
elo
çağrıbaba
romaryu
bekir_fb
mervinho
infazcı_kafkef_61
Er-Ryan
ßeyazZ_meLeq
Gamze
djosse
sedaa
BERXUDAN
srmthfg
Alphonso
TeHLiXe
Rocq^PrenseSi's
hackerbaba
MyNq
ManiacTurk
PinxGirL
buyukcanlar
ismetdus
buz_mavisi
ustad
Rapci.Kız
kemik95
tam-90
LeganD
wanted35
Patron
MaSuM_GuDi
digitex
AdminTR
RaP BaBa
KrAl_1990
sedat5453
kalaf
shanex
134 posters
27 sayfadaki 34 sayfası
27 sayfadaki 34 sayfası • 1 ... 15 ... 26, 27, 28 ... 30 ... 34
Forumlariniz icin degisik Kodlar [konu 1]
Konunun ilk mesajı :
ZİYARETÇİ BİLGİ
ZİYARETÇİ BİLGİ
- Kod:
<center><script language="Javascript" src="http://www.ip2phrase.com/ip2phrase.asp?template=Ülke : <COUNTRY> <FLAG> İp Adresiniz Kayıt Edildi: <IP> Şehir : <CITY>"></script></center>
- Kod:
<!-- Start ip2location.com Link --> <IFRAME SRC="http://www.ip2location.com/ib1/" WIDTH="404" HEIGHT="86" MARGINWIDTH="1" SCROLLING="no" FRAMEBORDER="0"></IFRAME><!-- End ip2location.com Link -->
- Kod:
<!-- Start ip2location.com Link --><IFRAME SRC="http://www.ip2location.com/ib2/" WIDTH="204" HEIGHT="162" MARGINWIDTH="1" SCROLLING="no" FRAMEBORDER="0"></IFRAME><!-- End ip2location.com Link -->
- Kod:
<!-- Start BrowserObject.com Link --><IFRAME SRC="http://www.browserobject.com/ib1/" WIDTH="404" HEIGHT="86" MARGINWIDTH="1" SCROLLING="no" FRAMEBORDER="0"></IFRAME><!-- End BrowserObject.com Link -->
- Kod:
<center><img src="http://www.wieistmeineip.de/ip-address" alt="Bilgileriniz sistemimize kaydedilmektedir."></center>
En son shanexx tarafından Ptsi 12 Ocak 2009 - 11:42 tarihinde değiştirildi, toplamda 4 kere değiştirildi
Geri: Forumlariniz icin degisik Kodlar [konu 1]
Butona basınca sayfa yavaşça aşağı iniyor.
Kod:
Kod:
- Kod:
<!-- START OF SCRIPT -->
<SCRIPT Language="JavaScript">
<!--
function scrollit(){
for (I=1; I<=500; I++){
parent.scroll(1,I)
}
}
//-->
</SCRIPT>
<form>
<input type=button value="Kaydır" onClick="scrollit()">
</form>
<hr>
<Center>
<BR><BR><BR><BR><BR><BR><BR><BR>
<H1>Umarım programımdan</H1>
<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>
<H1>Memnun kalmışsınızdır</H1>
<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>
<H1>Çalışmalarınızda başarılar.</H1>
<!-- END OF SCRIPT -->
Geri: Forumlariniz icin degisik Kodlar [konu 1]
Bu script sayfanızın her zaman sağ üst köşesinde durarak istenildiğinde sayfanın en üstüne gitmek için bir link işlevini görüyor.
Kod:
Kod:
- Kod:
<SCRIPT language= javascript>
document.write("<DIV id=son3vil style='right:16px;POSITION:absolute;TOP:1px;'><a href='#' title='Yukarı Dön'>Yukarı</a></div>");
lastScrollY=0;
function heartBeat(){
diffY=document.body.scrollTop;
percent=.1*(diffY-lastScrollY);
if(percent>0)percent=Math.ceil(percent);
else percent=Math.floor(percent);
document.all.son3vil.style.pixelTop+=percent;
lastScrollY=lastScrollY+percent;
}
window.setInterval("heartBeat()",1);
</script>
Geri: Forumlariniz icin degisik Kodlar [konu 1]
Bu seferki scriptte sayfanın sağalt köşesinde bir link bulunuyor ve sayfanın üstüne tek tuşla ulaşılmasını sağlıyor.
Kod:
Kod:
- Kod:
<DIV id=waterMark style="POSITION: absolute"><A
href="#top">
<IMG
src="sayfa_basi.gif" border=0 width="15" height="75"></A> </DIV> <SCRIPT language=JavaScript1.2 >
<!--
markW = 15;
markH = 75;
markX = 100;
markY = 95;
markRefresh = 5;
if (!document.all) document.all = document;
if (!document.all.waterMark.style) document.all.waterMark.style = document.all.waterMark;
wMark = document.all.waterMark.style;
wMark.width = markW;
wMark.height = markH;
navDOM = window.innerHeight;
function setVals() {
barW = 0; //
barH = 0;
if (navDOM) {
if (document.height > innerHeight) barW = 20;
if (document.width > innerWidth) barH = 20;
} else {
innerWidth = document.body.clientWidth;
innerHeight = document.body.clientHeight;
}
posX = ((innerWidth - markW)-barW) * (markX/100);
posY = ((innerHeight - markH)-barH) * (markY/100);
}
function wRefresh() {
wMark.left = posX + (navDOM?pageXOffset:document.body.scrollLeft);
wMark.top = posY + (navDOM?pageYOffset:document.body.scrollTop);
}
function markMe() {
setVals();
window.onresize=setVals;
markID = setInterval ("wRefresh()",markRefresh);
}
window.onload=markMe;
//-->
</SCRIPT>
Geri: Forumlariniz icin degisik Kodlar [konu 1]
Resim dosyalarıyla uğraşmadan güzel bir bannerı bu scriptle yapabilirsiniz.
Kod:
Kod:
- Kod:
<SCRIPT LANGUAGE="JavaScript">
<!-- Original: Premshree Pillai (premshree( at )hotmail.com) -->
<!-- Başlangıç
var qiksearch_js_text = new Array ("Javascript Bankası", "Çok Yakında", " 500 Javascripte ulaşacak", "http://www.javascriptbankasi.com.tr.tc");
var qiksearch_space_width = 390;
var qiksearch_space_height = 50;
var qiksearch_space_borderw=3; // Border uzunluğu
var qiksearch_space_borderc="#ff00ff"; // Border renk
var timeOutVal=150; // gecikme süresi
//--------------------------------------------------------------------------------------------
//-----------------------------Aşağı tarafı düzenlemeyin---------------------------------------
document.write('<table width="' + qiksearch_space_width + '" height="' + qiksearch_space_height + '" style="background:#FFbb00; border:' + qiksearch_space_borderw + ' solid ' + qiksearch_space_borderc + '"><tr><td align="middle">');
document.write('<div id="qiksearch_js_space">');
document.write('</div>');
document.write('</td></tr></table>');
var def_10='A',def_11='B',def_12='C',def_13='D',def_14='E',def_15='F';
var colorVal=15;
var div_count=0;
function qiksearch_fade_desat(getColorIntVal)
{
var returnVal;
if(getColorIntVal>=10)
{
for(var i=0; i<=15; i++)
{
if((getColorIntVal==i))
{
returnVal = eval('def_' + i);
}
}
}
else
{
returnVal=getColorIntVal;
}
return(returnVal);
}
function writeDiv()
{
document.all.qiksearch_js_space.innerHTML= '<font face="verdana,arial,helvetica" size="-1" color="' + joinColor(qiksearch_fade_desat(colorVal)) + '"><b>' + qiksearch_js_text[div_count] + '</span></b></font>' ;
if((colorVal>0) && (colorVal!=0))
{
colorVal--;
}
else
{
colorVal=15;
if(div_count<qiksearch_js_text.length)
{
div_count++;
}
if(div_count==qiksearch_js_text.length)
{
document.all.qiksearch_js_space.innerHTML = '<a href="javascript:resetAll();writeDiv();" style="text-decoration:none" accesskey="l"><font color="#808080" face="verdana,arial,helvetica" size="-1"><b>Tekrar göster <font color="#CC0000">»</font></b></font></a>';
}
}
if(div_count<qiksearch_js_text.length)
{
setTimeout("writeDiv()",timeOutVal);
}
}
function joinColor(getColor)
{
return (getColor + '0' + getColor + '0' + getColor + '0');
}
function resetAll()
{
div_count=0;
colorVal=15;
}
writeDiv();
// Son -->
</script>
Geri: Forumlariniz icin degisik Kodlar [konu 1]
bir daktilo scripti.
Kod:
Kod:
- Kod:
<script language="JavaScript1.2">
/*
Typing Text Script-
Last updated: 99/06/17
© Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions,
100's more DHTML scripts, and Terms Of
Use, visit dynamicdrive.com
*/
var it=0
function initialize(){
mytext=typing.innerText
var myheight=typing.offsetHeight
typing.innerText=''
document.all.typing.style.height=myheight
document.all.typing.style.visibility="visible"
typeit()
}
function typeit(){
typing.insertAdjacentText("beforeEnd",mytext.charAt(it))
if (it<mytext.length-1){
it++
setTimeout("typeit()",100)
}
else
return
}
if (document.all)
document.body.onload=initialize
</script>
<small><span id="typing" style="visibility:hidden" align="left">YAZACAKLARINIZI BURAYA YAZIN...</span></small>
Geri: Forumlariniz icin degisik Kodlar [konu 1]
Sayfalarınızdaki kimi mesajları daha ilgi çekici hale getirmek için bu scripti kullanabilirsiniz.
Kod:
Kod:
- Kod:
<div id="Zittertext" style="width:100%; font-size:40pt; font-weight:bold; color:#FF6666;
filter:Wave(freq=5, light=0, phase=80, strength=1);">
<center><!--SELECTION--><i>
<font size=+3>
<font face="Comic Sans MS">Javascript</font>
<font face="Comic Sans MS">Bankası</font></font></i><!--/SELECTION-->
<script language="JavaScript"><!--
function DynWave()
{
if(document.all.Zittertext.filters[0].freq > 20)
document.all.Zittertext.filters[0].freq = 10;
document.all.Zittertext.filters[0].freq += 3;
if(document.all.Zittertext.filters[0].phase > 100)
document.all.Zittertext.filters[0].phase = 0;
document.all.Zittertext.filters[0].phase += 10;
if(document.all.Zittertext.filters[0].strength > 10)
document.all.Zittertext.filters[0].strength = 1;
document.all.Zittertext.filters[0].strength += 1;
window.setTimeout("DynWave()",100);}
DynWave();
//--></script>
</center>
</div>
Geri: Forumlariniz icin degisik Kodlar [konu 1]
Etkileyici yazılar oluşturabileceğiniz başka bir script
Kod:
Kod:
- Kod:
<table border="0" cellpadding="0" cellspacing="0" width="700">
<tr>
<td><span id="theText" style="width:100%"><h2 align="center">JAVASCRIPT BANKASI</h2>
</span>
<p><script>
<!--
//range of glowing
var from = 5;
var to = 11;
//speed of pulsing
var delay = 55;
//color of glow
var glowColor = "red";
//NO MORE EDITING!!!
var i = to;
var j = 0;
//can be called here or whenever you want the text to start pulsing
textPulseDown();
function textPulseUp()
{
if (!document.all)
return
if (i < to)
{
theText.style.filter = "Glow(Color=" + glowColor + ", Strength=" + i + ")";
i++;
theTimeout = setTimeout('textPulseUp()',delay);
return 0;
}
if (i = to)
{
theTimeout = setTimeout('textPulseDown()',delay);
return 0;
}
}
function textPulseDown()
{
if (!document.all)
return
if (i > from)
{
theText.style.filter = "Glow(Color=" + glowColor + ", Strength=" + i + ")";
i--;
theTimeout = setTimeout('textPulseDown()',delay);
return 0;
}
if (i = from)
{
theTimeout = setTimeout('textPulseUp()',delay);
return 0;
}
}
//-->
</script> </td>
</tr>
</table>
Geri: Forumlariniz icin degisik Kodlar [konu 1]
Bir başka kayan yazı örneği, bu seferkinde mesajlarımız aşağıdan yukarıya doğru geliyor.
Kod:
Kod:
- Kod:
</SCRIPT>
<!-- End of No Error JavaScript -->
<table align="center" border="0"><tr><td>
<script language="JavaScript">
var mw=350 /* The width */
var mh=100 /* The height */
var sp=1 /* The Speed */
var text= '<B><font face="Comic Sans MS" font color="black">...AŞŞAGIDAN YUKARIYA KAYAN YAZI...<br><br>...BURAYA İTEDİGİN KADAR YAZ...<br><br>...BURAYADA...<br><br>....BURAYADA...<br><br>...BURAYADA...<BR><br>AHA SON OLARAK BURAYADA '
if (document.all)document.write('<marquee direction="up" scrollAmount='+sp+' style="width:'+mw+';height:'+mh+'">'+text+'</marquee>')
function loop()
{
window.location.reload()
}
function loop2()
{
if (document.layers) { setTimeout("window.onresize=loop",350)
init()
}
}
function init()
{
document.marq.document.marqEx.document.write(text)
document.marq.document.marqEx.document.close()
thelength=document.marq.document.marqEx.document.height
runmarq()
}
function runmarq()
{
if (document.marq.document.marqEx.top>=thelength*(-1)) {
document.marq.document.marqEx.top-=sp
setTimeout("runmarq()",100)
}
else
{
document.marq.document.marqEx.top=mh
runmarq()
}
}
window.onload=loop2
</script>
</p>
</table>
Geri: Forumlariniz icin degisik Kodlar [konu 1]
Sayfanız yüklendiğinde istediğiniz mesaj hoş bir şekilde ekrana geliyor.
Kod:
Kod:
- Kod:
<p>
<font face="Verdana">
<h2 align="center"><span id="flyingletters_span" style="position:relative;"></span></h2>
</font>
<script>
flyingletters_message = "JavaScript Bankası" // $ = new line
flyingletters_distance = 50 // pixel(s)
flyingletters_speed = 50 // milliseconds
// no need to edit below this line
flyingletters_txt1="";
flyingletters_num1=0;
flyingletters_num4=0;
flyingletters_num5=0;
flyingletters_num6=0;
flyingletters_flyofle="";
flyingletters_flyofwi="";
flyingletters_flyofto="";
function flyingletters()
{
for(flyingletters_i=0;flyingletters_i != flyingletters_message.length;flyingletters_i++)
{
if(flyingletters_message.charAt(flyingletters_i) != "$")
{
flyingletters_txt1 = flyingletters_txt1 + "<span style='position:relative;visibility:hidden;' id='flyingletters_n" + flyingletters_i + "'>" + flyingletters_message.charAt(flyingletters_i) + "<\/span>";
}
else
{
flyingletters_txt1 = flyingletters_txt1 + "<br>";
}
}
flyingletters_span.innerHTML = flyingletters_txt1;flyingletters_txt1 = "";
flyingletters_flyofwi = flyingletters_span.offsetWidth;flyingletters_flyofto = flyingletters_span.offsetTop;flyingletters2();
}
function flyingletters2()
{
if(flyingletters_num4 != flyingletters_message.length)
{
if(flyingletters_message.charAt(flyingletters_num4) != "$")
{
eval("flyingletters_n" + flyingletters_num4 + ".style.left = - flyingletters_n" + flyingletters_num4 + ".offsetLeft + flyingletters_flyofwi / 2;");
eval("flyingletters_n" + flyingletters_num4 + ".style.top = - flyingletters_n" + flyingletters_num4 + ".offsetTop + flyingletters_distance");
eval("flyingletters_num5 = flyingletters_n" + flyingletters_num4 + ".style.left");
flyingletters_num5 = eval(flyingletters_num5.substring(0,flyingletters_num5.length - 2));
eval("flyingletters_num6 = flyingletters_n" + flyingletters_num4 + ".style.top");
flyingletters_num6 = eval(flyingletters_num6.substring(0,flyingletters_num6.length - 2));
flyingletters3("flyingletters_n" + flyingletters_num4,flyingletters_num5,(flyingletters_num5/10),flyingletters_num6,(flyingletters_num6/10));
}
flyingletters_num4++;setTimeout("flyingletters2()",flyingletters_speed);
}
}
function flyingletters3(flyingletters_target,flyingletters_lef2,flyingletters_num2,flyingletters_top2,flyingletters_num3)
{
if((Math.floor(flyingletters_top2) != 0 && Math.floor(flyingletters_top2) != -1) || (Math.floor(flyingletters_lef2) != 0 && Math.floor(flyingletters_lef2) != -1))
{
flyingletters_lef2 = flyingletters_lef2 - flyingletters_num2;
if(Math.floor(flyingletters_lef2) != -1)
{
eval(flyingletters_target + ".style.visibility = 'visible';" + flyingletters_target + ".style.left = Math.floor(flyingletters_lef2)");
}
else
{
eval(flyingletters_target + ".style.visibility = 'visible';" + flyingletters_target + ".style.left=Math.floor(flyingletters_lef2 + 1)");
}
flyingletters_top2 = flyingletters_top2 - flyingletters_num3;
if(Math.floor(flyingletters_top2) != -1)
{
eval(flyingletters_target + ".style.top = Math.floor(flyingletters_top2)");
}
else
{
eval(flyingletters_target + ".style.top = Math.floor(flyingletters_top2 + 1)");
}
setTimeout("flyingletters3('" + flyingletters_target + "'," + flyingletters_lef2 + "," + flyingletters_num2 + "," + flyingletters_top2 + "," + flyingletters_num3 + ")",50);
}
}
flyingletters();
</script>
<!-- end Source -->
</p>
Geri: Forumlariniz icin degisik Kodlar [konu 1]
Başka bir kayan yazı örneği.
Kod:
Kod:
- Kod:
<SCRIPT language=JavaScript1.2>
/*
Cross browser marquee script-
© Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions,
100's more DHTML scripts, and Terms Of
Use, visit dynamicdrive.com
*/
var marqueewidth=500
var marqueeheight=20
var speed=6
//Mesajınız
var marqueecontents='<font face="Arial" color="#000066"><strong><big>Javascript Bankası v1.3<fon</big></strong></font>'
if (document.all)
document.write('<marquee scrollAmount='+speed+' style="width:'+marqueewidth+'">'+marqueecontents+'</marquee>')
function regenerate(){
window.location.reload()
}
function regenerate2(){
if (document.layers){
setTimeout("window.onresize=regenerate",450)
intializemarquee()
}
}
function intializemarquee(){
document.cmarquee01.document.cmarquee02.document.write('<nobr>'+marqueecontents+'</nobr>')
document.cmarquee01.document.cmarquee02.document.close()
thelength=document.cmarquee01.document.cmarquee02.document.width
scrollit()
}
function scrollit(){
if (document.cmarquee01.document.cmarquee02.left>=thelength*(-1)){
document.cmarquee01.document.cmarquee02.left-=speed
setTimeout("scrollit()",100)
}
else{
document.cmarquee01.document.cmarquee02.left=marqueewidth
scrollit()
}
}
window.onload=regenerate2
</SCRIPT>
Geri: Forumlariniz icin degisik Kodlar [konu 1]
Güzel bir yazı scripti daha.
Kod:
Kod:
- Kod:
<script language="JavaScript1.2">
/*
Shock Wave Text script- By ejl( at )worldmailer.com
*/
var size = 20; //YAZI BÜYÜKLÜĞÜ
var speed_between_messages=1500 //ANİMASYON HIZI, HIZLANDIRMAK İÇİN KÜÇÜK SAYI GİRİN
var tekst = new Array()
{
tekst[0] = "Kayan Yazı-5";
tekst[1] = "Buradaki Mesajları Kendinize Uyarlayabilirsiniz";
tekst[2] = "Yazı Büyüklüğünü Değiştirebilir";
tekst[3] = "Animasyon Hızını Belirleyebilirsiniz..";
tekst[4] = "Mesaj Sayısını Artırabilirsiniz...";
}
var klaar = 0;
var s = 0;
var veran =0;
var tel = 0;
function bereken(i,Lengte)
{
return (size*Math.abs( Math.sin(i/(Lengte/3.14))) );
}
function motor(p)
{
var output = "";
for(w = 0;w < tekst[s].length - klaar+1; w++)
{
q = bereken(w/2 + p,16);
if (q > size - 0.5)
{klaar++;}
if (q < 5)
{tel++;
if (tel > 1)
{
tel = 0;
if (veran == 1)
{
veran = 0;
s++;
if ( s == tekst.length)
{s = 0;}
p = 0;
if (window.loop)
{clearInterval(loop)}
loop = motor();
}
}
}
output += "<font style='font-size: "+ q +"pt'>" +tekst[s].substring(w,w+1)+ "</font>";
}
for(k=w;k<klaar+w;k++)
{
output += "<font style='font-size: " + size + "pt'>" +tekst[s].substring(k,k+1)+ "</font>";
}
idee.innerHTML = output;
}
function startmotor(p){
if (!document.all)
return
var loop = motor(p);
if (window.time)
{clearInterval(time)}
if (klaar == tekst[s].length)
{
klaar = 0;
veran = 1;
tel = 0;
var time = setTimeout("startmotor(" +(p+1) + ")", speed_between_messages);
}else
{
var time =setTimeout("startmotor(" +(p+1) + ")", 50);
}
}
</script>
<div ID="idee"></div>
Geri: Forumlariniz icin degisik Kodlar [konu 1]
Başka bir kayan yazı örneği.
Kod:
Kod:
- Kod:
<script
language="JavaScript"><!--
// Wave Script by kurt.grigg( at )virgin.net
if (document.all)
{
var step=5;
var xstep=0;
var msg='JAVASCRIPT BANKASI Hazırlayan Serhat Sarıkaya';
document.write("<div id='water' style='position:relative;width:80%px;height:20px;font-family:Verdane;font-size:20px;color:blue'>"+msg+"</div>");
function wave(){
document.all.water.style.filter='wave(freq=1, strength=2, phase='+xstep+', lightstrength=70, add=0, enabled=1)';
xstep+=step;
TIMER=setTimeout('wave()',10);
}
}
wave();
// --></script>
Geri: Forumlariniz icin degisik Kodlar [konu 1]
Ziyaretçinizin tıklaması ile bir metin alanı içersinde sırayla mesajlarınızı verebileceğiniz bir script.
Kod:
Kod:
- Kod:
<FORM name=bannerForm>
<DIV align=center>
<CENTER>
<P><INPUT name=bannerField
onfocus="if (!bannerRunning) { startBanner() }" size=36
style="BACKGROUND-COLOR: #ffffff; BORDER-BOTTOM: #7d7dce 4px double;
BORDER-LEFT: #7d7dce 4px double; BORDER-RIGHT: #7d7dce 4px double;
BORDER-TOP: #7d7dce 4px double; COLOR: #0f1167"
value="TIKLAR MISIN"> </P></CENTER></DIV></FORM>
<P>
<SCRIPT language=JavaScript>
<!--
// Copyright (c) 1998 Suler Abou. All rights reserved.
// Permission given to use this script provided that the copyright
// notice remains as is.
// set speed of banner (pause in milliseconds between characters)
var speed = 100 // decrease value to increase speed (must be positive)
// set pause between completion of message and beginning of following message
var pause = 1000 // increase value to increase pause
// set initial values
var timerID = null
var bannerRunning = false
// create global array
var ar = new Array()
// assign the strings to the array's elements
ar[0] = "MERHABA"
ar[1] = "UMARIM PROGRAMIMI BEĞENDİNİZ"
ar[2] = "BOZUK SCRIPTLERİ LÜTFEN BİLDİRİN"
ar[3] = "SEVGİYLE KALIN........SERHAT SARIKAYA"
// set index of first message to be displayed first
var currentMessage = 0
// set index of last character to be displayed first
var offset = 0
// stop the banner if it is currently running
function stopBanner() {
// if banner is currently running
if (bannerRunning)
// stop the banner
clearTimeout(timerID)
// timer is now stopped
bannerRunning = false
}
// start the banner
function startBanner() {
// make sure the banner is stopped
stopBanner()
// start the banner from the current position
showBanner()
}
// type-in the current message
function showBanner() {
// assign current message to variable
var text = ar[currentMessage]
// if current message has not finished being displayed
if (offset < text.length) {
// if last character of current message is a space
if (text.charAt(offset) == " ")
// skip the current character
offset++
// assign the up-to-date to-be-displayed substring
// second argument of method accepts index of last character plus one
var partialMessage = text.substring(0, offset + 1)
// display partial message in text field
document.bannerForm.bannerField.value = partialMessage
// increment index of last character to be displayed
offset++ // IE sometimes has trouble with "++offset"
// recursive call after specified time
timerID = setTimeout("showBanner()", speed)
// banner is running
bannerRunning = true
} else {
// reset offset
offset = 0
// increment subscript (index) of current message
currentMessage++
// if subscript of current message is out of range
if (currentMessage == ar.length)
// wrap around (start from beginning)
currentMessage = 0
// recursive call after specified time
timerID = setTimeout("showBanner()", pause)
// banner is running
bannerRunning = true
}
}
// -->
</SCRIPT>
</P>
Geri: Forumlariniz icin degisik Kodlar [konu 1]
Bu scriptte ziyaretçinin tıklamasına gerek kalmadan kutuda mesajlar sırayla ekrana geliyor.
Kod:
Kod:
- Kod:
<script language="JavaScript">
<!--- hide script from old browsers
var CurrentMsg = 'hello ';
function update(msg) {
var pad_str="";
n = msg.length;
if(n<72) {
pad = (73-n)/2;
for(var i=0; i<pad; i++) {
pad_str+=" ";
}
}
CurrentMsg = pad_str + msg;
document.messages.field.value = CurrentMsg; clearTimeout(timer);
timer = setTimeout("idleMsg()",1500);
}
function MakeArray(n) {
this.length=n;
for(var i = 1; i<= n; i++) {
this[i] = "";
}
return(this);
}
var index = 1;
var notice_num = 9;
var notices = new MakeArray(notice_num);
notices[1] = "Birinci Mesajınızı Buraya Yazın";
notices[2] = "Yazıların Ekrana Gelme Hızını da";
notices[3] = "Ayarlayabilirsiniz";
notices[4] = "Var timer ile başlayan ";
notices[5] = "Satırdaki sayıyı";
notices[6] = "İstediğiniz gibi";
notices[7] = "Değiştirebilirsiniz ";
notices[8] = "Hoşçakalın...Serhat Sarıkaya";
var timer = setTimeout('idleMsg()',1500);
function nochange() {
document.messages.field.value = CurrentMsg;
}
function idleMsg() {
update(notices[index++]);
if(index>notice_num) {
index=1;
}
}
// end hiding from old browsers-->
</script>
<CENTER>
<form name="messages" onSubmit="return false">
<input type="text" name="field" size=73 value=" MERHABA" onFocus="self.status='This is a JavaScript information data field'; return true" onChange="nochange()">
</form>
</CENTER>
Geri: Forumlariniz icin degisik Kodlar [konu 1]
Bu script ile istediğiniz bir mesajı, sayfadaki bir textareanın içinde animasyon biçiminde sunabilirsiniz.
Kod:
Kod:
- Kod:
<form name="wa">
<input type="text" size="50" name="banner" value="">
</form>
<script language="Javascript">
<!--
// please keep these lines on when you copy the source
// made by: Nicolas - http://www.javascript-page.com
var message = "JAVASCRIPT BANKASI.."
var speed = 200
var x = 0
function initArray(n) {
this.length = n;
for (var i =1; i <= n; i++) {
this[i] = ' '
}
}
wky = new initArray(7)
wky[0] = "!!!"
wky[1] = "@@@"
wky[2] = "###"
wky[3] = "$$$"
wky[4] = "%%%"
wky[5] = "^^^"
wky[6] = "&&&"
wky[7] = "***"
function wacky() {
var y = wky[x]
document.wa.banner.value = y + message + y
if (wky.length != x) {
x++
}
else {
x = 0
}
setTimeout("wacky()", speed);
}
wacky();
//-->
</script>
Geri: Forumlariniz icin degisik Kodlar [konu 1]
Bu script ile istediğiniz bir mesajı, sayfadaki bir textareanın içinde animasyon biçiminde sunabilirsiniz.
Kod:
Kod:
- Kod:
<form name="wa">
<input type="text" size="50" name="banner" value="">
</form>
<script language="Javascript">
<!--
// please keep these lines on when you copy the source
// made by: Nicolas - http://www.javascript-page.com
var message = "JAVASCRIPT BANKASI.."
var speed = 200
var x = 0
function initArray(n) {
this.length = n;
for (var i =1; i <= n; i++) {
this[i] = ' '
}
}
wky = new initArray(7)
wky[0] = "!!!"
wky[1] = "@@@"
wky[2] = "###"
wky[3] = "$$$"
wky[4] = "%%%"
wky[5] = "^^^"
wky[6] = "&&&"
wky[7] = "***"
function wacky() {
var y = wky[x]
document.wa.banner.value = y + message + y
if (wky.length != x) {
x++
}
else {
x = 0
}
setTimeout("wacky()", speed);
}
wacky();
//-->
</script>
Geri: Forumlariniz icin degisik Kodlar [konu 1]
Başka bir kutuda mesaj scripti.
Kod:
Kod:
- Kod:
<script language="JavaScript1.2">
/******************************************
* Scrollable content script II- © Dynamic Drive (www.dynamicdrive.com)
* Visit http://www.dynamicdrive.com/ for full source code
* This notice must stay intact for use
******************************************/
iens6=document.all||document.getElementById
ns4=document.layers
//specify speed of scroll (greater=faster)
var speed=5
if (iens6){
document.write('<div id="container" style="position:relative;width:175;height:160;border:1px solid black;overflow:hidden">')
document.write('<div id="content" style="position:absolute;width:170;left:0;top:0">')
}
</script>
<ilayer name="nscontainer" width=175 height=160 clip="0,0,175,160">
<layer name="nscontent" width=175 height=160 visibility=hidden>
<!--INSERT CONTENT HERE-->
<p><font size="2" face="Arial">-</font><font size="2" face="Arial"> DHTML is the
combination of HTML, JavaScript, and CSS</font></p>
<p><font size="2" face="Arial">- DOM stands for Document Object Model</font></p>
<p><font size="2" face="Arial">-</font><font size="2" face="Arial"> DHTML allows
content on a page to change on the fly, without reloading the page</font></p>
<p><font size="2" face="Arial">- CSS allows for the separation between content
definition and formatting</font></p>
<p><font size="2" face="Arial">- CSS stands for Cascading style sheet</font></p>
<p><font size="2" face="Arial">- </font><font size="2" face="Arial"><a href="http://www.dynamicdrive.com">Dynamic
Drive</a> provides free, cut and paste DHTML scripts</font></p>
<!--END CONTENT-->
</layer>
</ilayer>
<script language="JavaScript1.2">
if (iens6)
document.write('</div></div>')
</script>
<table width="175px"><td><p align="right">
<a href="#" onMouseover="moveup()" onMouseout="clearTimeout(moveupvar)">
<img src="yuk1.gif" border=0 width="9" height="5"></a> <a href="#" onMouseover="movedown()" onMouseout="clearTimeout(movedownvar)">
<img src="as1.gif" border=0 width="9" height="5"></a></p></td>
</table>
<script language="JavaScript1.2">
if (iens6){
var crossobj=document.getElementById? document.getElementById("content") : document.all.content
var contentheight=crossobj.offsetHeight
}
else if (ns4){
var crossobj=document.nscontainer.document.nscontent
var contentheight=crossobj.clip.height
}
function movedown(){
if (iens6&&parseInt(crossobj.style.top)>=(contentheight*(-1)+100))
crossobj.style.top=parseInt(crossobj.style.top)-speed
else if (ns4&&crossobj.top>=(contentheight*(-1)+100))
crossobj.top-=speed
movedownvar=setTimeout("movedown()",20)
}
function moveup(){
if (iens6&&parseInt(crossobj.style.top)<=0)
crossobj.style.top=parseInt(crossobj.style.top)+speed
else if (ns4&&crossobj.top<=0)
crossobj.top+=speed
moveupvar=setTimeout("moveup()",20)
}
function getcontent_height(){
if (iens6)
contentheight=crossobj.offsetHeight
else if (ns4)
document.nscontainer.document.nscontent.visibility="show"
}
window.onload=getcontent_height
</script>
Geri: Forumlariniz icin degisik Kodlar [konu 1]
Sayfanızda etkileyici mesajlar verebileceğiniz başka bir script.
Kod:
Kod:
- Kod:
<script language="JavaScript1.2">
/*
Pausing updown message scroller-
Last updated: 99/07/05 (Bugs fixed, ability to specify background image for scroller)
© Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions,
100's more DHTML scripts, and Terms Of
Use, visit dynamicdrive.com
*/
//configure the below five variables to change the style of the scroller
var scrollerwidth=150
var scrollerheight=120
var scrollerbgcolor='lightyellow'
//set below to '' if you don't wish to use a background image
var scrollerbackground='scrollerback.gif'
//configure the below variable to change the contents of the scroller
var messages=new Array()
var ar = new Array()
messages[0]="Javascript";
messages[1]="Bankası";
messages[2]="Hazırlayan";
messages[3]="Serhat";
messages[4]="Sarıkaya";
///////Do not edit pass this line///////////////////////
if (messages.length>1)
i=2
else
i=0
function move1(whichlayer){
tlayer=eval(whichlayer)
if (tlayer.top>0&&tlayer.top<=5){
tlayer.top=0
setTimeout("move1(tlayer)",3000)
setTimeout("move2(document.main.document.second)",3000)
return
}
if (tlayer.top>=tlayer.document.height*-1){
tlayer.top-=5
setTimeout("move1(tlayer)",100)
}
else{
tlayer.top=scrollerheight
tlayer.document.write(messages[i])
tlayer.document.close()
if (i==messages.length-1)
i=0
else
i++
}
}
function move2(whichlayer){
tlayer2=eval(whichlayer)
if (tlayer2.top>0&&tlayer2.top<=5){
tlayer2.top=0
setTimeout("move2(tlayer2)",3000)
setTimeout("move1(document.main.document.first)",3000)
return
}
if (tlayer2.top>=tlayer2.document.height*-1){
tlayer2.top-=5
setTimeout("move2(tlayer2)",100)
}
else{
tlayer2.top=scrollerheight
tlayer2.document.write(messages[i])
tlayer2.document.close()
if (i==messages.length-1)
i=0
else
i++
}
}
function move3(whichdiv){
tdiv=eval(whichdiv)
if (tdiv.style.pixelTop>0&&tdiv.style.pixelTop<=5){
tdiv.style.pixelTop=0
setTimeout("move3(tdiv)",3000)
setTimeout("move4(second2)",3000)
return
}
if (tdiv.style.pixelTop>=tdiv.offsetHeight*-1){
tdiv.style.pixelTop-=5
setTimeout("move3(tdiv)",100)
}
else{
tdiv.style.pixelTop=scrollerheight
tdiv.innerHTML=messages[i]
if (i==messages.length-1)
i=0
else
i++
}
}
function move4(whichdiv){
tdiv2=eval(whichdiv)
if (tdiv2.style.pixelTop>0&&tdiv2.style.pixelTop<=5){
tdiv2.style.pixelTop=0
setTimeout("move4(tdiv2)",3000)
setTimeout("move3(first2)",3000)
return
}
if (tdiv2.style.pixelTop>=tdiv2.offsetHeight*-1){
tdiv2.style.pixelTop-=5
setTimeout("move4(second2)",100)
}
else{
tdiv2.style.pixelTop=scrollerheight
tdiv2.innerHTML=messages[i]
if (i==messages.length-1)
i=0
else
i++
}
}
function startscroll(){
if (document.all){
move3(first2)
second2.style.top=scrollerheight
second2.style.visibility='visible'
}
else if (document.layers){
document.main.visibility='show'
move1(document.main.document.first)
document.main.document.second.top=scrollerheight+5
document.main.document.second.visibility='show'
}
}
window.onload=startscroll
</script>
<ilayer id="main" width=&{scrollerwidth}; height=&{scrollerheight}; bgColor=&{scrollerbgcolor}; background=&{scrollerbackground}; visibility=hide>
<layer id="first" left=0 top=1 width=&{scrollerwidth};>
<script language="JavaScript1.2">
if (document.layers)
document.write(messages[0])
</script>
</layer>
<layer id="second" left=0 top=0 width=&{scrollerwidth}; visibility=hide>
<script language="JavaScript1.2">
if (document.layers)
document.write(messages[1])
</script>
</layer>
</ilayer>
<script language="JavaScript1.2">
if (document.all){
document.writeln('<span id="main2" style="position:relative;width:'+scrollerwidth+';height:'+scrollerheight+';overflow:hiden;background-color:'+scrollerbgcolor+' ;background-image:url('+scrollerbackground+')">')
document.writeln('<div style="position:absolute;width:'+scrollerwidth+';height:'+scrollerheight+';clip:rect(0 '+scrollerwidth+' '+scrollerheight+' 0);left:0;top:0">')
document.writeln('<div id="first2" style="position:absolute;width:'+scrollerwidth+';left:0;top:1;">')
document.write(messages[0])
document.writeln('</div>')
document.writeln('<div id="second2" style="position:absolute;width:'+scrollerwidth+';left:0;top:0;visibility:hidden">')
document.write(messages[1])
document.writeln('</div>')
document.writeln('</div>')
document.writeln('</span>')
}
</script>
Geri: Forumlariniz icin degisik Kodlar [konu 1]
Başka bir kutuda mesaj örneği.
Kod:
Kod:
- Kod:
<script language="JavaScript1.2">
/*
Fading Scroller- By DynamicDrive.com
For full source code, 100's more DHTML scripts, and TOS,
visit http://www.dynamicdrive.com
*/
var delay=3000 //set delay between message change (in miliseconds)
begintag='<font face="Arial" size=2>' //set opening tag, such as font declarations
closetag='</font>'
var fcontent=new Array()
fcontent[0]="Javascript";
fcontent[1]="Bankası";
fcontent[2]="Hazırlayan";
fcontent[3]="Serhat Sarıkaya";
var fwidth=150 //set scroller width
var fheight=150 //set scroller height
///No need to edit below this line/////////////////
var ie4=document.all&&!document.getElementById
var ns4=document.layers
var DOM2=document.getElementById
var faderdelay=0
var index=0
if (DOM2)
faderdelay=2000
//function to change content
function changecontent(){
if (index>=fcontent.length)
index=0
if (DOM2){
document.getElementById("fscroller").style.color="rgb(255,255,255)"
document.getElementById("fscroller").innerHTML=begintag+fcontent[index]+closetag
colorfade()
}
else if (ie4)
document.all.fscroller.innerHTML=begintag+fcontent[index]+closetag
else if (ns4){
document.fscrollerns.document.fscrollerns_sub.document.write(begintag+fcontent[index]+closetag)
document.fscrollerns.document.fscrollerns_sub.document.close()
}
index++
setTimeout("changecontent()",delay+faderdelay)
}
// colorfade() partially by Marcio Galli for Netscape Communications. ////////////
// Modified by Dynamicdrive.com
frame=20;
hex=255 // Initial color value.
function colorfade() {
// 20 frames fading process
if(frame>0) {
hex-=12; // increase color value
document.getElementById("fscroller").style.color="rgb("+hex+","+hex+","+hex+")"; // Set color value.
frame--;
setTimeout("colorfade()",20);
}
else{
document.getElementById("fscroller").style.color="rgb(0,0,0)";
frame=20;
hex=255
}
}
if (ie4||DOM2)
document.write('<div id="fscroller" style="border:1px solid black;width:'+fwidth+';height:'+fheight+';padding:2px"></div>')
window.onload=changecontent
</script>
<ilayer id="fscrollerns" width=&{fwidth}; height=&{fheight};><layer id="fscrollerns_sub" width=&{fwidth}; height=&{fheight}; left=0 top=0></layer></ilayer>
Geri: Forumlariniz icin degisik Kodlar [konu 1]
Bu script ile renkli çerçeveler oluşturabilirsiniz
Kod:
Kod:
- Kod:
<table border="0" width="280" id="myexample"
style="border:5px solid green">
<tr>
<td align="center">-----Nasıl güzel mi-----</td>
</tr>
</table>
</center></div><!-- --><script language="JavaScript1.2">
<!--
/*
© 2000 The Abusive_Poet
Rights Registered and Reserved
Please respect my work
*/
function flashit(){
if (!document.all)
return
if (myexample.style.borderColor=="green")
myexample.style.borderColor="red"
else
myexample.style.borderColor="green"
}
setInterval("flashit()", 500)
//-->
</script>
Geri: Forumlariniz icin degisik Kodlar [konu 1]
Bu seferki scriptte sayfanın tamamının çevresi renkli oluyor.
Kod:
Kod:
- Kod:
<script language="JavaScript">
<!-- I.E. only page border script kurt.grigg( at )virgin.net
if (document.all){
with (window.document.body.style){
borderWidth=5;
borderStyle='solid';
borderColor='#0080ff';
}
}
//-->
</script>
Geri: Forumlariniz icin degisik Kodlar [konu 1]
Bu script ile yazılarınız rengarenk olabilir.
Kod:
Kod:
- Kod:
<font size="2" face="Verdana"><script language="JavaScript1.2">
<!-- Begin
function initArray() {
this.length = initArray.arguments.length;
for (var i = 0; i < this.length; i++) {
this[i] = initArray.arguments[i];
}
}
var ctext = "--SAMSUNSPOR-- http://www.samsunspor.kulubu.com<br>istediginiz kadar renk ekleyerek daha güzel bir görüntü verebilirsiniz.<BR>";
var speed = 1000;
var x = 0;
var color = new initArray(
"yellow",
"green",
"blue",
"white",
"red",
"orange"
);
if(navigator.appName == "Netscape") {
document.write('<layer id="c"><center>'+ctext+'</center></layer><br>');
}
if (navigator.appVersion.indexOf("MSIE") != -1){
document.write('<div id="c"><center>'+ctext+'</center></div>');
}
function chcolor(){
if(navigator.appName == "Netscape") {
document.c.document.write('<center><font color="'+color[x]);
document.c.document.write('">'+ctext+'</font></center>');
document.c.document.close();
}
else if (navigator.appVersion.indexOf("MSIE") != -1){
document.all.c.style.color = color[x];
}
(x < color.length-1) ? x++ : x = 0;
}
setInterval("chcolor()",1000);
// EndA1 -->
</script></font>
Geri: Forumlariniz icin degisik Kodlar [konu 1]
Bu script ile yazacağınız yazılar sadece rengarek olmakla kalmıyor aynı zamanda her daim sayfanın en altında yer almakta bayağı ısrarcı davranıyor.
Kod:
Kod:
- Kod:
<!-- Type your text here //-->
<SCRIPT LANGUAGE="JavaScript">
<!--
//enter the message you wish to be shown, including html tags
var message='<b><font color=000000 size=3>www.javascriptbankasi.com.tr.tc</font></b>'
//enter a color name to be used as the background color of the message
var backgroundcolor="yellow"
//enter 0 for always display, 1 for a set period, 2 for random display mode
var displaymode=0
//if displaymode is set to display for a set period, enter the period below (1000=1 sec)
var displayduration=10000
//enter 0 for non-flashing message, 1 for flashing
var flashmode=1
//if above is set to flashing, enter the flash-to color below
var flashtocolor="lightgreen"
function regenerate(){
window.location.reload()
}
var which=0
function regenerate2(){
if (document.layers)
setTimeout("window.onresize=regenerate",400)
}
function display2(){
if (document.layers){
if (topmsg.visibility=="show")
topmsg.visibility="hide"
else
topmsg.visibility="show"
}
else if (document.all){
if (topmsg.style.visibility=="visible")
topmsg.style.visibility="hidden"
else
topmsg.style.visibility="visible"
setTimeout("display2()",Math.round(Math.random()*10000)+10000)
}
}
function flash(){
if (which==0){
if (document.layers)
topmsg.bgColor=flashtocolor
else
topmsg.style.backgroundColor=flashtocolor
which=1
}
else{
if (document.layers)
topmsg.bgColor=backgroundcolor
else
topmsg.style.backgroundColor=backgroundcolor
which=0
}
}
if (document.all){
document.write('<span id="topmsg" style="position:absolute;visibility:hidden">'+message+'</span>')
}
function logoit(){
document.all.topmsg.style.left=document.body.scrollLeft+document.body.clientWidth/2-document.all.topmsg.offsetWidth/2
document.all.topmsg.style.top=document.body.scrollTop+document.body.clientHeight-document.all.topmsg.offsetHeight-4
}
function logoit2(){
topmsg.left=pageXOffset+window.innerWidth/2-topmsg.document.width/2
topmsg.top=pageYOffset+window.innerHeight-topmsg.document.height-5
setTimeout("logoit2()",90)
}
function setmessage(){
document.all.topmsg.style.left=document.body.scrollLeft+document.body.clientWidth/2-document.all.topmsg.offsetWidth/2
document.all.topmsg.style.top=document.body.scrollTop+document.body.clientHeight-document.all.topmsg.offsetHeight-4
document.all.topmsg.style.backgroundColor=backgroundcolor
document.all.topmsg.style.visibility="visible"
if (displaymode==1)
setTimeout("topmsg.style.visibility='hidden'",displayduration)
else if (displaymode==2)
display2()
if (flashmode==1)
setInterval("flash()",1000)
window.onscroll=logoit
window.onresize=new Function("window.location.reload()")
}
function setmessage2(){
topmsg=new Layer(window.innerWidth)
topmsg.bgColor=backgroundcolor
regenerate2()
topmsg.document.write(message)
topmsg.document.close()
logoit2()
topmsg.visibility="show"
if (displaymode==1)
setTimeout("topmsg.visibility='hide'",displayduration)
else if (displaymode==2)
display2()
if (flashmode==1)
setInterval("flash()",1000)
}
if (document.layers)
window.onload=setmessage2
else if (document.all)
window.onload=setmessage
//-->
</SCRIPT>
Geri: Forumlariniz icin degisik Kodlar [konu 1]
Etkileyici yazılar oluşturabileceğiniz başka bir script.
Kod:
Kod:
- Kod:
<SCRIPT LANGUAGE="JavaScript">
<!-- Original: Matthew Musgrove ( muskrat( at )lvnworth.com) -->
<!-- Web Site: http://free.prohosting.com/~musgrove -->
<!-- Begin
var no = 50;
var speed = 1;
var ns4up = (document.layers) ? 1 : 0;
var ie4up = (document.all) ? 1 : 0;
var s, x, y, sn, cs;
var a, r, cx, cy;
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;
}
x = new Array();
y = new Array();
r = new Array();
cx = new Array();
cy = new Array();
s = 8;
for (i = 0; i < no; ++ i) {
initRain();
if (ns4up) {
if (i == 0) {
document.write("<layer name=\"dot"+ i +"\" left=\"1\" ");
document.write("top=\"1\" visibility=\"show\"><font color=\"blue\">");
document.write(",</font></layer>");
}
else {
document.write("<layer name=\"dot"+ i +"\" left=\"1\" ");
document.write("top=\"1\" visibility=\"show\"><font color=\"blue\">");
document.write(",</font></layer>");
}
}
else
if (ie4up) {
if (i == 0) {
document.write("<div id=\"dot"+ i +"\" style=\"POSITION: ");
document.write("absolute; Z-INDEX: "+ i +"; VISIBILITY: ");
document.write("visible; TOP: 15px; LEFT: 15px;\"><font color=\"blue\">");
document.write(",</font></div>");
}
else {
document.write("<div id=\"dot"+ i +"\" style=\"POSITION: ");
document.write("absolute; Z-INDEX: "+ i +"; VISIBILITY: ");
document.write("visible; TOP: 15px; LEFT: 15px;\"><font color=\"blue\">");
document.write(",</font></div>");
}
}
}
function initRain() {
a = 6;
r[i] = 1;
sn = Math.sin(a);
cs = Math.cos(a);
cx[i] = Math.random() * doc_width + 1;
cy[i] = Math.random() * doc_height + 1;
x[i] = r[i] * sn + cx[i];
y[i] = cy[i];
}
function makeRain() {
r[i] = 1;
cx[i] = Math.random() * doc_width + 1;
cy[i] = 1;
x[i] = r[i] * sn + cx[i];
y[i] = r[i] * cs + cy[i];
}
function updateRain() {
r[i] += s;
x[i] = r[i] * sn + cx[i];
y[i] = r[i] * cs + cy[i];
}
function raindropNS() {
for (i = 0; i < no; ++ i) {
updateRain();
if ((x[i] <= 1) || (x[i] >= (doc_width - 20)) || (y[i] >= (doc_height - 20))) {
makeRain();
doc_width = self.innerWidth;
doc_height = self.innerHeight;
}
document.layers["dot"+i].top = y[i];
document.layers["dot"+i].left = x[i];
}
setTimeout("raindropNS()", speed);
}
function raindropIE() {
for (i = 0; i < no; ++ i) {
updateRain();
if ((x[i] <= 1) || (x[i] >= (doc_width - 20)) || (y[i] >= (doc_height - 20))) {
makeRain();
doc_width = document.body.clientWidth;
doc_height = document.body.clientHeight;
}
document.all["dot"+i].style.pixelTop = y[i];
document.all["dot"+i].style.pixelLeft = x[i];
}
setTimeout("raindropIE()", speed);
}
if (ns4up) {
raindropNS();
}
else
if (ie4up) {
raindropIE();
}
// End -->
</script>
Geri: Forumlariniz icin degisik Kodlar [konu 1]
Etkileyici yazılar oluşturabileceğiniz başka bir script.
Kod:
Kod:
- Kod:
<h2 align="center"><span id="lightf_light"></span></h2>
</font><!-- to change the color, alignment, size,... just change the code above to:
<font size="7" color="green" face="Impact"><span id="lightf_light"></span></font> -->
<script>
lightf_lightcolor1= "FED654" // use capital letters
lightf_lightcolor2= "654321" // use capital letters
lightf_message= "JavaScript Bankası"
lightf_speed= 75 // milliseconds
// no need to edit below this line
color_mesk=new Array();
color_mesk[10]="A";
color_mesk[11]="B";
color_mesk[12]="C";
color_mesk[13]="D";
color_mesk[14]="E";
color_mesk[15]="F";
color_A=10;
color_B=11;
color_C=12;
color_D=13;
color_E=14;
color_F=15;
color_let="ABCDEF";
function color_mes(color_num)
{
if(color_let.indexOf(color_num) != -1)
{
return eval("color_" + color_num)
}
else
{
if(color_num < 10)
{
return eval(color_num)
}
else
{
return color_mesk[color_num];
}
}
}
function color(color_begin,color_einde,color_stappen,color_stap)
{
color_hh1=(color_mes(color_begin.charAt(0))*16)+color_mes(color_begin.charAt(1));
color_hh2=(color_mes(color_begin.charAt(2))*16)+color_mes(color_begin.charAt(3));
color_hh3=(color_mes(color_begin.charAt(4))*16)+color_mes(color_begin.charAt(5));
color_pp1=(color_mes(color_einde.charAt(0))*16)+color_mes(color_einde.charAt(1));
color_pp2=(color_mes(color_einde.charAt(2))*16)+color_mes(color_einde.charAt(3));
color_pp3=(color_mes(color_einde.charAt(4))*16)+color_mes(color_einde.charAt(5));
if(color_hh1 < color_pp1)
{
color_ff1=color_hh1+Math.floor((color_pp1-color_hh1)/color_stappen*color_stap);
color_ff1=eval("\'"+color_mes(Math.floor(color_ff1/16))+"\'")+eval("\'"+color_mes(color_ff1-(Math.floor(color_ff1/16)*16))+"\'");
}
else
{
color_ff1=color_hh1-Math.floor((color_hh1-color_pp1)/color_stappen*color_stap);
color_ff1=eval("\'"+color_mes(Math.floor(color_ff1/16))+"\'")+eval("\'"+color_mes(color_ff1-(Math.floor(color_ff1/16)*16))+"\'");
}
if(color_hh2 < color_pp2)
{
color_ff2=color_hh2+Math.floor((color_pp2-color_hh2)/color_stappen*color_stap);
color_ff2=eval("\'"+color_mes(Math.floor(color_ff2/16))+"\'")+eval("\'"+color_mes(color_ff2-(Math.floor(color_ff2/16)*16))+"\'");
}
else
{
color_ff2=color_hh2-Math.floor((color_hh2-color_pp2)/color_stappen*color_stap);
color_ff2=eval("\'"+color_mes(Math.floor(color_ff2/16))+"\'")+eval("\'"+color_mes(color_ff2-(Math.floor(color_ff2/16)*16))+"\'");
}
if(color_hh3 < color_pp3)
{
color_ff3=color_hh3+Math.floor((color_pp3-color_hh3)/color_stappen*color_stap);
color_ff3=eval("\'"+color_mes(Math.floor(color_ff3/16))+"\'")+eval("\'"+color_mes(color_ff3-(Math.floor(color_ff3/16)*16))+"\'");
}
else
{
color_ff3=color_hh3-Math.floor((color_hh3-color_pp3)/color_stappen*color_stap);
color_ff3=eval("\'"+color_mes(Math.floor(color_ff3/16))+"\'")+eval("\'"+color_mes(color_ff3-(Math.floor(color_ff3/16)*16))+"\'");
}
return color_ff1+color_ff2+color_ff3
}
lightf_num=0;
lightf_num2=0;
lightf_txt=new Array();
lightf_txt[0]="";
function lightf()
{
for(lightf_i=0;lightf_i != Math.floor(lightf_message.length/2);lightf_i++)
{
lightf_txt[lightf_i]=color(lightf_lightcolor1,lightf_lightcolor2,Math.floor(lightf_message.length/2),lightf_i);
}
for(lightf_i=Math.floor(lightf_message.length/2);lightf_i != lightf_message.length;lightf_i++)
{
lightf_txt[lightf_i]=color(lightf_lightcolor2,lightf_lightcolor1,Math.floor(lightf_message.length/2),(lightf_i-Math.floor(lightf_message.length/2)));
}
lightf_lightf1();
}
function lightf_lightf1()
{
lightf_txt[lightf_message.length+1]="";
lightf_num2=lightf_message.length-lightf_num;
for(lightf_i=0;lightf_i != lightf_message.length;lightf_i++)
{
if(lightf_i+lightf_num < lightf_message.length)
{
lightf_txt[lightf_message.length+1]=lightf_txt[lightf_message.length+1]+"<font color='#"+lightf_txt[(lightf_i+lightf_num)]+"'>"+lightf_message.charAt(lightf_i)+"</font>";
}
else
{
lightf_txt[lightf_message.length+1]=lightf_txt[lightf_message.length+1]+"<font color='#"+lightf_txt[lightf_i-lightf_num2]+"'>"+lightf_message.charAt(lightf_i)+"</font>";
}
}
if(lightf_num != lightf_message.length)
{
lightf_num++;
}
else
{
lightf_num=0;
}
lightf_light.innerHTML=lightf_txt[lightf_message.length+1];
setTimeout("lightf_lightf1()",lightf_speed)
}
lightf();
</script>
<!-- end Source -->
<p align="center">
</p>
<p align="center">
</p>
<p align="center">
</p>
<p align="center">
</p>
Geri: Forumlariniz icin degisik Kodlar [konu 1]
Başka bir renkli yazı scripti.
Kod:
Kod:
- Kod:
<h2>
<script language="JavaScript1.2">
/*
Neon Lights Text
By Website Abstraction (http://wsabstract.com)
Over 400+ free scripts here!
*/
var message="Javascript Bankası"
var neonbasecolor="gray"
var neontextcolor="yellow"
var flashspeed=100 //in milliseconds
///No need to edit below this line/////
var n=0
if (document.all){
document.write('<font color="'+neonbasecolor+'">')
for (m=0;m<message.length;m++)
document.write('<span id="neonlight">'+message.charAt(m)+'</span>')
document.write('</font>')
//cache reference to neonlight array
var tempref=document.all.neonlight
}
else
document.write(message)
function neon(){
//Change all letters to base color
if (n==0){
for (m=0;m<message.length;m++)
tempref[m].style.color=neonbasecolor
}
//cycle through and change individual letters to neon color
tempref[n].style.color=neontextcolor
if (n<tempref.length-1)
n++
else{
n=0
clearInterval(flashing)
setTimeout("beginneon()",1500)
return
}
}
function beginneon(){
if (document.all)
flashing=setInterval("neon()",flashspeed)
}
beginneon()
</script>
</h2>
Geri: Forumlariniz icin degisik Kodlar [konu 1]
Başka bir renkli yazı scripti.
Kod:
Kod:
- Kod:
<p><!-- START OF SCRIPT -->
<!-- For more scripts visit http:// -->
<SCRIPT language="JavaScript">
// ------------- Browser Detector ---------------
// Possible values for browser are:
// "netscape"
// "opera" <--(ewww)
// "msie" <--(double ewww)
// "robot"
// "unknown"
// Possible values for version are:
// any numerical value (3, 2.02, 4.04, etc.)
// 0 if unable to determine
var browser = "unknown";
var version = 0;
if (navigator.userAgent.indexOf("Opera") >= 0)
browser = "opera";
else if (navigator.userAgent.indexOf("obot") >= 0)
browser = "robot";
else if (navigator.appName.indexOf("etscape") >= 0)
browser = "netscape";
else if (navigator.appName.indexOf("icrosoft") >= 0)
browser = "msie";
version = parseFloat(navigator.appVersion);
if (isNaN(version)) version = 0;
if ((browser == "msie")&&(version == 2)) version = 3;
// ------------------ Gradient Output --------------------
// Syntax for use:
// gradient(TEXT_STRING_HERE,HEXCODES_STRING_HERE);
// use in similar way you would use document.write();
// note, it cannot be used to return a string value.
// gradient() takes two arguements. the first will
// be the original pure text string. (no htmlcodes)
// the second argument is a string of color hexcodes
// seperated with spaces thru which the text should
// progress. for example say you wanted to print out
// the string "color gradient", and you wanted it to
// progress from blue to red. a color code for blue
// is 4444FF, and a color code for red is FF4444.
// taking those two codes, and the original string,
// somewhere in the body of the document you would
// write within a <Script> tag the following:
// gradient("color gradient","4444FF FF4444");
// if however, you wanted it to progress thru three
// or more colors, its as simple as adding them to the
// string of color codes. it is important to remember
// however that the string must be color HEXCODES, and
// not merely just color names, (e.x- "red", "yellow")
// if this seems like too much trouble, then perhaps
// you should try something simple like ripping off
// some annoying status bar text scroller. =Ş
// one last thing. if you overuse this script, i can
// pretty much gaurantee people will hate your webpage.
// the fact is, this javascript is memory intensive. if
// you overdo it, you're crashing some visitors' browsers.
// ------------------------------------------------------
// lookup table
var tohex = new Array(256);
var hex = "0123456789ABCDEF";
var count = 0;
for (x=0; x<16; x++) {
for (y=0; y<16; y++) {
tohex[count] = hex.charAt(x) + hex.charAt(y);
count++;
}
}
//ColorCode constructor
function ColorCode(hexcode) {
if (hexcode.length == 7) {
this.r = parseInt(hexcode.substring(1,3),16);
this.g = parseInt(hexcode.substring(3,5),16);
this.b = parseInt(hexcode.substring(5,7),16);
}
else if (hexcode.length == 6) {
this.r = parseInt(hexcode.substring(0,2),16);
this.g = parseInt(hexcode.substring(2,4),16);
this.b = parseInt(hexcode.substring(4,6),16);
}
else {
this.r = this.g = this.b = 0;
alert("Error: ColorCode constructor failed");
}
if (isNaN(this.r)||isNaN(this.g)||isNaN(this.b))
alert("Error: ColorCode constructor failed");
}
// ColorList constructor
function ColorList(hexcodes) {
var i = 0;
var c = 0;
this.codes = new Array(Math.round(hexcodes.length/7));
while (i < hexcodes.length) {
if (isNaN(parseInt(hexcodes.substring(i,i+6),16))) ++i;
else {
this.codes[c] = new ColorCode(hexcodes.substring(i,i+6));
i += 7;
++c;
}
}
this.len = c;
}
function interpolate (x1, y1, x3, y3, x2) {
if (x3 == x1) return y1
else return (x2-x1)*(y3-y1)/(x3-x1) + y1
}
// x=index of letter, y=number of letters, z=number of colors
function lowcolorindex (x, y, z) {
if (y == 1) return 0
else return Math.floor( (x*(z-1))/(y-1) )
}
function hicolorindex (x, y, z, low) {
if ( low*(y-1) == x*(z-1) ) return low
else if (y == 1) return 0
else return Math.floor( (x*(z-1))/(y-1) + 1 )
}
function gradient (thetext,thecolors) {
if (((browser == "netscape")||(browser == "msie")||(browser == "opera"))&&(version>=3.0)) {
var colors = new ColorList(thecolors);
var numcolors = colors.len;
var numchars = thetext.length;
var rr = 0;
var gg = 0;
var bb = 0;
var lci = 0; //lower color index
var hci = 0; //high color index
for (i=0; i<numchars; ++i) {
lci = lowcolorindex(i, numchars, numcolors);
hci = hicolorindex(i, numchars, numcolors, lci);
rr = Math.round(interpolate( lci/(numcolors-1), colors.codes[lci].r, hci/(numcolors-1), colors.codes[hci].r, i/(numchars-1)));
gg = Math.round(interpolate( lci/(numcolors-1), colors.codes[lci].g, hci/(numcolors-1), colors.codes[hci].g, i/(numchars-1)));
bb = Math.round(interpolate( lci/(numcolors-1), colors.codes[lci].b, hci/(numcolors-1), colors.codes[hci].b, i/(numchars-1)));
if (browser == "opera") {
rr = 255 - rr;
gg = 255 - gg;
bb = 255 - bb;
}
document.write(thetext.charAt(i).fontcolor(tohex[rr]+tohex[gg]+tohex[bb]));
}
}
else document.write(thetext); // unrecognized browser, better not to attempt anything fancy
}
</SCRIPT>
<DIV align=center>
<SCRIPT language="JavaScript">
gradient("JAVASCRIPT BANKASI","FF0000 FFFFFF 0000FF");
document.write('<BR>');
gradient("www.javascriptbnkasi.com.tr.tc","444444 DDDDDD 444444");
document.write('<BR><FONT size=+1><TT><B>');
gradient("JavaScript Deponuz","FF8888 FFFF88 88FF88 88FFFF 8888FF FF88FF");
document.write('</B></TT></FONT><BR><FONT size=2>');
gradient("javascriptbankasi( at )bigfoot.com","884488 444488 448888 448844 888844 884444");
document.write("</FONT><BR>");
</SCRIPT>
</DIV>
<!-- END OF SCRIPT --></p>
Geri: Forumlariniz icin degisik Kodlar [konu 1]
Bu script ile sayfanızın yüklendiğinde ziyaretçinize adını sorabilir ve ona bir hoşgeldin mesajı verebilirsiniz.
Kod:
Kod:
- Kod:
<font face="Verdana" size="+1" color="#FF0000"><center>MeRHaBa
<B>
<b>
<font color="#FF0000" size="+2" face="Lucida Handwriting"> <script><!-- iniciar
var ADJ2 = prompt("MERHABA ADINI SORMAMIN SAKINCASI YOKTUR UMARIM YOKSA YAZ LÜTFEN?","DoSTuM")
document.write(" " + ADJ2 + "") // finalizar --></script></font></i><BR> </b></b></font>
Geri: Forumlariniz icin degisik Kodlar [konu 1]
Bu scriptte kullanıcının browserı Nestcape ve versiyonu da 3.0 dan büyük ise index2.html, diğer browserlarda ise ( yani muhtemelen İnternet Explorer) index.html sayfasına yönlendiriliyor.
Kod:
Kod:
- Kod:
<script LANGUAGE="JavaScript">
<!-- This script was written by Blair Cummins. -->
<!-- Check out http://www.jps.net/ufoblair/java/ for more scripts and Java resources -->
function BrowserCheck()
{
BrowserName = navigator.appName;
BrowserVersion = parseInt(navigator.appVersion);
DetermineOutcome(BrowserName, BrowserVersion)
}
function DetermineOutcome(BrowserName, BrowserVersion)
{
if (BrowserName == "Netscape" && BrowserVersion >=3)
{
location.href="index2.html"
}
else
{
location.href="index.html"
}
}
//-->
</script>
Geri: Forumlariniz icin degisik Kodlar [konu 1]
Sitenizi farklı dillerde hazırlıyorsanız, ziyaretçinizin browserının varsayılan diline göre istediğiniz sayfaya yönlendirebilirsiniz.
Kod:
Kod:
- Kod:
<script>
/*
By Richard Morris (Email: ram( at )ramorris.co.uk)
Featured on Website Abstraction (http://wsabstract.com)
For this and over 400+ free scripts, visit http://wsabstract.com
*/
var type=navigator.appName
if (type=="Netscape")
var lang = navigator.language
else
var lang = navigator.userLanguage
//cut down to first 2 chars of country code
var lang = lang.substr(0,2)
// english
if (lang == "en")
window.location.replace('english.html')
// turkish
if (lang == "tr")
window.location.replace('turkish.html')
// german
else if (lang == "de")
window.location.replace('german.html')
// spanish (add or remove copies of 2 lines below as needed)
else if (lang == "es")
window.location.replace('spanish.html')
// if none of above (default to English or any other)
else
window.location.replace('english.html')
</script>
<!-- you can remove list below (reference only)
af Afrikaans
ar-ae Arabic (U.A.E.)
ar-bh Arabic (Bahrain)
ar-dz Arabic (Algeria)
ar-eg Arabic (Egypt)
ar-iq Arabic (Iraq)
ar-jo Arabic (Jordan)
ar-kw Arabic (Kuwait)
ar-lb Arabic (Lebanon)
ar-ly Arabic (Libya)
ar-ma Arabic (Morocco)
ar-om Arabic (Oman)
ar-qa Arabic (Qatar)
ar-sa Arabic (Saudi Arabia)
ar-sy Arabic (Syria)
ar-tn Arabic (Tunisia)
ar-ye Arabic (Yemen)
be Belarusian
bg Bulgarian
ca Catalan
cs Czech
da Danish
de German (Standard)
de-at German (Austria)
de-ch German (Switzerland)
de-li German (Liechtenstein)
de-lu German (Luxembourg)
el Greek
en English
en English (Caribbean)
en-au English (Australia)
en-bz English (Belize)
en-ca English (Canada)
en-gb English (Great Britain)
en-ie English (Ireland)
en-jm English (Jamaica)
en-nz English (New Zealand)
en-tt English (Trinidad)
en-us English (United States)
en-za English (South Africa)
es Spanish (Spain Modern)
es Spanish (Spain Traditional)
es-ar Spanish (Argentina)
es-bo Spanish (Bolivia)
es-cl Spanish (Chile)
es-co Spanish (Colombia)
es-cr Spanish (Costa Rica)
es-do Spanish (Dominican Republic)
es-ec Spanish (Ecuador)
es-gt Spanish (Guatemala)
es-hn Spanish (Honduras)
es-mx Spanish (Mexico)
es-ni Spanish (Nicaragua)
es-pa Spanish (Panama)
es-pe Spanish (Peru)
es-pr Spanish (Puerto Rico)
es-py Spanish (Paraguay)
es-sv Spanish (El Salvador)
es-uy Spanish (Uruguay)
es-ve Spanish (Venezuela)
et Estonian
eu Basque
fa Farsi
fi Finnish
fo Faeroese
fr French (Standard)
fr-be French (Belgium)
fr-ca French (Canada)
fr-ch French (Switzerland)
fr-lu French (Luxembourg)
gd Gaelic (Scotland)
gd-ie Gaelic (Ireland)
he Hebrew
hi Hindi
hr Croatian
hu Hungarian
in Indonesian
is Icelandic
it Italian (Standard)
it-ch Italian (Switzerland)
ja Japanese
ji Yiddish
ko Korean
ko Korean (Johab)
lt Lithuanian
lv Latvian
mk Macedonian
ms Malaysian
mt Maltese
nl Dutch (Standard)
nl-be Dutch (Belgium)
no Norwegian (Bokmal)
no Norwegian (Nynorsk)
pl Polish
pt Portuguese (Standard)
pt-br Portuguese (Brazil)
rm Rhaeto-Romanic
ro Romanian
ro-mo Romanian (Moldavia)
ru Russian
ru-mo Russian (Moldavia)
sb Sorbian
sk Slovak
sl Slovenian
sq Albanian
sr Serbian (Cyrillic)
sr Serbian (Latin)
sv Swedish
sv-fi Swedish (Finland)
sx Sutu
sz Sami (Lappish)
th Thai
tn Tswana
tr Turkish
ts Tsonga
uk Ukrainian
ur Urdu
ve Venda
vi Vietnamese
xh Xhosa
zh-cn Chinese (PRC)
zh-hk Chinese (Hong Kong, S.A.R. China)
zh-sg Chinese (Singapore)
zh-tw Chinese (Taiwan)
zu Zulu
-->
27 sayfadaki 34 sayfası • 1 ... 15 ... 26, 27, 28 ... 30 ... 34
27 sayfadaki 34 sayfası
Bu forumun müsaadesi var:
Bu forumdaki mesajlara cevap veremezsiniz
Salı 12 Ekim 2021 - 23:12 tarafından ankatr
» Çok Acil Bir Yardım Çağrısı
Çarş. 20 Ara. 2017 - 19:27 tarafından maxivizyonum
» Domain hakkinda
Çarş. 20 Ara. 2017 - 17:50 tarafından maxivizyonum
» Yıllar Önce Açtığım Siteye Ulaşamıyorum Kapatmak İstiyorum.
Cuma 15 Eyl. 2017 - 23:08 tarafından Percy
» Profil alani
Perş. 25 Mayıs 2017 - 1:37 tarafından snappy
» Portal istek
Cuma 19 Mayıs 2017 - 8:06 tarafından Kertelek
» Kategorilerin üzerine duyuru
C.tesi 13 Mayıs 2017 - 16:29 tarafından Maxelle
» SSL Sertifika güvenli değil htpps
Perş. 11 Mayıs 2017 - 17:04 tarafından Atiim
» Anasayfa Son Mesajlar Çerceve
Paz 7 Mayıs 2017 - 1:14 tarafından Maxelle