<html> <head> <title>HTML Renk Kodları</title> <style type="text/css"> <!-- a:LiNK {color:white;text-decoration:none} a:visited {color:white;text-decoration:none} a:active {color:white;text-decoration:none} a:hover{color:red;text-decoration:none} //--> </style> </head> <body bgcolor="#C0C0C0"> <script language="JavaScript"><!-- function artalan(clr) { document.bgColor=clr } // --></script><script language="JavaScript"><!-- function siyah() { document.form.cihan.value="#000000" } function kirmizi() { document.form.cihan.value="#FF0000" } function mavi() { document.form.cihan.value="#0000FF" } function sari() { document.form.cihan.value="#FFFF00" } function yesil() { document.form.cihan.value="#008000" } function turuncu() { document.form.cihan.value="#FFA500" } function lacivert() { document.form.cihan.value="#000080" } function turkuaz() { document.form.cihan.value="#008080" } function mor() { document.form.cihan.value="#800080" } function gri() { document.form.cihan.value="#808080" } function bordo() { document.form.cihan.value="#660000" } function aqua() { document.form.cihan.value="#00FFFF" } function pembe() { document.form.cihan.value="#FF00FF" } function varsayilan() { document.form.cihan.value="" } // --></script> <form name="form"> <p><font size="2" face="Tahoma"><strong>Hex</strong></font> <font size="2" face="Tahoma"><strong>:</strong></font> <input type="text" size="8" name="cihan"> <br> <a href="#" onclick="siyah(),artalan('black')"><font size="2" face="Tahoma"><strong>Siyah<br> </strong></font></a><a href="#" onclick="kirmizi(),artalan('red')"><font size="2" face="Tahoma"><strong>Kırmızı</strong></font></a><font size="2" face="Tahoma"><strong><br> </strong></font><a href="#" onclick="mavi(),artalan('blue')"><font size="2" face="Tahoma"><strong>Mavi<br> </strong></font></a><a href="#" onclick="sari(),artalan('yellow')"><font size="2" face="Tahoma"><strong>Sarı<br> </strong></font></a><a href="#" onclick="yesil(),artalan('green')"><font size="2" face="Tahoma"><strong>Yeşil<br> </strong></font></a><a href="#" onclick="turuncu(),artalan('#ffa500')"><font size="2" face="Tahoma"><strong>Turuncu<br> </strong></font></a><a href="#" onclick="aqua(),artalan('aqua')"><font size="2" face="Tahoma"><strong>Aqua<br> </strong></font></a><a href="#" onclick="mor(),artalan('purple')"><font size="2" face="Tahoma"><strong>Mor<br> </strong></font></a><a href="#" onclick="pembe(),artalan('#ff00ff')"><font size="2" face="Tahoma"><strong>Pembe</strong></font></a><font size="2" face="Tahoma"><strong> </strong></font><strong><br> </strong></font><a href="#" onclick="varsayilan(),artalan('silver')"><font size="2" face="Tahoma"><strong>Varsayılan</strong></font></a><font size="2" face="Tahoma"><br><a href="#" onclick="turkuaz(),artalan('teal')"><font size="2" face="Tahoma"><strong>Turkuaz</strong></font></a><font size="2" face="Tahoma"><strong><br> </strong></font><input type="button" value="Kendiniz Karar Verin" onclick="var renk=prompt ('Hex Kodunu Öğrenmek İstediğiniz Rengi Yazınız (İngilizce)','Hex Kodunu Öğrenmek İstediğiniz Rengi Yazınız (İngilizce)'); { document.bgColor=renk } alert (document.bgColor)" style="background-color:white" style="font-family:tahoma" style="font-weight:bold;border:1"></p> </form> <p> </p> </body> </html> Renk Kodları
<script language="JavaScript"> <!-- for sucky browsers Months = new Array(12); Months[0] = "January"; Months[1] = "February"; Months[2] = "March"; Months[3] = "April"; Months[4] = "May"; Months[5] = "June"; Months[6] = "July"; Months[7] = "August"; Months[8] = "September"; Months[9] = "October"; Months[10] = "November"; Months[11] = "December"; function PadSpaces(TheString) { var Spaces = " "; len = Math.round((9 - TheString.length)/2); return Spaces.substring(0,len) + TheString; } function NumLeapYears(StartYear, EndYear) { var LeapYears, i; if (EndYear >= StartYear){ for(LeapYears = 0; StartYear <= EndYear; StartYear++) if (IsLeapYear(StartYear)) LeapYears++; }else{ for(LeapYears = 0; EndYear <= StartYear; EndYear++) if (IsLeapYear(EndYear)) LeapYears++; } return LeapYears; } function IsLeapYear(Year) { if(Math.round(Year/4) == Year/4){ if(Math.round(Year/100) == Year/100){ if(Math.round(Year/400) == Year/400) return true; else return false; }else return true; } return false; } function Trim(TheString) { var len; len = TheString.length; while(TheString.substring(0,1) == " "){ //trim left TheString = TheString.substring(1, len); len = TheString.length; } while(TheString.substring(len-1, len) == " "){ //trim right TheString = TheString.substring(0, len-1); len = TheString.length; } return TheString; } function DetermineMonthIdx() { var i, month, month_s, len; month = Trim(document.calform.elements[4].value); len = month.length; for( i = 0; i <12; i++){ month_s = Months[i].substring(0,len); if (month_s.toUpperCase() == month.toUpperCase()) return (i); } return -1; } function FindNewYearStartingDay(Year) { var LeapYears, Years, Day; LeapYears = NumLeapYears(1995, Year); if (Year >=1995) Years = (Year -1995)+LeapYears; else Years = (Year -1995)-LeapYears; if (Year >=1995) Day = Math.round(((Years/7 - Math.floor(Years/7))*7)+.1); else Day = Math.round(((Years/7 - Math.ceil(Years/7))*7)-.1); if (Year >=1995){ if(IsLeapYear(Year)) Day--; }else Day += 7; if(Day < 0) Day = 6; if(Day > 6) Day = 0; return Day; } function FindNumDaysInMonth(Year, Month) { if(Month == 1){ if(IsLeapYear(Year)) return 29; else return 28; }else{ if(Month >6) Month++; if(Month/2 == Math.round(Month/2)) return 31; } return 30; } function FindMonthStartDay(NewYearDay, Year, Month) { var MonthStartDay; AddArray = new Array(12); AddArray[0]=0;AddArray[1]=3;AddArray[2]=3;AddArray[3]=6; AddArray[4]=1;AddArray[5]=4;AddArray[6]=6;AddArray[7]=2; AddArray[8]=5;AddArray[9]=0;AddArray[10]=3;AddArray[11]=5; MonthStartDay = NewYearDay + AddArray[Month]; if(IsLeapYear(Year) && (Month ) > 1) MonthStartDay ++; if (MonthStartDay > 6) MonthStartDay -= 7; return MonthStartDay; } function FillCalendar() { var Year, Month, Midx, NewYearDay, MonthStartDay; var NumDaysInMonth, i, t; Year = parseFloat(document.calform.elements[1].value); Month = document.calform.elements[4].value; Midx = DetermineMonthIdx(); if (Midx == -1){ alert ("Can't recognize that month"); return; } NewYearDay = FindNewYearStartingDay(Year); MonthStartDay = FindMonthStartDay(NewYearDay, Year, Midx); NumDaysInMonth = FindNumDaysInMonth(Year, Midx); for(i = 6; i < 43; i++){ t = i-5-MonthStartDay; if ( t >= 1 && t <= NumDaysInMonth) document.calform.elements[i].value =t; else document.calform.elements[i].value = ""; } } function IncDecYear(val) { var valNum = parseInt(val); var valNum2 = parseInt(document.calform.elements[1].value) document.calform.elements[1].value = valNum2 + valNum; FillCalendar() } function IncDecMonth(val) { var valNum = parseInt(val); var Midx = DetermineMonthIdx(); Midx += valNum; if(Midx > 11) Midx = 0; if(Midx < 0) Midx = 11; document.calform.elements[4].value = PadSpaces(Months[Midx]); FillCalendar() } // --> </script> </HEAD><BODY><table border=1 bgcolor="#000000"><tr><td align=center> <table border=0 cellspacing=0> <form name="calform"> <tr><td align=center bgcolor="#000000"><input type=button value="<<" onClick="IncDecYear(-1)"></td> <th bgcolor="#aaaaaa" colspan=5 align=center><input size=4 type=text value="1993"></th> <td align=center bgcolor="#000000"><input type=button value=">>" onClick="IncDecYear(1)"></td></tr> <tr><td align=center bgcolor="#000000"><input type=button value="<<" onClick="IncDecMonth(-1)"></td> <th bgcolor="#aaaaaa" colspan=5 align=center><input size=9 type=text value=" January "></th> <td align=center bgcolor="#000000"><input type=button value=">>" onClick="IncDecMonth(1)"></td></tr> <tr><th bgcolor="#ffcccc">Sun</td> <th bgcolor="#ccccff">Mon</td> <th bgcolor="#ccccff">Tue</td> <th bgcolor="#ccccff">Wed</td> <th bgcolor="#ccccff">Thu</td> <th bgcolor="#ccccff">Fri</td> <th bgcolor="#ccccff">Sat</td></tr> <tr><td bgcolor="#ffcccc"><input type=text size=2></td> <td bgcolor="#ccccff"><input type=text size=2></td> <td bgcolor="#ccccff"><input type=text size=2></td> <td bgcolor="#ccccff"><input type=text size=2></td> <td bgcolor="#ccccff"><input type=text size=2></td> <td bgcolor="#ccccff"><input type=text size=2></td> <td bgcolor="#ccccff"><input type=text size=2></td></tr> <tr><td bgcolor="#ffcccc"><input type=text size=2></td> <td bgcolor="#ccccff"><input type=text size=2></td> <td bgcolor="#ccccff"><input type=text size=2></td> <td bgcolor="#ccccff"><input type=text size=2></td> <td bgcolor="#ccccff"><input type=text size=2></td> <td bgcolor="#ccccff"><input type=text size=2></td> <td bgcolor="#ccccff"><input type=text size=2></td></tr> <tr><td bgcolor="#ffcccc"><input type=text size=2></td> <td bgcolor="#ccccff"><input type=text size=2></td> <td bgcolor="#ccccff"><input type=text size=2></td> <td bgcolor="#ccccff"><input type=text size=2></td> <td bgcolor="#ccccff"><input type=text size=2></td> <td bgcolor="#ccccff"><input type=text size=2></td> <td bgcolor="#ccccff"><input type=text size=2></td></tr> <tr><td bgcolor="#ffcccc"><input type=text size=2></td> <td bgcolor="#ccccff"><input type=text size=2></td> <td bgcolor="#ccccff"><input type=text size=2></td> <td bgcolor="#ccccff"><input type=text size=2></td> <td bgcolor="#ccccff"><input type=text size=2></td> <td bgcolor="#ccccff"><input type=text size=2></td> <td bgcolor="#ccccff"><input type=text size=2></td></tr> <tr><td bgcolor="#ffcccc"><input type=text size=2></td> <td bgcolor="#ccccff"><input type=text size=2></td> <td bgcolor="#ccccff"><input type=text size=2></td> <td bgcolor="#ccccff"><input type=text size=2></td> <td bgcolor="#ccccff"><input type=text size=2></td> <td bgcolor="#ccccff"><input type=text size=2></td> <td bgcolor="#ccccff" ><input type=text size=2></td></tr> <tr><td bgcolor="#ffcccc"><input type=text size=2></td> <td bgcolor="#ccccff"><input type=text size=2></td> <td bgcolor="#aaaaaa" colspan=5><input type=text></td></tr> </form> </table> </td></tr></table> <script language="JavaScript"> <!-- //include this script segment if you want to set the calendar to today's date. //this MUST come after the tabled form which contains the calendar //set calendar to today's date myDate = new Date(); var Month = parseInt(myDate.getMonth()); document.calform.elements[1].value = myDate.getYear(); document.calform.elements[4].value = PadSpaces(Months[Month]); document.calform.elements[43].value = "Today is: " + myDate.getDate() + " " + Months[Month].substring(0,3) + ", " + (myDate.getYear()); FillCalendar(); // --> </script> Takvim
<SCRIPT LANGUAGE="JavaScript"> <!-- day = new Date(); miVisit = day.getTime(); function clock() { dayTwo = new Date(); hrNow = dayTwo.getHours(); mnNow = dayTwo.getMinutes(); scNow = dayTwo.getSeconds(); miNow = dayTwo.getTime(); if (hrNow == 0) { hour = 12; ap = " AM"; } else if(hrNow <= 11) { ap = " AM"; hour = hrNow; } else if(hrNow == 12) { ap = " PM"; hour = 12; } else if (hrNow >= 13) { hour = (hrNow - 12); ap = " PM"; } if (hrNow >= 13) { hour = hrNow - 12; } if (mnNow <= 9) { min = "0" + mnNow; } else (min = mnNow) if (scNow <= 9) { secs = "0" + scNow; } else { secs = scNow; } time = hour + ":" + min + ":" + secs + ap; document.form.button.value = time; self.status = time; setTimeout('clock()', 1000); } function timeInfo() { milliSince = miNow; milliNow = miNow - miVisit; secsVisit = Math.round(milliNow / 1000); minsVisit = Math.round((milliNow / 1000) / 60); alert("There have been " + milliSince + " milliseconds since midnight, January 1, 1970. " + "You have spent " + milliNow + " of those milliseconds on this page. " + ".... About " + minsVisit + " minutes, and " + secsVisit + " seconds."); } document.write("<form name=\"form\">" + "<input type=button value=\"Click for info!\"" + " name=button onClick=\"timeInfo()\"></form>"); onError = null; clock(); --> </SCRIPT> Buton üzerinde saat
<script language="JavaScript"> <!-- function show(){ if (!document.layers&&!document.all) return var Digital=new Date() var hours=Digital.getHours() var minutes=Digital.getMinutes() var seconds=Digital.getSeconds() var dn="AM" if (hours>12){ dn="PM" hours=hours-12 } if (hours==0) hours=12 if (minutes<=9) minutes="0"+minutes if (seconds<=9) seconds="0"+seconds myclock="<font size='5' face='Arial' color='blue'><b><font size='2'>Geçerli Saat ve Zaman : </font></br>"+hours+":"+minutes+":" +seconds+" "+dn+"</b></font>" if (document.layers){ document.layers.liveclock.document.write(myclock) document.layers.liveclock.document.close() } else if (document.all) liveclock.innerHTML=myclock setTimeout("show()",1000) } //--> </script></HEAD><BODY><span id="liveclock" style="position:absolute;left:1;top:1;"> </span> <SCRIPT LANGUAGE="JavaScript"> <!-- setTimeout('show()',10); //--> </SCRIPT> Saat
<html> <head> <script language=javascript 1.2"> function yahoo() {document.form.cihan.value="Ünlü Arama Motoru"} function yahoobos() {document.form.cihan.value=""} function alta() {document.form.cihan.value="Bu da Başka Bir Arama Motoru"} function altabos() {document.form.cihan.value=""} function addme() {document.form.cihan.value="Bu da Üçüncüsü"} function addmebos() {document.form.cihan.value=""} </script> </head> <style type="text/css"> <!-- a:link {color:black;text-decoration:none;font-family:tahoma;font-size:10pt;font-weight:bold} a:visited {color:black;text-decoration:none;font-family:tahoma;font-size:10pt;font-weight:bold} a:active {color:black;text-decoration:none;font-family:tahoma;font-size:10pt;font-weight:bold} a:hover {color:Red;text-decoration:underline;font-family:tahoma;font-size:10pt;font-weight:bold} //--> </style> <body> <center> <h3>Ünlü Arama Motorları</h3> <a href="http://www.yahoo.com" onmouseover="yahoo()" onmouseout="yahoobos()">Yahoo</a><br> <a href="http://www.altavista.com" onmouseover="alta()" onmouseout="altabos()">Altavista</a><br> <a href="http://www.addme.com" onmouseover="addme() "onmouseout="addmebos()">Addme</a><br> <form name="form"> <input type="text"name="cihan"size="30"><br> </form></center></body> </html> Behaviors Efekti
<SCRIPT LANGUAGE="JavaScript"> //This Script is Copyright S Atamian© 2000 //If you are going to use this code, you MUST leave these //lines of script UNEDITED! var shant="http://www.programcilar.8m.com" document.write('Lütfen Bekleyiniz Sayfaya Yönlendiriliyorsunuz ' + shant) function forPage() { location.href=shant } setTimeout ("forPage()", 1000); </SCRIPT> Yönlendirme
<script language="JavaScript"> <!-- function acilis() { alert ("Sitemize Hoş Geldiniz") } function kapanis() { alert ("Güle Güle Yine Bekleriz!") } </script> <body onload="acilis()"onunload="kapanis()"> Ziyaretçi Selamlama
<SCRIPT> <!-- hide this script from non-JavaScript browsers // All code in this script is Copyright(C) 1996, Justin Boyan, jab+j@cs.cmu.edu // For documentation and more info, see: http://www.cs.cmu.edu/~jab/snark/ // This is SNARK Version 1.0, 18 May 1996 var MAX_ENGINES = 30; var SNARK_STRING = "hunting+the+snark"; function MakeArray(n) { for (var i = 1; i <= n; i++) { this[i] = 0; } this.maxlen = n; this.len = 0; return this; } var engs = new MakeArray(MAX_ENGINES); function find_substring(needle, haystack) { var i, needlen = needle.length, haylen = haystack.length; for (i=0; i<=haylen-needlen; i++) { if (needle == haystack.substring(i,i+needlen)) return i; } return false; } function Engine(name, opts, home, search) { var snark = find_substring(SNARK_STRING, search); this.name = name; this.opts = opts; this.home = home; this.pre_snark = search.substring(0,snark); this.post_snark= search.substring(snark+SNARK_STRING.length, search.length); } function Add(name, opts, home, search) { engs.len++; if (engs.len <= engs.maxlen) { engs[engs.len] = new Engine(name, opts, home, search) } else { alert("Better increase MAX_ENGINES: " + engs.len + ">" + engs.maxlen) } } // ADD YOUR OWN SEARCH ENGINES BELOW. (See http://www.cs.cmu.edu/~jab/snark/ ) Add("Netnews: AltaVista", "", "http://altavista.digital.com/", "http://altavista.digital.com/cgi-bin/query?pg=q&what=news&fmt=d&q=hunting+the+snark" ); Add("Shareware/Windows", "", "http://vsl.cnet.com/", "http://vsl.cnet.com/cgi-bin/vsl-master/Find?category=MS-Windows%28all%29&search=hunting+the+snark&logop=and&and=&orfile=++&hits=200" ); Add("Shareware/Unix", "", "http://vsl.cnet.com/", "http://vsl.cnet.com/cgi-bin/vsl-master/Find?category=UNIX&search=hunting+the+snark&logop=and&and=&orfile=++&hits=200" ); Add("the Web: AltaVista", "SELECTED", "http://altavista.digital.com/", "http://altavista.digital.com/cgi-bin/query?pg=q&what=web&fmt=d&q=hunting+the+snark" ); Add("the Web: Lycos", "", "http://www.lycos.com/", "http://twelve.srv.lycos.com/cgi-bin/pursuit?query=hunting+the+snark" ); Add("the Web: Yahoo!", "", "http://www.yahoo.com/", "http://search.yahoo.com/bin/search?p=hunting+the+snark" ); Add("Weather (City, ST)", "", "http://www.nnic.noaa.gov/cgi-bin/page?pg=netcast", "http://www.nnic.noaa.gov/cgi-bin/netcast.do-it?state=hunting+the+snark&area=Local+Forecast&html=yes&match=strong"); // ADD YOUR OWN SEARCH ENGINES ABOVE. (See http://www.cs.cmu.edu/~jab/snark/ ) function HandleForm(form) { form.submit(); // This fixes a mysterious Netscape bug. Without this line, // you can't use <enter> to start the search the first time. var i, oldq=form.query.value, newq=""; for (i=0; i<oldq.length; i++) { // compress [ ]+ into \+ var thischar = oldq.charAt(i); if (thischar != ' ') newq += thischar; else if (lastchar != ' ') newq += '+'; lastchar = thischar; } var eng = engs[1+form.service.selectedIndex]; location.href = newq ? eng.pre_snark + newq + eng.post_snark : eng.home; } function DisplayForm() { document.writeln('<CENTER><FORM OnSubmit="HandleForm(this); return false">'); document.writeln('Search <SELECT name="service">'); for (i=1; i <= engs.len; i++) { document.writeln("<OPTION " + engs[i].opts + "> " + engs[i].name); } document.writeln('</SELECT> for <INPUT size=26 name="query">'); document.writeln('<input type=submit value=" GO!">'); document.writeln('</FORM> </CENTER>'); } DisplayForm(); // done hiding from old browsers --> </SCRIPT> Arama Motoru
<script language="JavaScript"> function makeArray() { var args = makeArray.arguments; for (var i = 0; i < args.length; i++) { this[i] = args[i]; } this.length = args.length; } function fixDate(date) { var base = new Date(0); var skew = base.getTime(); if (skew > 0) date.setTime(date.getTime() - skew); } function getString(date) { var months = new makeArray("Ocak", "Şubat", "Mart", "Nisan", "Mayıs", "Haziran", "Temmuz", "Agustos", "Eylül", "Ekim", "Kasım", "Aralık"); var days = new makeArray("Pazar", "Pazartesi", "Salı", "Çarşamba", "Perşembe", "Cuma", "Cumartesi"); return date.getDate() + " " + months[date.getMonth()] + " " + (date.getYear())+ ", " + (days[date.getDay()]); } var cur = new Date(); fixDate(cur); var str = getString(cur); document.write(str); </script> Tarih
<HTML> <HEAD> <TITLE>Deprem Scripti</TITLE> <META name="Generator" content="Soft Lite ScriptWorx 4.0"> <script language="JavaScript"> <!-- function shake(shakes, vibration) { for (i = shakes; i > 0; i--) { self.moveBy(i, vibration); self.moveBy(-i, -vibration); } } //--> </script> </HEAD> <BODY topmargin="0" leftmargin="0" link="#0000FF" vlink="#800080" alink="#FF0000" onLoad="shake('10','10')"> </BODY> </HTML> Deprem Scripti
<script language="Javascript1.2"> <!-- var mymessage = "Lütfen Birdaha Sağ Tuşu Tıklamayınız."; function rtclickcheck(keyp){ if (navigator.appName == "Netscape" && keyp.which == 3) { alert(mymessage); return false; } if (navigator.appVersion.indexOf("MSIE") != -1 && event.button == 2) { alert(mymessage); return false; } } document.onmousedown = rtclickcheck //--> </script> Sağ Tuş Kilidi
<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 = (argc > 2) ? argv[2] : null; var path = (argc > 3) ? argv[3] : null; var domain = (argc > 4) ? argv[4] : null; var secure = (argc > 5) ? 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 DeleteCookie(name) { var exp = new Date(); FixCookieDate (exp); // Correct for Mac bug exp.setTime (exp.getTime() - 1); // This cookie is history var cval = GetCookie (name); if (cval != null) document.cookie = name + "=" + cval + "; expires=" + exp.toGMTString();} var expdate = new Date();var num_visits; expdate.setTime(expdate.getTime() + (5*24*60*60*1000)); if (!(num_visits = GetCookie("num_visits"))) num_visits = 0;num_visits++; SetCookie("num_visits",num_visits,expdate);//--></script> <script language="Javascript"><!-- document.write("You have been to this page "+num_visits+" times.");//--> </script> Sayaç
<SCRIPT LANGUAGE="JAVASCRIPT"> <!-- function Oblicz(Objec) { Objec.domesum.value = eval(Objec.expr.value) } //--> </SCRIPT> </HEAD> <BODY> <form name="Calculator"> <pre> Sum: <BR><input type="text" name="expr" size="20"> End Product: <input type="text" name="domesum" size="20"> <input type="button" name="B1" value=" Calculate " onClick="Oblicz(this.form)" </pre> </form> Hesap Makinesi
<SCRIPT LANGUAGE="JavaScript"> <!-- var timerID = null var timerRunning = false var charNo = 0 var charMax = 0 var lineNo = 0 var lineMax = 2 // number of URL's you will use var lineArr = new Array(lineMax) var urlArr = new Array(lineMax) lineArr[1] = "Soft Lite" urlArr[1] = "http://www.softlite.net/ps/" lineArr[2] = "Soft Lite Mail" urlArr[2] = "http://www.softlite.zzn.com" var lineText = lineArr[1] function StartShow() { StopShow() ShowLine() timerRunning = true } function FillSpaces() { for (var i = 1; i <= lineWidth; i++) { spaces += " " } } function StopShow() { if (timerRunning) { clearTimeout(timerID) timerRunning = false } } function ShowLine() { if (charNo == 0) { // Next line if (lineNo < lineMax) { lineNo++ } else { lineNo = 1 } lineText = lineArr[lineNo] charMax = lineText.length } if (charNo <= charMax) { // Next char document.formDisplay.buttonFace.value = lineText.substring(0, charNo) charNo++ timerID = setTimeout("ShowLine()", 100) } else { charNo = 0 timerID = setTimeout("ShowLine()", 3000) } } function GotoUrl(url) { top.location.href = url } //--> </SCRIPT> </HEAD> <BODY> <SCRIPT LANGUAGE="JavaScript"> <!-- document.write("<FORM NAME=\"formDisplay\">"); document.write("<INPUT TYPE=\"BUTTON\" NAME=\"buttonFace\" VALUE=\"&{lineText}\" SIZE=\"18\" onClick=\"GotoUrl(urlArr[lineNo])\">"); document.write("</FORM>"); StartShow(); //--> </SCRIPT> Hareketli Buton
<html> <head> <title>style</title> <style type="text/css"> <!-- .p { font-family:tahoma font-weight:bold font-size:10pt } //--> </style> </head> <body> <p><font size="2" face="Tahoma"><strong><Style type="text/css"><br> <!--<br> <script language="JavaScript"><!-- /*Bu Script Cihan Sucan Tarafından Yazılmıştır email : erciecihan@yahoo.com web : http://www.programcilar.8m.com */ var link=prompt ("Linkin Rengini Giriniz","Linkin Rengini Giriniz"); var visited=prompt ("Ziyaret Edilmiş Hali(Renk)","Ziyaret Edilmiş Hali(Renk)"); var active=prompt ("Linkin Aktif Hali","Linkin Aktif Hali"); var hover=prompt ("Mouse Üzerinde Getirildiğinde Alacağı Renk","Mouse Üzerinde Getirildiğinde Alacağı Renk"); { document.write ("a:link {color:",link,"}","<br>") document.write ("a:visited {color:",visited,"}","<br>") document.write ("a:active {color:",active,"}","<br>") document.write ("a:hover {color:",hover,"}","<br>") } // --></script><br> //--><br> Style Sheet Hazırlama