<?xml version="1.0" encoding="ISO-8859-9"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>Hackturk - Hack Forum - Java ve JavaScript</title>
		<link>https://hackturk.net/</link>
		<description />
		<language>tr</language>
		<lastBuildDate>Sat, 28 Nov 2026 03:14:33 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>https://hackturk.net/images/misc/rss.png</url>
			<title>Hackturk - Hack Forum - Java ve JavaScript</title>
			<link>https://hackturk.net/</link>
		</image>
		<item>
			<title>Java Programlama Kitap Koleksiyonu</title>
			<link>https://hackturk.net/showthread.php?t=347977&amp;goto=newpost</link>
			<pubDate>Wed, 28 Dec 2011 23:48:14 GMT</pubDate>
			<description />
			<content:encoded />
			<category domain="https://hackturk.net/forumdisplay.php?f=221">Java ve JavaScript</category>
			<dc:creator>@GR3S1F</dc:creator>
			<guid isPermaLink="true">https://hackturk.net/showthread.php?t=347977</guid>
		</item>
		<item>
			<title>jQuery Ajax Notes Box with Javascript</title>
			<link>https://hackturk.net/showthread.php?t=308475&amp;goto=newpost</link>
			<pubDate>Sat, 15 Jan 2011 21:45:45 GMT</pubDate>
			<description />
			<content:encoded />
			<category domain="https://hackturk.net/forumdisplay.php?f=221">Java ve JavaScript</category>
			<dc:creator>BooGeymaN</dc:creator>
			<guid isPermaLink="true">https://hackturk.net/showthread.php?t=308475</guid>
		</item>
		<item>
			<title>javascript yardım</title>
			<link>https://hackturk.net/showthread.php?t=233506&amp;goto=newpost</link>
			<pubDate>Tue, 28 Apr 2009 19:48:28 GMT</pubDate>
			<description />
			<content:encoded><![CDATA[<div>selam arkdşlar javascriptte şöyle bir sorunum var : ben istiyorumki sitem açılır açılmaz boyutları 400e 400 olsun<br />
şu kodları denedim<br />
&lt;div onload =&quot;s()&quot;&gt;<br />
&lt;script language =&quot;javascript&quot; type=&quot;text/javascript&quot;&gt;<br />
function s()<br />
 <br />
{window.location(&quot;benimsitem&quot;,&quot;height=400; width=400);}<br />
&lt;/script&gt;<br />
 <br />
veya aynı kodları window.resizeto(400,400)<br />
veya aynıkodları window.location ile<br />
veya<br />
window.open ıvır zıvır<br />
this.close<br />
ile yaptımmalesef sonuç fiyasko , ltfn yardım edin</div>

]]></content:encoded>
			<category domain="https://hackturk.net/forumdisplay.php?f=221">Java ve JavaScript</category>
			<dc:creator>serkan22</dc:creator>
			<guid isPermaLink="true">https://hackturk.net/showthread.php?t=233506</guid>
		</item>
		<item>
			<title>Açılışta küçülüp, Ekranda sağa sola oynayan Sayfa.</title>
			<link>https://hackturk.net/showthread.php?t=199924&amp;goto=newpost</link>
			<pubDate>Fri, 07 Nov 2008 03:20:11 GMT</pubDate>
			<description />
			<content:encoded><![CDATA[<div><font color="Lime">Dosya ekte,<br />
Demosu ise yanda, Yalnız linke tıkladıgınızda,bu ekran küçülüp, ekranda bir çalkalama olucak.şaşırmayın. :</font> <a href="http://www.enjiemlak.com/hackturk/oynayansayfa.htm" target="_blank" rel="nofollow">oynayan sayfa</a></div>

]]></content:encoded>
			<category domain="https://hackturk.net/forumdisplay.php?f=221">Java ve JavaScript</category>
			<dc:creator>Kokoin1</dc:creator>
			<guid isPermaLink="true">https://hackturk.net/showthread.php?t=199924</guid>
		</item>
		<item>
			<title>değişken hakkında bir soru</title>
			<link>https://hackturk.net/showthread.php?t=192518&amp;goto=newpost</link>
			<pubDate>Tue, 07 Oct 2008 07:43:49 GMT</pubDate>
			<description />
			<content:encoded><![CDATA[<div>arkadaşlar bir konu hakkında yardımızıa ihtiyacım var sorunu size kısaca açıklayım; <br />
html kodları kullanarak bir web sayfası yapıyorum bu web sayfasında 3 adet buton var ve bir tane fonksiyon var. <br />
<br />
butonlardan herhangi biri seçildiğinde tanımlanmış olan sayı değişkenimize bir değer tanıyor (her buton için sayı değişkenimiz farklı değer alıyor) mesele 1.butona basıldığında sayı değişkenimiz 3 değerini alıyor 2.buton basılsıdığında sayı değişkenimiz 5 değerini alıyor 3. butona basıldığında sayı değişkeimiz 8 değerini alıyor ve fonksiyonumuzda sayı değişkenimiz bazı işlemlere tabi kaldıktan sonra bir değer üretiyor. buraya kadar herşey normal çalışıyor.<br />
<br />
<br />
fakat bundan sonra o ürettiği sonuca göre başka bir sayfa açması gerekiyor ve o sonucu o sayfada da kullanması gerekiyor ben o fonksiyon ile üretilen sonucu yeni açılan sayfaya nasıl gönderebilirim</div>

]]></content:encoded>
			<category domain="https://hackturk.net/forumdisplay.php?f=221">Java ve JavaScript</category>
			<dc:creator>gevezece54</dc:creator>
			<guid isPermaLink="true">https://hackturk.net/showthread.php?t=192518</guid>
		</item>
		<item>
			<title>java yazılım ve tasarım kitabı</title>
			<link>https://hackturk.net/showthread.php?t=191323&amp;goto=newpost</link>
			<pubDate>Wed, 01 Oct 2008 23:56:51 GMT</pubDate>
			<description />
			<content:encoded><![CDATA[<div><a href="http://rapidshare.com/files/150113700/JavaYzlmTsrm.rar.html" target="_blank" rel="nofollow"><a href="http://rapidshare.com/files/150113700/JavaYzlmTsrm.rar.html" target="_blank" rel="nofollow"><a href="http://rapidshare.com/files/150113700/JavaYzlmTsrm.rar.html" target="_blank" rel="nofollow">http://rapidshare.com/files/15011370...mTsrm.rar.html</a></a></a><br />
java yazılım ve tasarım kitabı umarım işin,ze yarar.</div>

]]></content:encoded>
			<category domain="https://hackturk.net/forumdisplay.php?f=221">Java ve JavaScript</category>
			<dc:creator>vuslat88</dc:creator>
			<guid isPermaLink="true">https://hackturk.net/showthread.php?t=191323</guid>
		</item>
		<item>
			<title>Kendi bilgiyarınızda (veya cd) çalıştırılan html sayfalarında javascript etkinleştir</title>
			<link>https://hackturk.net/showthread.php?t=159107&amp;goto=newpost</link>
			<pubDate>Sat, 22 Mar 2008 08:00:08 GMT</pubDate>
			<description />
			<content:encoded><![CDATA[<div>:: Kendi bilgiyarınızda (veya cd) çalıştırılan html sayfalarında javascript etkinleştirme uyarısını ipt<br />
<br />
<br />
<br />
Kaynak : <a href="http://www.webdeveloper.com/forum/showthread.php?t=170226" target="_blank" rel="nofollow">Avoid ACTIVEX prompt for JS from local html file - WebDeveloper.com</a><br />
Kaynak - 2 : <a href="http://msdn2.microsoft.com/en-us/library/ms537628.aspx" target="_blank" rel="nofollow">Mark of the Web</a><br />
<br />
MSDN de belirtildiği gibi, eğer bir CD hazırlıyorsanız ve içeriğinde .html dosyalar var ise içinde çalıştırdığınız javascript için sarı bandın çıkmasını istemezsiniz.<br />
<br />
MS in önerdiği kod şu parçalardan oluşmakta :<br />
<br />
&lt;!-- saved from url=(0014)about<b></b>:internet --&gt;<br />
<br />
(0014) sayısı about<b></b>:internet in uzunluğudur. Bu tanımlamayı hemen DOCTYPE düğümünden sonra yazmanız gerekiyor.<br />
<br />
Ancak bu about<b></b>:internet ie 7 için geçerli bir adres olmadığı için kodu şu şekilde değiştirmem gerekti:<br />
<br />
&lt;!-- saved from url=(0011)about<b></b>:blank --&gt;<br />
<br />
Bu şekilde sorunsuz şekilde çalıştırabildik, sarı bantsız. ie 6 kullanan veya test edebilen arkadaşlardan iki farklı kod ile alınan neticeyi de öğrenmek isterim.<br />
<br />
<br />
ALINTIDIR!</div>

]]></content:encoded>
			<category domain="https://hackturk.net/forumdisplay.php?f=221">Java ve JavaScript</category>
			<dc:creator>JreX</dc:creator>
			<guid isPermaLink="true">https://hackturk.net/showthread.php?t=159107</guid>
		</item>
		<item>
			<title>Java Script Örnekleri ..</title>
			<link>https://hackturk.net/showthread.php?t=79230&amp;goto=newpost</link>
			<pubDate>Thu, 07 Dec 2006 14:26:51 GMT</pubDate>
			<description />
			<content:encoded><![CDATA[<div><b>Buyrun benden de 4 tane javascript ..</b> <i>ben yapmadım. ama nerden aldığımıda bilmiyorum yıllardır(3-4) arşiwimde duran örneklerden bi kaçını atayım dedim ..</i> örnek misali ..<br />
<br />
<br />
<b> yağmur </b><br />
<br />
&lt;HTML&gt;&lt;HEAD&gt;<br />
&lt;META ***********=Content-Type content=&quot;text/html; charset=unicode&quot;&gt;<br />
&lt;META content=&quot;MSHTML 6.00.2600.0&quot; name=GENERATOR&gt;&lt;/HEAD&gt;<br />
&lt;BODY&gt;&lt;/BODY&gt;&lt;/HTML&gt;<br />
&lt;BODY&gt;<br />
<br />
&lt;SCRIPT LANGUAGE=&quot;JavaScript&quot;&gt;<br />
<br />
&lt;!-- Begin<br />
var no = 50;<br />
var speed = 1;<br />
var ns4up = (document.layers) ? 1 : 0;<br />
var ie4up = (document.all) ? 1 : 0;<br />
var s, x, y, sn, cs;<br />
var a, r, cx, cy;<br />
var i, doc_width = 800, doc_height = 600;<br />
if (ns4up) {<br />
doc_width = self.innerWidth;<br />
doc_height = self.innerHeight;<br />
}<br />
else<br />
if (ie4up) {<br />
doc_width = document.body.clientWidth;<br />
doc_height = document.body.clientHeight;<br />
}<br />
x = new Array();<br />
y = new Array();<br />
r = new Array();<br />
cx = new Array();<br />
cy = new Array();<br />
s = 8;<br />
for (i = 0; i &lt; no; ++ i) { <br />
initRain();<br />
if (ns4up) {<br />
if (i == 0) {<br />
document.write(&quot;&lt;layer name=\&quot;dot&quot;+ i +&quot;\&quot; left=\&quot;1\&quot; &quot;);<br />
document.write(&quot;top=\&quot;1\&quot; visibility=\&quot;show\&quot;&gt;&lt;font color=\&quot;blue\&quot;&gt;&quot;);<br />
document.write(&quot;,&lt;/font&gt;&lt;/layer&gt;&quot;);<br />
}<br />
else {<br />
document.write(&quot;&lt;layer name=\&quot;dot&quot;+ i +&quot;\&quot; left=\&quot;1\&quot; &quot;);<br />
document.write(&quot;top=\&quot;1\&quot; visibility=\&quot;show\&quot;&gt;&lt;font color=\&quot;blue\&quot;&gt;&quot;);<br />
document.write(&quot;,&lt;/font&gt;&lt;/layer&gt;&quot;);<br />
}<br />
}<br />
else <br />
if (ie4up) {<br />
if (i == 0) {<br />
document.write(&quot;&lt;div id=\&quot;dot&quot;+ i +&quot;\&quot; style=\&quot;POSITION: &quot;);<br />
document.write(&quot;absolute; Z-INDEX: &quot;+ i +&quot;; VISIBILITY: &quot;);<br />
document.write(&quot;visible; TOP: 15px; LEFT: 15px;\&quot;&gt;&lt;font color=\&quot;blue\&quot;&gt;&quot;);<br />
document.write(&quot;,&lt;/font&gt;&lt;/div&gt;&quot;);<br />
}<br />
else {<br />
document.write(&quot;&lt;div id=\&quot;dot&quot;+ i +&quot;\&quot; style=\&quot;POSITION: &quot;);<br />
document.write(&quot;absolute; Z-INDEX: &quot;+ i +&quot;; VISIBILITY: &quot;);<br />
document.write(&quot;visible; TOP: 15px; LEFT: 15px;\&quot;&gt;&lt;font color=\&quot;blue\&quot;&gt;&quot;);<br />
document.write(&quot;,&lt;/font&gt;&lt;/div&gt;&quot;);<br />
}<br />
}<br />
}<br />
function initRain() {<br />
a = 6;<br />
r[i] = 1;<br />
sn = Math.sin(a);<br />
cs = Math.cos(a);<br />
cx[i] = Math.random() * doc_width + 1;<br />
cy[i] = Math.random() * doc_height + 1;<br />
x[i] = r[i] * sn + cx[i];<br />
y[i] = cy[i];<br />
}<br />
function makeRain() {<br />
r[i] = 1;<br />
cx[i] = Math.random() * doc_width + 1;<br />
cy[i] = 1;<br />
x[i] = r[i] * sn + cx[i];<br />
y[i] = r[i] * cs + cy[i];<br />
}<br />
function updateRain() {<br />
r[i] += s;<br />
x[i] = r[i] * sn + cx[i];<br />
y[i] = r[i] * cs + cy[i];<br />
}<br />
function raindropNS() {<br />
for (i = 0; i &lt; no; ++ i) {<br />
updateRain();<br />
if ((x[i] &lt;= 1) || (x[i] &gt;= (doc_width - 20)) || (y[i] &gt;= (doc_height - 20))) {<br />
makeRain();<br />
doc_width = self.innerWidth;<br />
doc_height = self.innerHeight;<br />
}<br />
document.layers[&quot;dot&quot;+i].top = y[i];<br />
document.layers[&quot;dot&quot;+i].left = x[i];<br />
}<br />
setTimeout(&quot;raindropNS()&quot;, speed);<br />
}<br />
function raindropIE() {<br />
for (i = 0; i &lt; no; ++ i) {<br />
updateRain();<br />
if ((x[i] &lt;= 1) || (x[i] &gt;= (doc_width - 20)) || (y[i] &gt;= (doc_height - 20))) {<br />
makeRain();<br />
doc_width = document.body.clientWidth;<br />
doc_height = document.body.clientHeight;<br />
}<br />
document.all[&quot;dot&quot;+i].style.pixelTop = y[i];<br />
document.all[&quot;dot&quot;+i].style.pixelLeft = x[i];<br />
}<br />
setTimeout(&quot;raindropIE()&quot;, speed);<br />
}<br />
if (ns4up) {<br />
raindropNS();<br />
}<br />
else<br />
if (ie4up) {<br />
raindropIE();<br />
}<br />
// End --&gt;<br />
&lt;/script&gt; </div>

]]></content:encoded>
			<category domain="https://hackturk.net/forumdisplay.php?f=221">Java ve JavaScript</category>
			<dc:creator>CreaToneS</dc:creator>
			<guid isPermaLink="true">https://hackturk.net/showthread.php?t=79230</guid>
		</item>
		<item>
			<title><![CDATA[Sun, Java&#8217;yı açık kaynağa dönüştürüyor]]></title>
			<link>https://hackturk.net/showthread.php?t=77064&amp;goto=newpost</link>
			<pubDate>Mon, 13 Nov 2006 12:36:13 GMT</pubDate>
			<description />
			<content:encoded><![CDATA[<div>Sun, Java&#8217;yı açık kaynağa dönüştürüyor<br />
Sun Microsystems, amiral gemisi Java teknolojisini açık kaynak projeye dönüştürüyor. Yazılımlar internette ücretsiz dağıtılacak. <br />
 <br />
<br />
SAN FRANCISCO - Sunucu üreticisi Sun Microsystems, açık kaynağa son derece önemli bir destek verdi ve Java projesini kamuya açtı. Javanın internetten kamuya açılması, açıkkaynak evrenine son zamanlarda yapılar en büyük eklemelerden biri oldu. Sun Microsystems&#8217;ın açık kaynağa yönelişi, telif haklarını en sert savunan şirketlerin dahi açık kaynağa olumlu baktığını bir kanıtı. Sun&#8217;ın geliştirdiği yazılımlar dünyadaki 3.8 milyar cep telefonunda kullanılıyor.<br />
<br />
 <br />
Santa Clara-merkezli Sun Microsystems, telifi kendisinde bulunmayan bazı kodlar hariç tüm Java içeriği GNU General Public License çerçevesinde internete koyacak. Java&#8217;nın açık kaynağa dönüşümüyle, dünya çapında binlerce yazılımcı kodlar üzerinde modifikasyon, açık yamama ve yeni özelliklerin eklenmesi gibi işlemler gerçekleştirebilecek. <br />
<br />
Java kodlarının tümünün Mart 2007&#8217;de internete geçirilmesi bekleniyor. Açıkkaynağa geçiş Java&#8217;nın taşınabilir cihazlar, kişisel bilgisayar ve sunucu versiyonlarının tümü kapsıyor.<br />
<br />
&#8216;AÇIKKAYNAK JAVA İCAT PLATFORMU OLACAK&#8217;<br />
Sun Microsystems, 2000 yılındaki Silikon Vadisi kirizinden sonra açık kaynağa yatırım yaparak yeniten dirilmişti. Şirket açıkkaynağı kurumsal bir strateji olarak değerlendiriyor. Sun Microsystems&#8217;ın yazılımdan sorumlu Başkan Yardımcısı Rich Green, dünya çapında daha çok programcıyı &#8216;Javacı&#8217; yaparak katılım ve katkıyı artırmak istediklerini , açıkkaynağa geçişin bunun bir aşaması olduğunu vurguluyor. Green, şirketin açıkkaynağa bakışını &#8220;İçerik ve uygulama zenginliği, kapasite artırımı gerçekleşecek, açıkkaynak sayesinde Java bir icat platformuna dönüşecek.&#8221;<br />
<br />
 <br />
</div>

]]></content:encoded>
			<category domain="https://hackturk.net/forumdisplay.php?f=221">Java ve JavaScript</category>
			<dc:creator>turshu6</dc:creator>
			<guid isPermaLink="true">https://hackturk.net/showthread.php?t=77064</guid>
		</item>
		<item>
			<title><![CDATA[A'dan Z'ye JAVA]]></title>
			<link>https://hackturk.net/showthread.php?t=69428&amp;goto=newpost</link>
			<pubDate>Tue, 19 Sep 2006 05:05:05 GMT</pubDate>
			<description />
			<content:encoded><![CDATA[<div><b><span style="font-family: Century Gothic"><font color="White">Java sayesinde; animasyonlar, kayan yazılar, web sayfalarında chat, hesap makinesi, oyunlar, şifreleme programları, interaktif web sayfaları, müzik, kelime işlemci, küçük internet appletleri, kocaman paket programlar, resim işleme programları, tercüme programları, sipariş sistemleri, saatler, yazım kontrol programları yapılabilir.<br />
HTML'de Java<br />
Bir applet hazırladığınızda, bunu bir HTML dökümanına yerleştirmelisiniz. HTML 3.2 ile birlikte, Java appletlerin kullanılmasını sağlayan iki yeni eleman çıktı. Bunlar APPLET ve PARAM. Diğer HTML elemanları gibi bu iki elemanın da birçok özellikleri mevcuttur. Fakat ideali, sadece gerekli olan özelliklerin kullanılmasıdır. <br />
APPLET Elemanının kullanılması<br />
APPLET elemanı, HTML dökümanına yerleştirdiğiniz appletin tanımlanmasını ve özelliklerinin tanımlanmasını sağlar. Her HTML elemanı gibi, APPLET elemanının da bir başlangıç tagı &lt;APPLET&gt; ve bitiş tagı &lt;/APPLET&gt; vardır.<br />
APPLET elemanı için gerekli olan özellikler: CODE, WIDTH ve HEIGHT'tir. CODE özelliği kullanılacak appleti, WIDTH özelliği appletin genişliğini (pixel), HEIGHT özelliği ise appletin yüksekliğini (pixel) belirlemenizi sağlar. Aşağıda gerekli olan özellikleri ile bir appletin HTML dökümanına bağlanmış şeklini görüyorsunuz.<br />
&lt;HTML&gt; <br />
&lt;HEAD&gt; <br />
&lt;TITLE&gt; Maximum Bilgi &lt;/TITLE&gt; <br />
&lt;/HEAD&gt; <br />
&lt;BODY&gt; <br />
&lt;APPLET CODE=&quot;maximumbilgi.class&quot; WIDTH=300 HEIGHT=100&gt; <br />
&lt;/APPLET&gt; <br />
&lt;/BODY&gt; <br />
&lt;/HTML&gt; <br />
Yukarıdaki örnekte HTML dökümanı ve &quot;maximumbilgi.class&quot; adlı java appleti aynı dizinde bulunmalıdırlar. Şayet java appleti farklı bir dizinde ise, opsiyonel CODEBASE özelliğini kullanmanız gerekir.<br />
CODEBASE özelliği, appletin bulunduğu URL&#8216;yi belirtmenizi sağlar. Aşağıdaki örnek, yukarıdaki örneğin hemen hemen aynısıdır. Tek farkı, java appleti başka bir dizinde bulunduğu varsayılarak CODEBASE özelliği kullanılmıştır. <br />
&lt;HTML&gt; <br />
&lt;HEAD&gt; <br />
&lt;TITLE&gt; Maximum Bilgi &lt;/TITLE&gt; <br />
&lt;/HEAD&gt; <br />
&lt;BODY&gt; <br />
&lt;APPLET CODE=&quot;maximumbilgi.class&quot; CODEBASE=&quot;&quot;<a href="http://www.maximumbilgi.com/java/classlar/&quot;&quot;" target="_blank" rel="nofollow">http://www.maximumbilgi.com/java/classlar/&quot;&quot;</a> WIDTH=300 HEIGHT=100&gt; <br />
&lt;/APPLET&gt; <br />
&lt;/BODY&gt; <br />
&lt;/HTML&gt; <br />
Diğer opsiyonel özellikleri şöyle sıralayabiliriz:<br />
ALIGN<br />
Appletin konumunu belirlemizi sağlar. Alabileceği değerler ABSBOTTOM, ABSMIDDLE, BASELINE, BOTTOM, CENTER, LEFT, MIDDLE, RIGHT, TEXTTOP, TOP'tır.<br />
HSPACE<br />
Appletin altında ve üstünde ne kadar boşluk bırakabileceğinizi belirleyebilirsiniz. HSPACE&#8216;e vereceğiniz değer, pixel olarak işlenir. Örnek: HSPACE=10 <br />
VSPACE<br />
Appletin sağında ve solunda ne kadar boşluk bırakabileceğinizi belirleyebilirsiniz. VSPACE&#8216;e vereceğiniz değer pixel olarak işlenir. Örnek: VSPACE=20<br />
ALT<br />
Appletleri gösteremeyen browserlarda, appletin yerine alternatif bir yazı çıkmasını sağlayabilirsiniz. <br />
NAME<br />
Applete bir isim vermenizi sağlar.<br />
PARAM Elemanının kullanılması <br />
PARAM elemanı ile applete parametre gönderebilirsiniz. PARAM elemanının sadece başlangıç tagı vardır: &lt;PARAM&gt;. Applete göndermek istediğiniz her parametre için bir &lt;PARAM&gt; tagı kullanmalısınız. PARAM taglarını başlangıç tagı &lt;APPLET&gt; ile bitiş tagı &lt;/APPLET&gt; arasına yerleştirmelisiniz.<br />
Appletler, &lt;PARAM&gt; tagında belirtilen parametrelere &quot;getparameter()&quot; metodu ile ulaşırlar. &lt;PARAM&gt; tagının gerekli iki özelliği vardır. NAME ve VALUE. NAME özelliği ile parametrenin adı belirtilir ki &quot;getparameter&quot; metodu ile bu isme göre aranır. VALUE özelliği ise parametrenin değerini verir. Aşağıda, applette kullanılacak resmi, parametre ile girilen bir HTML dökümanı örneği verilmiştir.<br />
&lt;HTML&gt; <br />
&lt;HEAD&gt; <br />
&lt;TITLE&gt; Maximum Bilgi &lt;/TITLE&gt; <br />
&lt;/HEAD&gt; <br />
&lt;BODY&gt; <br />
&lt;APPLET CODE=&quot;maximumbilgi.class&quot; WIDTH=300 HEIGHT=100&gt; <br />
&lt;PARAM NAME=Resim VALUE=&quot;logo.gif&quot; &gt; <br />
&lt;/APPLET&gt; <br />
&lt;/BODY&gt; <br />
&lt;/HTML&gt; <br />
Java appletinde, resim parametresinin değeri; Resim_logo=getparameter(&quot;Resim&quot;) komutu ile okunur.<br />
Veri Tipleri<br />
Java'da her şey bir nesnedir. Tek istisna veri tipleridir. Java veri tipleri, bütün platformlarda standart büyüklüğe sahiptir. Bu standart Java'nın taşınabilirliğini sağlıyor. Aşağıda Java'da bulunan veri tipleri ve büyüklükleri listelenmiştir.<br />
Veri tipi Büyüklük<br />
byte 8-bit<br />
short 16-bit<br />
int 32-bit<br />
long 64-bit<br />
float 32-bit kayan nokta<br />
double 64-bit kayan nokta<br />
char 16-bit Unicode<br />
<br />
Eğer C/C++ programcısı iseniz &quot;unsigned&quot; tipinin olmadığı dikkatinizi çekmiştir. Byte tipi ise C/C++'daki &quot;char&quot; tipinin yerini almıştır. Java'daki char tipi 16 bittir. Çünkü Java karakter verisinde Unicode karakter setini temel alır.<br />
Unicode, uluslararası karakterleri destekleyen bir standarttır. Programlarınızın değişik platformlarda ve ülkelerde çalıştırılacağında Unicode çok uygundur. Yukarıdaki tabloda olmayan diğer bir veri tipi ise boolean'dır. Bir boolean, değişken numerik değere çevrilemez ve sadece iki değer alabilir. Bu değerler &quot;true&quot; ve &quot;false&quot; tur.<br />
Literaller<br />
Literaller, değişkenlere değer atamak için kullanılır. Integer'lara C/C++ benzer biçimde değer atanır. 25 gibi tamsayı atayabilirsiniz. Hexadecimal bir tamsayı atamak için, sayının önüne &quot;0x&quot; ifadesi koymanız gerekir. Örneğin, 15 sayısını hexadecimal olarak 0xF şeklinde atamalısınız. 8'lik tabanda bir sayı atamak için &quot;0&quot; ifadesini, sayının önüne koymalısınız.<br />
Kayan noktalı sayıları ise direkt 5.2345 şeklinde atayabilirsiniz. Bunlar 32 bit float veya 64 bit double olarak saklanabilirler. Belirtmezseniz, varsayılan 64 bit double'dır. Belirtmek için yapacağınız tek şey, sayının arkasına float için F, double için D koymaktır. Örneğin 5.323 F veya 5.323 D.<br />
Karakterler, tek tırnak içinde atanırlar. Örneğin 'a'gibi. Escape karakterleri için slash (\) kullanılır. Bunlar da tırnak içinde belirtilir. \t=tab, \n=satır atlama gibi. Stringler için çift tırnak kullanılır. &quot;Maximum Bilgi&quot; gibi. Satır atlaması yapmak istiyorsanız &quot;Maximum Bilgi \n&quot; kullanmalısınız.<br />
Değişkenler<br />
Java'da 3 tip değişken vardır: instance, class ve local. Lokal değişkenler, metodların ve blokların içinde tanımlanabilirler. Blok, &quot;{&quot; ile başlayan ve &quot;}&quot; ile biten ifadeler topluluğudur. Blok içinde tanımlanan lokal değişkenler, blok sonuna kadar geçerlidir. Genel formatı &lt;tip&gt; &lt;değişken adı&gt; şeklindedir. Örneğin double tipinde pi adlı değişkeni tanımlayalım: double pi; bir değer de atayabilirdik: double pi=3.1415.<br />
Değişkenler; harf, sayı, dolar işareti, alt çizgi ile başlayıp bu karakterlerle devam edebilir. Ama komutlar, operatörler değişken ismi olarak kullanılamazlar.<br />
Açıklamalar<br />
Programlarınıza açıklama koymak için, Java'da kullanabileceğiniz iki stil vardır. Birincisi çift slash ( // ). Çift slash'tan satır sonuna kadar olan kısımda bulunan her şey açıklama olarak kabul edilir.<br />
İkincisi ise slash ve yıldız ( /*) ile başlar yıldız ve slash ile biter. Bunlar arasındaki her şey, açıklama olarak kabul edilir. Örnek 1: double pi; // pi değişkeni double olarak tanımlandı. Örnek 1: /* Bu programın amacı sayısal loto tahmini yapmaktır.<br />
Operatörler<br />
Java'da bulunan operatörler aşağıdaki tabloda verilmiştir.<br />
Kategori Operatör<br />
Aritmetik + - * / %<br />
İlişkisel &lt; &gt; &gt;= &lt;= == != &amp;&amp; ||<br />
Bit işlemeri &amp; | ^ &lt;&lt; &gt;&gt; &gt;&gt;&gt; ~ &amp;= |= ^=<br />
Artırma ++<br />
Azaltma --<br />
<br />
Aşağıda iki değişken tanımlanıp, bunlara değer atanıyor. Daha sonra ise bu iki değişkenin içeriği toplanıyor:<br />
int x,y ; <br />
x= 3 ; <br />
y=4 ; <br />
int z=x+y ; <br />
Z 'nin değeri yedidir. Operatörlerin öncelik sırası aşağıdaki tabloda gösterilmiştir.<br />
[] ()<br />
++ - ! ~<br />
* / %<br />
+ -<br />
&lt;&lt; &gt;&gt; &gt;&gt;&gt;<br />
&lt; &gt; &lt;= &gt;=<br />
== !=<br />
&amp; ^<br />
|<br />
&amp;&amp;<br />
||<br />
= ve diğerleri<br />
Bit işlemleri<br />
<br />
Ayrılmış Kelimeler<br />
Aşağıdaki tabloda, Java'nın komutları olarak kullanılan kelimeler listelenmiştir. Bu kelimeler, Java için ayrılmıştır. Yani bu kelimeleri değişken ismi gibi şeyler için kullanamazsınız. Bunlar sınıf tanımlaması, değişken tipi belirleme, koşul, döngü gibi işlemler için kullanılır.<br />
Abstract boolean<br />
break byte<br />
byvalue case<br />
catch char<br />
class const<br />
continue default<br />
do double<br />
else extends<br />
false final<br />
finally float<br />
for goto<br />
if implements<br />
import instanceof<br />
int interface<br />
long native<br />
new null<br />
package private<br />
protected public<br />
return short<br />
static super<br />
switch synchronized<br />
this threadsafe<br />
throw transient<br />
true try<br />
void while<br />
<br />
Karşılaştırmalar<br />
Karşılaştırmalar, genelde bir karşılaştırmanın sonucuna göre belirtilen komut veya komutları çalıştırırlar. Eğer birden fazla komut kullanılacak ise blok içinde olmalıdır. Tek bir komut için buna gerek yoktur. Örneğin; a değişkenin değerinin bir olup olmadığını kontrol ediyoruz. Eğer a=1 ise a=2, değil ise a=1.<br />
Görüldüğü üzere karşılaştırma, boolean bir değer döndürmelidir. Yani true (doğru) veya false (yanlış) değerini döndürmelidir ki bu değere göre işlenecek komutlar belirlenebilsin. Java'da karşılaştırma yapmak için &quot;if...else...&quot; kullanılır. Formatı şu şekildedir: <br />
if (karşılaştırma) <br />
{ karşılaştırmanın sonucu <br />
doğru ise işlencek komutlar <br />
} <br />
else <br />
{ karşılaştırmanın sonucu <br />
yanlış ise işlencek komutlar <br />
} <br />
Yukarıdaki örneği java formatında yazarsak : <br />
if (a==1) // Java'da = operatörü atama için kullanılır. <br />
// Karşılaştırma için == operatörünü kullanılır. <br />
a=2; <br />
else <br />
a=1; // Tek komut olduğu için blok içine alınmasına gerek <br />
yoktur. <br />
Eğer birçok karşılaştırma varsa, iç içe karşılaştırmalar (if ) kullanılabilir. Sonucu nümerik olan karşılaştırmalar için &quot;switch...case...&quot; komutu kullanılır. Bu komut, sadece nümerik değerler için kullanılır. Formatı şu şekildedir: <br />
switch (değişken) <br />
{ <br />
case 1: // değişkenin değeri 1 ise <br />
break; <br />
case 2:{ <br />
// değişkenin değeri 2 ise <br />
break; <br />
} <br />
default: // yukarıdaki değerler haricindeki değer ise <br />
break; <br />
} <br />
Döngüler<br />
Java 'da üç tane döngü işlemi vardır. &quot;for&quot; döngüsünün yapısı aşağıdaki şekildedir. for (ilk değer; test; değer artırma/azaltma) Bu yapıda görülen ilk değer ifadesi, değişkeninizin alacağı ilk değerdir. Test ifadesinde ise basit veya kompleks bir karşılaştırma kullanabilrisiniz. Değer arttırma veya azaltma ise değişkeninizin o anki değerini değiştirecek bir ifadedir. &quot;for&quot; döngüsünü örnek kullanımı:<br />
for (sayac=0;sayac&lt;3;sayac++) <br />
Bu örnekte, sayaç değişkenine ilk değer olarak sıfır verilmiş ve her döngüde bir arttırılması istenmiş. Döngüden çıkma koşulu ise sayaç değişkeninin 3 ve daha yukarı değerleri olarak belirlenmiş. Bu durumda sayaç değişkeni 0,1,2 değerleri için döngüye girecektir. &quot;for&quot; döngüsünden sonra bir komut veya blok komutları gelebilir. &quot;while&quot; döngüsünün yapısı şu şekildedir: while (test). Test ifadesi &quot;for&quot; döngüsündeki ile eşdeğerdir. Örnek: <br />
sayac=0; <br />
while (sayac&lt;3) <br />
{ <br />
//komutlar <br />
sayac++; <br />
} <br />
&quot;do&quot; döngüsünün yapısı: <br />
do <br />
{ <br />
//komutlar <br />
} while (test); <br />
&quot;do&quot; döngüsünün &quot;while&quot; döngüsünden farkı en az bir kere döngüye girmesidir. <br />
Tüm döngülerde &quot;break&quot; komutu döngüden çıkılmasını, &quot;continue&quot; komutu ise bir sonraki değere geçmeyi sağlar.<br />
Diziler<br />
Java'da diziler nesnedirler, C'deki gibi hafızada yer kaplayan pointer değillerdir. Java 'da diziler, C 'ye göre daha güvenilirdir. Dizilerin elemanlarına gelişigüzel değerler atayamazsınız. Java, dizi elemanlarını sırasıyla kontrol eder. Dolayısıyla arada değer atanmamış bir elemana rastlanırsa hata oluşur. Bu da C'de çıkan hafıza bozulmalarını önler. Java'da dizi kullanmak için ilk önce dizinin tipi verilir. Tip verilirken dizinin büyüklüğü belirtilmez.<br />
int numbers[]; // Integer diziler için <br />
String myStrings[]; // String diziler için <br />
Diğer metod ise tipin arkasına köşeli parantez koymaktır. <br />
String[] myStrings; // String diziler için <br />
İkisi de tanımlamada aynıdır. Her ikisi de kullanılabilir. Size hangisi daha kolay geliyorsa onu kullanın. Java dizileri örneklerden de görüldüğü üzere tüm veri tipleri için kullanılabilir. Sonraki adım ise dizinin &quot;new&quot; operatörü kullanılarak yaratılmasında, bu adımda dizinin büyüklüğü de belirtilir.<br />
int numbers[] = new int[5]; // 5 büyüklüğünde integer dizi <br />
String myStrings[] = new String[20]; // 20 büyüklüğünde string dizi.<br />
Bu adımdan sonra diziler yaratılmış oldu. Dizinin her bir elemanına varsayılan değer atanır. Varsayılan değerler integer veri tipi için &quot;0 (sıfır)&quot;, string veri tipi için &quot;null&quot; değeridir. Dizi elemanlarına bu adımdan sonra değer atamak çok kolaydır. C++ 'da olduğu gibi Java 'da da dizilerin elemanları sıfırdan başlayan tamsayı değerleridir. Dizinin ilk elemanına değer atamak için:<br />
myStrings[0] = &quot;ilk dizim&quot;; <br />
numbers[0] = 10;<br />
Java'da bir dizinin eleman sayısını (büyüklüğü) bulmak için &quot;length&quot; metodu kullanılır. Bu metodun döndürdüğü değer &quot;int&quot; tipindedir.<br />
int boyut=numbers.length // boyut=5 olur <br />
Java'da çok boyutlu diziler yoktur. Fakat bu tür diziler dizi içinde dizi oluşturularak simüle edilebilir. <br />
int k[][] = new int[5][4]; // 5-4 boyutunda bir dizi <br />
k[1][3] = 999; // Değer atama<br />
Bilgi Alma ve Yazdırma<br />
Ekrandan bilgi almak için BufferReader sınıfını kullanacağız. BufferReader giris=new BufferReader( new InputStreamReader (System.in)); Bu sınıfın readLine() metodunu kullanarak bilgiyi alıyoruz:<br />
try {<br />
String girilen=giris.readLine();<br />
} catch (IOException e ) { System.out.prinln(e);}<br />
try-catch bloğu olası bir hatayı yakalamak için kullanılıyor. Eğer bir hata oluşursa hatayı ekrana yazacak. Şimdi de girileni yazdıralım. Ekran birşey yazdırmak için System.out sınıfının println metodunu kullanacağız :<br />
System.out.println (&quot;Girdiğiniz şey : &quot; + girilen );<br />
println metodu ekrana verilen parametredeki yazıyı yazdıktan sonra imleci bir alt satıra geçirir. Şayet imlecin bir alt satıra geçmesini istemiyorsanız print metodunu kullanın. Ama bu metodu kullandığınızda ekrana bilginin çıkması için akabinde flush metodunuda kullanmalısınız. Şu şekilde :<br />
System.out.print(&quot;Ali &quot;);<br />
System.out.flush();<br />
Java Sertifikası <br />
Java internet ortamına girdiğinde, javayı destekleyen browserlardaki buglar yüzünden çoğu kullanıcı java özelliğini kapatmak durumunda kalmıştı. Günümüzde javanın güvenliği artmış durumda. Bunda browserların buglarının azalmasının rolü olduğu gibi sertifika kavramınında büyük rolü vardır.<br />
Sertikasız/İşaretsiz Appletler Neler Yapabilir?<br />
Kullanıcıların bilgisayarında istenmeyen işlemlerin yapılmasını engellemek için, her browserın güvenlik sınırlamaları vardır. Bu güvenlik sınırlamasının türü browsera göre değişir. Günümüzdeki browserların java appletlerin için aşağıdaki güvenlik sınırlamaları vardır:<br />
- Appletler kullanıcının bilgisayarından veri okumaz ve yazamazlar.<br />
- Kullanıcının bilgisayarında program çalıştıramazlar.<br />
- Ağ bağlantısı sadece appletin bulunduğu server ile kurulabilir.<br />
- Sistem ayarlarını değiştiremezler.<br />
Bu güvenlik sınırlamalarına bakıldığı zaman normal bir applet sadece grafik veya yazı gösterme, ses ve animasyon işlemlerini yapabilir. Büyük işler için normal appletler uygun değildir ki küçük bir veri girişi dahi olamadan dişe dokunur uygulama yapmak mümkün değildir.<br />
Sertifikalı ve İşaretli Nedi?<br />
Appletlerin web sayfalarını daha görsel hale getirmekten başka bir işe yaramadığı çabuk anlaşıldı. Ama daha fazlasını; mesela kulanıcıdan bilgi almak ve yazmak; yapabilmek için güvenlik sınırlamalarını kaldırmak gerekiyordu. Fakat bunun mümkün olduğu güvenli olması için, appletler yeni browserlar için işaretlenebiliyor.<br />
Bunun için applet geliştiricisinin amacını belirten sertifaya ihtiyacı vardır. Sertifa browser okuyabileceği şekilde açıktır ve geliştiricinin adını ve kontrol kodu içerir. Bu sertifaka ile geliştirici appleti güvenli olarak işaretler. Başka hiç kimse bu sertifikayı kullanarak bir appleti işaretletyemez. Çünkü geliştirici appleti işaretlemek için sertifika ile birlikte verilen özel kodu kullanır.<br />
Kullanıcı, appleti çalıştırdığında ( applet olan bir web sayfasını çağırdığında ) browser appletin işareti ile sertifikayı karşılaştırır. Böylece appletin işareti sertifaka ile uyumlu ise çalıştırır. Bu şu anlama geliyor: Doğru işaretli bir appletin geliştiricisini kullanıcı applet yüklenirken görür. Ama sadece applet yüklenirken.<br />
İşaretli Appletler Neler Yapabilir?<br />
İşaretli bir applet yüklendiğinde kullanıcının karşısına bir pencere gelir. Bu pencerede sertifika hakkında bilgiler vardır ve kullanıcı onayı istenir. Kullanıcı bu bilgiler ışığında appletin çalışmasına izin verir veya vermez. Kullanıcının çalışmasını onaylamış bir applet normal programların yapabildiği her şeyi yapabilir.<br />
Bu Durumdaki Güvenlik<br />
Buradaki problem onaylama işleminin ya hep ya hiç mantığında işlemesidir. Bunun anlamı onayladığınız bir appletin gerçek amacının dışındaki verileride okuyabildiği veya istenmeyen bir yere veri yazabildiğidir. Tam anlamıyla erişim haklarının belirlenmesi programcılara ağır geldiği için çoğu programcı tarafından yapılmıyor. Yine de Microsoft ve Netscape'in browserları için erişim haklarının değişik şekilde belirlenmesi karşısında programcılar minimum düzeyde erişim hakkıyle yetiniyorlar.<br />
İkinci bir problem ise sertifikanın gerçekliğidir. Gerçek sertifikalar, programcı tarafından değil, programcının güvenilirliğine kefil olan şirketler tarafından oluşturulmuş sertifikalardır. Bu şirtketler para karşılığında sertifika oluşturmaktadır. Bir sertifika en az $200 başlayıp sertifikaya göre artmaktadır. Programcı yıllık olarak $100 başlayan fiyatlarıda ödemek zorundadır. Çoğu programcı için bu fiyatlar aşırı pahalı gelmektedir.<br />
En azından herkes bedava kendi sertifasını oluşturabilir. Fakat böyle bir sertifa, programcının gerçekte kim olduğunu ve amacının doğruluğunu belirtmez. Hatta test sertifikaları diye anılanlar istenen herhangi bir isim ile oluşturulabilir. Her ne kadar insanı korkutsada, bilinmeyen bir shareware programı denemekten daha güvenlidir. Appleti onaylamak veya onaylamamak bizim elimizde değil mi?<br />
Sertika Şirketleri<br />
Gerçek sertifakalar sertifa şirketleri ( Certificate Authority kısa CA ) tarafından veriliyor. Bu şirketler programncının yada şirketlerin amacını kontrol ettikten sonra sertifika veriyorlar. En tanınmış sertifika şirketleri VeriSign, Thawte ve BelSign.<br />
Her CA, vereceği sertifikaları kendi sertifikası altına tanımlar ki daha önceden güvenliğ belirlenmiş kendi sertifikaları gibi işlem grösünler. CA'lar kendilerine ait sertifikaları daha önceden browserlara tanımlanmış ve kurulmuştur. Maalesef bu şirketlerin verdikleri hizmetin bedeli yüksek. Bir defaya mahsus ücret $200 dan başlıyor, yıllık ücretler ise 100$ dan. Şuana kadar işaretli appletlerın yaygınlaşmamasının en büyük nedeni bu olsa gerek.<br />
Test Setifikaları<br />
Test sertifikası herkes tarafından beş kuruş ödenmeden oluşturulabilen sertifikalardır. Ama programcının amacını gerçek olarak ispatlamayan sertifikalar bunlar. Bu sertifikalarda browsera göre değişiyor. Bir Netscape ve birde Microsoft için oluşturmak gerekiyor. Sun'ın HotJava browserına hiç girmeyeceğim burda, belki ileride onuda ele alırım.<br />
Microsoft Browser İçin Test Sertifakası<br />
Microsoft browser sertifikası oluşturmak için, Microsoft'un sitesinden bedava indirebileceğiniz &quot; Software Developer's Kit ( SDK) &quot; e ihtiyacınız var. Bu yazılım kitinin içindeki programların tek tek indirilememesi tabii ki çok kötü bir durum. Bu kitin içindeki herhangi bir program için 20 MB büyüklüğündeki bu kiti indirmek zorunda kalıyorsunuz. Ama bu kiti CD olarakta sipariş edebiliyorsunuz.<br />
Bu kit ile gelen ingilizce dökümantasyon tam olarak okunmalı, nitekim olmazsa olmaz birçok önemli parametre mevcut. Burada bu kitin içindeki DOS programlarıyla sertifika oluşturulmasını kısaca anlatmaya çalışacağım. Bu sadece başlangıç için yardım niteliğindedir. Gerisini dökümana bırakıyorum.<br />
makecert ile Private/Public Key oluşturun. Sertifika için gerekli olan .cer uzantılı bir dosya oluşacaktır.<br />
cerrt2spc ile sertifikayı oluşturun. Birinci adımda oluşturduğunuz .cer uzantılı dosyadan .spc uzantılı bir dosya oluşturur.<br />
cabarc ile class dosyalarınızı cab dosyası haline getirin. Bu cab dosyası Internet Explorer tarafından indirilecek dosyadır.<br />
Oluşturduğunuz cab dosyasını signcode ile işaretleyin. Bu işlem sırasında oluşturduğunuz .spc uzantılı dosyada kullanılacaktır.<br />
Netscape Browser İçin Test Sertifakası<br />
Netscape programcıların işini biraz daha kolaylaştırmış Microsoft'a göre, sertifika için gerekli olan &quot;Signtool&quot; uğraşmadan indirebilecek ve Microsoft'un kitine göre daha kolay kullanımı var. Signtool Win95 ve Unix sürümleri var. Kısaca adımlar:<br />
&#8226; signtool ile Private ve Public Key oluşturmak için -G parametresini kullanın. <br />
&#8226; Bu işlem ile x509.cacert adlı bir dosya oluşacaktır. <br />
&#8226; signtool ile class dosyalarınızı jar dosyası haline getirin.<br />
Bu işlemleri batch dosyası ile de yapabilirsiniz.<br />
JAVA PLUG-IN<br />
Bundan birkaç yıl önce Sun, HotJava adlı web browserı piyasaya çıkardı. Sun'ın bu web browserı, Java'yı destekliyordu. Buda içine java nesneleri gömülebilen uygulamaların ilk örneğini teşkil ediyordu. Bunun ardından Netscape kendi web browserınada Java desteğini ekledi. Ardından da MS.<br />
Gün geçtikce Java'nın yeni sürümleri çıktı. Bununla birlikte Netscape ve MS kendi ihtiyaçlarına uygun sınıf kütüphanelerini eklediler browserlarına. Böylece her browserın kendine özel JVM ( Java Virtual Machine ) 'i oldu. Dolayısıyla browserların içine gömülen JVM ile browserdan bağımsız olarak JVM 'i güncellemek imkansızdı.<br />
Sun, herhangi bir ortamda Java'nın çalışabilmesi için gerekli olan her şeyi içeren ( Java VM ve sınıf kütüphaneleri ) JRE 'yi çıkardı. Eğer JRE bilgisayarınızda yüklüyse, herhangi bir uygulamaya ( örneğin browser ) gömülmüş java nesneleri çalışabiyor. Sorun, browserların sadece kendi JVM lerine bakmaları ve makinada yüklü olan JRE 'ye ulaşmak için bir mekanizmaya sahip olmamalarıydı. Sun olaya el attı : Java Plug-In<br />
Sun'ın geliştirdiği Java Plug-In, JRE 'ye HTML sayfalarından browserı kullanarak ulaşmak için bir mekanizma. Java Plug-In, Sun'ın web sitesinden bedavaya indirilebiliyor. Sayfaya girildiğinde, istenen java sürümü kullanıcının makinasında yüklü değilse, kullanıcı Java Plug-In sayfasına yönlendirilir. Java Plug-In, Netscape'de plug-in olarak, IE 'de ise ActiveX Control olarak otomatik yüklenir.<br />
Java Plug-In Kullanmak<br />
Java Plug-In, Netscape'de EMBED, IE 'de ise OBJECT tagı sayesinde kullanılabilir. MIME tipi ile istenen java sürümünü belirtmelisiniz. Örneğin Java 1.2 sürümünün özelliklerini kullanan bir appletiniz varsa, MIME tipinde bunu belirterek appletinizin doğru çalışmasını sağlarsınız.<br />
MIME Tipi Nesne Tipi / Sürüm<br />
application/x-java-applet; Applet / Mevcut sürüm<br />
application/x-java-applet;version=1.1 Applet / Java 1.1<br />
application/x-java-applet;version=1.2 Applet / Java 1.2<br />
application/x-java-bean; Bean / Mevcut sürüm<br />
application/x-java-bean;version=1.1 Bean / Java 1.1<br />
<br />
HTML sayfasına appletinizi geleneksel yöntemlerle koymak isterseniz, yani Java Plug-In kullanmak istemiyorsanız APPLET tagını kullanmanız gerekir. Java Plug-In kullanmak istiyorsanız;<br />
Netscape için EMBED tagını kullanmalısınız :<br />
&lt;HTML&gt;<br />
&lt;BODY&gt;<br />
&lt;EMBED type=&quot;application/x-java-applet;version=1.1&quot; width=&quot;200&quot; height=&quot;200&quot; code=&quot;Appletim.class&quot; codebase=&quot;/appletler/&quot; parametre1=&quot;2&quot; pluginspage=&quot;http://java.sun.com/products/plugin/1.1/plugin-install.html&quot;&gt;<br />
&lt;NOEMBED&gt;<br />
Applet Desteklenmiyor<br />
&lt;/NOEMBED&gt;<br />
&lt;/EMBED&gt;<br />
&lt;/BODY&gt;<br />
&lt;/HTML&gt;<br />
PLUGINSPAGE ve TYPE alt tagını kullanmanız gerektiğini unutmayınız. Çünkü browser Java Plug-In yükleme sayfasını ve sürümü bilmesi gerekir. APPLET tagında kullanılan PARAM alt tagını bu durumda kullanmazsınız. Parametreleri direkt, örnekte görüldüğü gibi ( parametre1=&quot;2&quot;) direkt yazmalısınız.CODE, CODEBASE,WIDTH,HEIGHT gibi alt taglar APPLET tagında olduğu gibi kullanılır.<br />
Internet Explorer için OBJECT tagını kullanmalısınız :<br />
&lt;HTML&gt;<br />
&lt;BODY&gt;<br />
<br />
&lt;OBJECT classid=&quot;clsid:8AD9C840-044E-11D1-B3E9-00805F499D93&quot; width=&quot;200&quot; height=&quot;200&quot; codebase=&quot;<a href="http://java.sun.com/products/plugin/" target="_blank" rel="nofollow">http://java.sun.com/products/plugin/</a><br />
1.1/jinstall-11-win32.cab#Version=1,1,0,0&quot;&gt; <br />
&lt;PARAM NAME=&quot;code&quot; VALUE=&quot;Appletim.class&quot;&gt; <br />
&lt;PARAM NAME=&quot;codebase&quot; VALUE=&quot;/appletler/&quot;&gt; <br />
&lt;PARAM NAME=&quot;type&quot; VALUE=&quot;application/x-java-applet;version=1.1&quot;&gt; <br />
&lt;PARAM NAME=&quot;parametre1&quot; VALUE=&quot;2&quot;&gt;<br />
Applet desteklenmiyor<br />
<br />
&lt;/OBJECT&gt; <br />
<br />
&lt;/BODY&gt;<br />
&lt;/HTML&gt;<br />
<br />
Burada CODEBASE alt tagı gömülü nesnenin gerektirdiği ActiveX Controlünün yeridir. Java'ya ait codebase, type, code gibi taglar PARAM alt tagı ile belirtilir. <br />
Netscape ve IE için farklı yöntemlerin kullanılması, her biri için ayrı web sayfalarımız olacağı anlamına gelmiyor. HTML kodu kullanarak her ikisi içinde geçerli bir sayfa hazırlayabilirsiniz. Fakat böyle bir HTML kodu yazmak için kendinizi kasmayın. Çünkü Sun, Java Plug-In ile beraber HTML Çeviricisi ( HTML Converter ) sunuyor. Bu çevirici sayesinde HTML sayfasında kullanılan APPLET tagları her iki browserda da kullanılabilecek şekilde çevriliyor.<br />
Applet Neden Çalışmıyor?<br />
Appletler, dinamik web tabanlı içerik için en ideal progr*****lardır. Teorikte bir kere yaz, her bilgisayarda, her browserda ve her işletim sisteminde çalıştır; mantığını ileri süren Sun bunu &quot;Bir kere yaz, her yerde çalıştır ( Run Once, Run Anywhere ) &quot; sloganıyla lanse ediyor. <br />
Pratikte, birçok java programcısı ve birçok kullanıcı Java appletlerinin başağrısına sebep olduğunu söylüyorlar. &quot;Neden applet çalışmıyor ?&quot; içerikli birçok mail geliyor.<br />
Applet çalıştığı zaman tam çalışıyor, çalışmadığı zaman ise büyük bir sorun halini alıyor. Hatayı bulmak ve hatayı düzeltmek gerçekten başağrısına neden olabiliyor. Hatta Java ile program geliştirmeyi bu yüzden bırakanlar bile var. Değişik browserlar, browser sürümlerinin farklılıkları, hatta browser konfigürasyonlarındaki farklılıklar appletlerin çalışmasında rol oynayabiliyor. Browserlara gömülü Java Sanal Makinasındaki ( Java Virtual Machine ) buglar ve bilgisayarın performansıda etkili oluyor.<br />
Şayet browser'ınız hiçbir appleti çalıştıramıyor ise, java applet ihtiva eden bir sayfayı çağırdığınızda takılıp kalıyorsa browser yazılımını tekrar kurmak çoğu zaman problemi ortadan kaldırıyor. Bu söz konusu değilde, gri bir dikdörtgenden başka bir şey göremiyorsanız bunun bir kaç sebebi olabilir.<br />
Neden Gri Dikdörtgen?<br />
Appletin yüklenmesi sırasında veya yüklendikten sonra çalıştırılması sırasında meydana gelen hatalardan dolayı oluşur. Java programlama dilinde bunun teknik adı &quot;Exception&quot; dır. Java'da hataları yakalama imkanı olduğunu biliyoruz, daha doğrusu bilinen çoğu hatayı desek daha iyi olur. Oluşan hatalar bilinmedik, beklenmedik hata veya appletden kaynaklanmayan hatalar olabildiği için bu hataları yakalama imkanı yok. Şimdi en çok karşılaşılan ve bilinen hataları inceleyelim :<br />
Class dosyasına ulaşamama veya yükleyememe<br />
Bilindiği gibi applet dediğimiz progr*****lar, derlendikten sonra class dosyası halini alıyorlar. Appletlerin çalışması için bu class dosyalarının yüklenmesi gerekiyor. Şayet class dosyasının yeri bulunamaz veya dosya yüklenirken hata oluşur ise gri kutunun içinde class dosyasını bulunamadığına dair veya yüklenirken hata oluştuğuna dair bir hata mesajı çıkar ve applet çalışmaz. Applet çalışmadığı için, ki hata daha applet yüklenirken oluştuğu için, applet kodu içinden bu hatayı yakalamanız ve engellemeniz mümkün değildir. Bu hata çoğu durumda, &lt;applet&gt; tagı içinde class dosyasının bulunduğu yeri yanlış olarak belirtildiği zaman ortaya çıkıyor. <br />
Ağ kaynaklarına erişememe<br />
Bazı zamanlar ağ üzerinde bulunana server göçer veya herhangi bir sebepten bağlantı kurulamaz. Kullanıcı firewall arkasındadır ve Socket, DatagramSocket istekleri çalışmaz. Eğer ağ kaynaklarına erişim gerektiren bir applet yazıyorsanız, iletişim için TCP/UDP protokülü yerine HTTP protokülünü kullanın. Çünkü firewall arkasında olan kullanıcı sayısı gün geçtikçe artıyor. Karşılaşılan diğer bir hata sebebi ise, browserların appletler ile ilgili kısıtlamalarından kaynaklanıyor.<br />
Appletviewer'da sorunsuz çalışan applet, browserda çalışmıyor. Applet sadece bulunduğu server ile bağlantı kurabilir. Birçok applet ise domain isimlerini IP adresine çevirirken hata oluşturuyorlar. Bunu önlemek için domain ismi yerine IP adresi kullanın.<br />
Null Hataları<br />
Çok karşılaşılan hatalardan biriside NULL hatalarıdır. Bu appletin kodundan kaynaklanan ve appletin çalışmamasını sağlayan bir hatadır. Bir değişkene bir nesne atarken, nesnenin değerinin Null ( değersiz ) olmamasına dikkat edin. Aşağıdaki örneği inceleyin:<br />
Örnek:<br />
String sayac = getParameter (&quot;sayac&quot;); //sayac parametresini al<br />
if ( sayac == null ) // Eğer sayac null ise<br />
sayac = &quot;1&quot;; // sayac değerini &quot;1&quot; yap.<br />
Biraz dikkat ile, web sayfalarında önümüze çıkan gri dikdörgen kutucukları azaltabiliriz.</font></span></b></div>

]]></content:encoded>
			<category domain="https://hackturk.net/forumdisplay.php?f=221">Java ve JavaScript</category>
			<dc:creator>DolphinSea</dc:creator>
			<guid isPermaLink="true">https://hackturk.net/showthread.php?t=69428</guid>
		</item>
		<item>
			<title><![CDATA[Java nedir, nasil calisir? JavaScriptler hakk&#305;ndaki T&#252;m SoRuLar buraya]]></title>
			<link>https://hackturk.net/showthread.php?t=67968&amp;goto=newpost</link>
			<pubDate>Sun, 10 Sep 2006 00:12:55 GMT</pubDate>
			<description />
			<content:encoded />
			<category domain="https://hackturk.net/forumdisplay.php?f=221">Java ve JavaScript</category>
			<dc:creator>MidNight</dc:creator>
			<guid isPermaLink="true">https://hackturk.net/showthread.php?t=67968</guid>
		</item>
		<item>
			<title>Döküman; Java Hakkında Bilgi</title>
			<link>https://hackturk.net/showthread.php?t=67946&amp;goto=newpost</link>
			<pubDate>Sat, 09 Sep 2006 21:45:01 GMT</pubDate>
			<description />
			<content:encoded><![CDATA[<div><b>Java Sun Microsystems firması tarafından geliştirilmiş olan üst seviye bir programlama dilidir. İlk adı OAK olan Java aslında bilgisayarlar değil, set üstü araçlar (WebTV gibi) veya avuç içi cihazlar (PDA&#8217;ler gibi) için hazırlanmıştı. OAK 1995 yılında başarısız olunca Sun firması bu programlama dilinin adını </b><b>Java olaak değiştirdi ve Internet üzerinde popüler bir programlama dili haline getirmeye çalıştı. <br />
1. Basit &amp; Küçük<br />
Java programlama dilinin öğrenilmesinin kolay olduğunu iddia eden Sun&#8217;daki geliştiricilere, yeni programlamaya başlayanların inanması biraz güç olacaktır.<br />
Programlamayı bilen kişiler için (özelliklede C++) çok daha kolaydır. Çünkü Java C++ &#8216;a çok benzer.<br />
C++ &#8216;da karmaşık olan bazı şeyler atılmış, basit olanlar eklenmiş<br />
Küçük : Java çok küçük işlemcilerde bile çalışabilir. Temel ihtiyacı ( İşlemci, standart sınfılar ve &#8220;Thread&#8221;-desteği ) 215 KB dır. (Sun &#8216;ın iddiası ) <br />
2. Nesneye yönelimli &amp; Dağınık<br />
Nesne yönelimli (Object Oriented) , insanların kavramada çok zorluk çektikleri bir kavram. Ama bu, iyi özelliklerinden dolayı, yazılım geliştirmede kabul görmesini engelleyemiyor.<br />
Adından da anlaşıldığı gibi, nesneye yönelimli programlamada insan nesne geliştirmeye konsantre oluyor. Nesne, verilerden ( değişkenler ) ve bu verileri değiştirmeye yarayan fonksiyonlardan ( Method ) oluşuyor. Nesneye yönelimli programlamada, sonradan kullanılabilecek genel nesneler (Object) oluşturulması idealdir (Sınıflar). Profesyonel programlamada, devamlı büyüyen havuzda bulunan nesnelere ulaşılarak, bu nesneler tekrar kullanılabilir (Sınıf kütüphaneleri). Standart sınıf kütüphaneleri (Giriş/Çıkış, Grafik vb.) oluşturulmuştur. Bunlar programların içine katılırlar.<br />
Uzaktaki bir sistemde bulunan nesnelere Java programları Internet üzerinden kolayca ulaşabilirler.Sun firmasının vizyonu : Programların tamamının lokal bilgisayarda bulunmaması, gerekli parçacıklarına ihtiyaç halinde internet üzerinden erişilmesi. Sun firmasının bu vizyonunun gerçek olup olmayacağını göreceğiz&#8230;<br />
3. Yorumlayıcılı &amp; Hızlı<br />
Java programları direkt işlemci tarafından yorumlanmaz. Özel bir program tarafından yorumlanırlar (Yorumlayıcı = Interpreter ).<br />
Bunun avantaj ve dezavantajları vardır : Programı geliştirirken bazı adımlardan kurtulursunuz. Örneğin bazı program parçacıklarına bağlantı kurmaktan (Link). Dezavantajı ise tüm desteklemelere rağmen, programın çalışmasının yavaş oluşu.<br />
Sun firması bir ara katman oluşturdu. Java bir önyorumlayıcı tarafından byte koduna (bytecode) çevrilir. Çok büyük avantaj olan, bazı küçük değiştirmelerde derleyemeye gerek kalmaması, bununla yok oluyor.<br />
Fakat bu &#8220;bytecode&#8221; makina diline çok yakındır. Bundan dolayıdır ki çok hızlı bir kod oluşturulmuş oluyor. Bu arada &#8220;Just-in-Time&#8221; Compiler lar &#8220;bytecode&#8221; u gerçek makina koduna çeviriyorlar. Böylece hız 10 kat (hatta daha fazla) artıyor.<br />
Sun firmasının geliştireceği özel &#8220;Java işlemcileri&#8221; kapıda. Bunlar Java programları direkt çalıştıracaklar.<br />
4. Sağlam &amp; Güvenilir<br />
Derleyici (Compiler) ve yorumlayıcı (Interpreter) kombinasyonun başka bir yönden avantajları var. Ön derleyici tip (ve buna benzer) hataları kontrol ederken, yorumlayıcı hataları yakalar ve gereğini yapar. En kötü ihtimalle, derlenmiş bir program çöker.<br />
Yorumlayıcı, yabancı verilere ulaşılmasını engeller. C++ &#8216;taki bu özellik kaldırmış.<br />
Gerçekten Java güvenli bir programlama dili ( Hiç bir şey %100 güvenli değildir. Günümüzde kredi kartı üçkağıtçılığı yapılmasına rağmen halen insanlar hal kredi kartlarını internet üzerinden kullanıyorlar. Niye Java %100 güvenilir olsun ki &#8230;.)<br />
5. Platform bağımsız &amp; Taşınabilir<br />
Burada program geliştiricilerinin bir rüyası gerçekleşiyor:Herkes farklı işlemcilerde ve işletim sistemlerindeki problemi bilir. Birisinde çalışır diğerinde çalışmaz ve bu geliştiricilerin kabusudur ( Düşünün ki 10 tane video sistemi var ). Derleyici burada devreye girer ve programı &#8220;bytecode&#8221; çevirir. Bu kod tamamen platform bağımsızdır ve tüm işlemcilerde çalışır ( İnşallah )<br />
Bir Java programı, hiçbir değişiklik yapılmadan, desteklenen tüm sistemlerde çalışır.<br />
Ayrıca C++ &#8216;da bazı belirsizlik arz eden tanımlar temizlenmiş. Bu tanımlar değişik sistem ve derleyicilerde, değişik biçimlerde kabul ediliyorlardı. Örneğin C++ &#8216;da hiçbir zaman bir tamsayının (integer) kaç byte olduğu bilinemiyordu. Java&#8217;da bir tamsayı herzaman (Hangi sistemde olursa olsun ) 4 Byte dır.<br />
6. Multithread &amp; Dinamik<br />
Modern bir programda bir çok işlem aynı zamanda olur. Bu özelliğe &#8220;multithread&#8221; deniyor (Buna uygun bir türkçe kelime bulamadım). Java bu tür programlar geliştirenlere, özel fonksiyonlar sunuyor ki, geliştiriciler programın asıl amacına konsantre olsunlar.<br />
Bazı düzenlemelerden dolayı Java, C++ &#8216;dan daha dinamiktir. Sınıflar (Class) ve Nesneler (Object) arasındaki ilişkiler katı bir kural ile bağlı değildirler. İleriki safhalarda değiştirilmesi çok basittir. ( Bu da yorumlayıcı sayesindedir)</b></div>

]]></content:encoded>
			<category domain="https://hackturk.net/forumdisplay.php?f=221">Java ve JavaScript</category>
			<dc:creator>MidNight</dc:creator>
			<guid isPermaLink="true">https://hackturk.net/showthread.php?t=67946</guid>
		</item>
		<item>
			<title>3000 Java Script in one file</title>
			<link>https://hackturk.net/showthread.php?t=60698&amp;goto=newpost</link>
			<pubDate>Thu, 03 Aug 2006 17:21:05 GMT</pubDate>
			<description />
			<content:encoded><![CDATA[<div>Description:<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Kod:</div>
	<hr /><code class="bbcode_code">Title: Alert Button<br />
Details: 0.50 KB * Uploaded June 21 1997<br />
Description: This is probably the simpliest Button JavaScript. Copy 4 lines of HTML into your document and you have a button alert! The button can have different words on it and the message can also be customized.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Apologize E-Mail<br />
Details: 0.74 KB * Uploaded June 21 1997<br />
Description: This script, when activated, makes the user send an apologetic e-mail - whether they like it or not! Very funny, but has no real use.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Button Link<br />
Contributor: Sven David Hildebrandt (shildebr@online.no)<br />
Contributor URL: <a href="http://home.hia.no/~sdhild99" target="_blank" rel="nofollow">http://home.hia.no/~sdhild99</a><br />
Details: 0.91 KB * Uploaded January 10 2001<br />
Description: This short script will turn an ordinary button into a link to any page. Easy!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Check All<br />
Details: 1.47 KB * Uploaded June 30 2000<br />
Description: Dynamically checks and unchecks all the checkboxes in a form when a button is clicked. Much easier than manually hard-coding the checkbox names, for sure. Updated to only require one button to check and uncheck all boxes.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Click to Submit<br />
Contributor: Shawn Hafen (shafen@mail.com)<br />
Contributor URL: <a href="http://shafen0.tripod.com/index.html" target="_blank" rel="nofollow">http://shafen0.tripod.com/index.html</a><br />
Details: 1.09 KB * Uploaded December 5 2000<br />
Description: Prevent the Return key from accidentally submitting a form. The user now MUST click on the submit button. Great!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Directional Buttons<br />
Details: 0.53 KB * Uploaded June 21 1997<br />
Description: This effect is practically unused. 6 lines of HTML give you back and forward buttons that act exactly like the ones in your web browser. This script is best used in frames where one frame is the 'menu' - It makes your users feel more secure when they know they can go back.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: E-Mail Buttons<br />
Details: 0.70 KB * Uploaded June 21 1997<br />
Description: This effect, however, is over-used. A JavaScript button will bring up an E-Mail Window for your users. You can also include a predefined subject if you so decide. Both methods are demonstrated.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Fading Button<br />
Contributor: Aidan Samuel (emmaster@yahoo.com)<br />
Contributor URL: <a href="http://www.geocities.com/emmaster/" target="_blank" rel="nofollow">http://www.geocities.com/emmaster/</a><br />
Details: 1.46 KB * Uploaded January 29 2001<br />
Description: (Internet Explorer Only) Move your mouse over the button and watch it fade to another color and then fade back to original color once you move your mouse off. The message on the button will even change after you click on it!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Headliner<br />
Contributor: Jan Pijnacker (Jan_P@dds.nl)<br />
Details: 5.69 KB * Uploaded February 22 1998<br />
Description: When you need to present information on your site, you should consider this script. Appropriately named the Headliner, it presents a number of messages to your visitors in many different formats including a simple scroll, typewriter, expand, and just static text. Each message when clicked can take the visitor to a different URL! This script is really great.... Just check it out!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Image Button<br />
Contributor: CodeLifter.com (support@codelifter.com)<br />
Contributor URL: <a href="http://www.codelifter.com" target="_blank" rel="nofollow">http://www.codelifter.com</a><br />
Details: 1.83 KB * Uploaded January 17 2001<br />
Description: Easily create active buttons with any image. Repositions image when your mouse passes over it and moves again when clicked on. Easy!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Mr. Push Me!<br />
Details: 2.96 KB * Uploaded June 21 1997<br />
Description: Let JavaScript introduce you to the increasingly popular Mr. Push Me! Mr. Push doesn't mind the occassional push, but watch out if you over do it!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Pulldown Menu<br />
Details: 1.23 KB * Uploaded June 21 1997<br />
Description: Use JavaScript to help your visitors dynamically 'surf' your page. They simply use the pulldown menu to select a destination and then click Go! and they're there! This script also supports an endless number of destinations. Just copy the template and fill it in accordingly.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Random Link Generator<br />
Details: 0.99 KB * Uploaded June 21 1997<br />
Description: Are you feeling, I don't know.... A little random? Then check out this random link generator! It randomly selects a URL from a pre-determined list and sends the user there!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Subject E-Mail<br />
Details: 0.57 * Uploaded December 4 1997<br />
Description: Let your visitors send you e-mail with a predetermined subject!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Textarea Alert<br />
Details: 0.83 KB * Uploaded June 21 1997<br />
Description: Use JavaScript to alert your user with the contents of a text area! This also serves little purpose in the real world, but nonetheless is a great example of JavaScript. Type something in the box and hit 'Alert Me!'<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Up &amp; Down Box<br />
Details: 0.45 KB * Uploaded January 7 2000<br />
Description: Allows the user to increase and decrease the value in a textbox by clicking up and down buttons. Useful if you would like to allow the user to quickly modify a value in your form. A short script too, just a few lines.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Window Position<br />
Details: 1.25 KB * Uploaded July 24 1998<br />
Description: Do you not like where window.open() opens your new windows? Using this JavaScript, you can actually have the new window open wherever you want! Look at our example to see what we mean! Really neat!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Window Sizer<br />
Details: 2.79 KB * Uploaded June 21 1997<br />
Description: This JavaScript shows you different window dimensions. It helps you to customize your web pages with the dimensions that best compliment your web site.<br />
Title: Alien Spacecraft<br />
Contributor: Brian Gosselin (bgaudiodr@aol.com)<br />
Contributor URL: <a href="http://www.bgaudiodr.iwarp.com" target="_blank" rel="nofollow">http://www.bgaudiodr.iwarp.com</a><br />
Details: 2.62 KB * Uploaded June 7 2000<br />
Description: An alien spacecraft hovers around the background of the page using JavaScript and DHTML. Best used with a space background. Cool!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Astronaut<br />
Contributor: Viswanathan Manohar (manohar_v@yahoo.com)<br />
Contributor URL: <a href="http://www.geocities.com/manohar_v" target="_blank" rel="nofollow">http://www.geocities.com/manohar_v</a><br />
Details: 3.03 KB * Uploaded March 21 2000<br />
Description: Watch as the astronaut floats around in space. His random movements over the background of moving stars gives the perception of space travel. Wow!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Background Changer<br />
Contributor: Mark Whitnell (mwhitnel@southeast.net)<br />
Contributor URL: <a href="http://users.leading.net/~mwhitnel" target="_blank" rel="nofollow">http://users.leading.net/~mwhitnel</a><br />
Details: 1.75 KB * Uploaded January 10 2000<br />
Description: (Internet Explorer Only) Changes the page's background to each of the images on the page as you touch them. The background returns to white when you move your cursor off the image.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Ball Drop<br />
Contributor: Dragos Saracu (smardoi@yahoo.com)<br />
Details: 3.46 KB * Uploaded October 17 2000<br />
Description: Click anywhere on the page and a ball will drop from the cursor and rebound several times based on gravity. Updated to be WC3 DOM1 cross browser compatible!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: BG Scroller<br />
Contributor: Roy Sinclair (roysinclair@email.msn.com)<br />
Details: 0.72 KB * Uploaded July 25 2000<br />
Description: The background image is actually scrolled on the page. Wow!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Blinker<br />
Details: 1.01 KB * Uploaded June 21 1997<br />
Description: This script allow you to quickly blink the background. With a click of a button, the background changes from white to blue and back several times to return to white.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Bouncing Image<br />
Contributor: Justin Arruda (JArruda@mindspring.com)<br />
Details: 2.22 KB * Uploaded January 12 2001<br />
Description: Randomly bounces an image, or anything within a DIV, across the page. Click on the image to start and stop it from moving. Cool!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Cell BG Changer<br />
Contributor: Chris Chopping (scripts@site4sure.com)<br />
Contributor URL: <a href="http://www.site4sure.com" target="_blank" rel="nofollow">http://www.site4sure.com</a><br />
Details: 1.60 KB * Uploaded October 2 2000<br />
Description: (Internet Explorer Only) Changes the background color of a table's TD cell and the mouse cursor to a hand when you hover over the cell. And, clicking acts like a normal link.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Color Adjuster<br />
Contributor: Dion (yobo42@hotmail.com)<br />
Contributor URL: <a href="http://www.iinet.net.au/~biab/" target="_blank" rel="nofollow">http://www.iinet.net.au/~biab/</a><br />
Details: 2.28 KB * Uploaded October 7 1999<br />
Description: Allows for the fine tuning of the window's background color via red, green, and blue color buttons. Click a button to change the color value manually, or use the '&gt;' and '&lt;' to change the amount of that color in the background&quot;.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Color Chooser<br />
Contributor: Edward Kodgis II (eddiaka@hotmail.com)<br />
Contributor URL: <a href="http://members.spree.com/entertainment/squeesoft/" target="_blank" rel="nofollow">http://members.spree.com/entertainment/squeesoft/</a><br />
Details: 7.96 KB * Uploaded December 26 2000<br />
Description: (Internet Explorer Only) Choose background and foreground colors by directly entering the amount of red, green or blue. Allows you to increment or decrement using the &quot; + &quot; or &quot; - &quot; buttons also. Easy!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Color Table<br />
Details: 3.43 KB * Uploaded June 21 1997<br />
Description: JavaScript helps you manipulate the background of the document. Either choose the color you want by its name, or create a unique color by using the &quot;+&quot; and &quot;-&quot; Red, Green, and Blue buttons. A really neat effect.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Color Wheel<br />
Contributor: Eric Stremming (estremming@hotmail.com)<br />
Contributor URL: <a href="http://www.geocities.com/SunsetStrip/Club/5970" target="_blank" rel="nofollow">http://www.geocities.com/SunsetStrip/Club/5970</a><br />
Details: 1.55 KB * Uploaded May 1 1998<br />
Description: This JavaScript will change the background from one color to the next for each of the 10 colors then it starts the loop over again! There is also an On/Off button to let you start and stop the JavaScript.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Continuous Fader<br />
Details: 1.15 KB * Uploaded June 21 1997<br />
Description: This script, once started, will continiously loop the background color. Try it out! A really cool script! Short too!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Cursor Changer<br />
Details: 1.70 KB * Uploaded July 11 1997<br />
Description: Use your cursor to select your background color.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Dual Scroller<br />
Details: 2.32 KB * Uploaded February 7 2001<br />
Description: Scrolls HTML elements within a DIV. A version of the HTML Scroller modified to display a DIV on both the left and right side of the window for both IE and Netscape.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Fade In<br />
Contributor: Fred S. Tucker (Slurpie_Tucker@yahoo.com)<br />
Contributor URL: <a href="http://members.tripod.com/~Slurpies_Page" target="_blank" rel="nofollow">http://members.tripod.com/~Slurpies_Page</a><br />
Details: 1.56 KB * Uploaded February 15 1998<br />
Description: Could you use an eye-catching introduction to your website? Check our this JavaScript coding that will do just that. It loads a blank screen, fades the background, and then brings you to the destination page. Check it out! It's some great JavaScripting!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Fireworks<br />
Contributor: Kurt Grigg (kurt.grigg@virgin.net)<br />
Contributor URL: <a href="http://freespace.virgin.net/kurt.grigg" target="_blank" rel="nofollow">http://freespace.virgin.net/kurt.grigg</a><br />
Details: 5.76 KB * Uploaded June 8 2000<br />
Description: Produces a multi-colored fireworks display as the background of the page. Works in both Netscape and Internet Explorer.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Floating Hearts<br />
Contributor: Homer (homer_adm@yahoo.it)<br />
Contributor URL: <a href="http://start.at/the_simpsons" target="_blank" rel="nofollow">http://start.at/the_simpsons</a><br />
Details: 4.23 KB * Uploaded February 14 2000<br />
Description: Celebrate Valentine's day on your web site with a dozen hearts floating randomly around the page. (A Modified version of the Snow script).<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Full Size Image<br />
Contributor: Eddie Traversa (psych3@primus.com.au)<br />
Contributor URL: <a href="http://nirvana.media3.net" target="_blank" rel="nofollow">http://nirvana.media3.net</a><br />
Details: 3.71 KB * Uploaded November 6 2000<br />
Description: Resizes any image to fit the current dimensions of the browser window. Works best with high resolution images but works with any image. Awesome!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: HTML Scroller<br />
Contributor: Bruce W.Anderson (appletlib@about.com)<br />
Contributor URL: <a href="http://appletlib.tripod.com/dhtml/elevator.html" target="_blank" rel="nofollow">http://appletlib.tripod.com/dhtml/elevator.html</a><br />
Details: 2.10 KB * Uploaded October 26 2000<br />
Description: Scrolls HTML elements within a DIV. Can be modified to scroll vertically or horizontally. Amazing!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Link Colors<br />
Details: 2.45 KB * Uploaded June 21 1997<br />
Description: With every new letter that you touch, JavaScript tells the computer to give the document a new background color. Kind of cool.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: List Changer<br />
Details: 1.23 KB * Uploaded June 21 1997<br />
Description: This is a very simple background changer. It just takes the selected value from the list and makes that the background color.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Logo fader<br />
Contributor: Bob Simpson (webmaster@maryjanebrown.net)<br />
Contributor URL: <a href="http://www.maryjanebrown.net/webmaster" target="_blank" rel="nofollow">http://www.maryjanebrown.net/webmaster</a><br />
Details: 4.44 KB * Uploaded October 20 2000<br />
Description: Fade any image horizontally and vertically. Can be positioned anywhere on the page. Awesome!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Matrix<br />
Contributor: Matt Lewis (matt999_999@yahoo.com)<br />
Details: 2.61 KB * Uploaded November 1 2000<br />
Description: (Internet Explorer Only) Simulate the Matrix by choosing one of the links. The window closes after the whole string is printed. Incredible!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Menu Sliding Image<br />
Contributor: Daniel Dhillon (daniel@dhillon.com)<br />
Contributor URL: <a href="http://www.daniel.dhillon.com" target="_blank" rel="nofollow">http://www.daniel.dhillon.com</a><br />
Details: 3.79 KB * Uploaded October 31 2000<br />
Description: (Internet Explorer Only) Provides a navigation menu with a moving image behind the menu!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Mouse Fireworks<br />
Contributor: Matt Gabbert (mgabbert@usrtoday.com)<br />
Contributor URL: <a href="http://www.nolag.com" target="_blank" rel="nofollow">http://www.nolag.com</a><br />
Details: 5.96 KB * Uploaded March 14 2000<br />
Description: (JavaScript 1.2) With each click of the mouse a flurry of fireworks explodes from that spot on the page. You may also use your own images if you want. Great!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Particle Field<br />
Contributor: Joe Lard (darg36@home.com)<br />
Contributor URL: <a href="http://members.home.net/darg36" target="_blank" rel="nofollow">http://members.home.net/darg36</a><br />
Details: 6.50 KB * Uploaded December 14 2000<br />
Description: Illustrates movement of stars (or snow) depending on the direction of the mouse. Awesome!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Random Background<br />
Details: 2.00 KB * Uploaded June 21 1997<br />
Description: Get a random background color with the touch of a button. This script uses 15 pre-determined background colors and then randomly chooses one. This is a great effect if you know what background colors don't interfere with the text on your page. Then, you can make them the 15 pre-determined background colors.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Random Colors<br />
Details: 1.27 KB * Uploaded June 21 1997<br />
Description: Every times a visitor comes to a page with this script in effect, they get a different foreground and background color. However, occassionally you do get a background and foreground color that makes your text unreadable.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Random Images<br />
Details: 2.38 KB * Uploaded June 21 1997<br />
Description: As an alternative to background colors and random background colors, JavaScript allows you to have random background images. Just take a look at the background of this page then hit reload. Notice anything? Ah, chalk another one up to JavaScript.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Rain<br />
Contributor: Matthew Musgrove ( <a href="mailto:muskrat@lvnworth.com">muskrat@lvnworth.com</a>)<br />
Contributor URL: <a href="http://free.prohosting.com/~musgrove" target="_blank" rel="nofollow">http://free.prohosting.com/~musgrove</a><br />
Details: 3.14 KB * Uploaded January 19 2000<br />
Description: (Version 4.0+ Browsers) Appears as if it is raining on your web page, wow! The effect is accomplished by using DHTML in layers. Clever! As an added plus, you can easily customize the number of raindrops and how fast they fall.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Rainbow Fade<br />
Contributor: Jenny Lam (tabiko@sprint.ca)<br />
Contributor URL: <a href="http://www.geocities.com/Tokyo/Ginza/3379" target="_blank" rel="nofollow">http://www.geocities.com/Tokyo/Ginza/3379</a><br />
Details: 2.05 KB * Uploaded May 1 1998<br />
Description: That was another way to get your visitor's attention - with a rainbow fade! Just take a look! It's neat!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Roulette<br />
Contributor: Michael Tartaglia (stonedstan@hotmail.com)<br />
Contributor URL: <a href="http://www.geocities.com/SiliconValley/Horizon/5235" target="_blank" rel="nofollow">http://www.geocities.com/SiliconValley/Horizon/5235</a><br />
Details: 3.67 KB * Uploaded December 4 1998<br />
Description: Select a new background color on this roulette wheel! Stop each wheel and hit &quot;view&quot; to see that background color wheel combination! Cool!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Shake Screen<br />
Details: 1.09 KB * Uploaded June 10 1999<br />
Description: California has earthquakes, and so does JavaScript1.2 ! This short JavaScript code will actually shake your browser window by using the moveBy() function, somewhat like a web browser earthquake! Not entirely useful, but neat anyways.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Snow<br />
Contributor: Altan (snow@altan.hr)<br />
Contributor URL: <a href="http://www.altan.hr/snow" target="_blank" rel="nofollow">http://www.altan.hr/snow</a><br />
Details: 3.39 KB * Uploaded October 20 1999<br />
Description: Put some JavaScript-powered snow on your web site! Dozens of snowflakes carelessly drift back and forth as they float down the browser window. You can even adjust the speed that the snowflakes move. Definitely a cool effect.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Sound<br />
Contributor: Kipp Shinabarger (kipps@bigfoot.com)<br />
Details: 0.81 KB * Uploaded April 2 1998<br />
Description: Due to the different nature that Netscape and other browsers use a background sound, getting it to work for your visitors can be difficult unless you use this script. It will determine which browser they have and print the background sound command correctly for that browser! Very cool!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Space Trip<br />
Contributor: Kurt Grigg (kurt.grigg@virgin.net)<br />
Contributor URL: <a href="http://website.lineone.net/~kurt.grigg/javascript" target="_blank" rel="nofollow">http://website.lineone.net/~kurt.grigg/javascript</a><br />
Details: 3.79 KB * Uploaded January 31 2001<br />
Description: Travel through space with this cool background effect. Check it out!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Star Field<br />
Contributor: Brian Gosselin (bgaudiodr@aol.com)<br />
Contributor URL: <a href="http://bgaudiodr.iwarp.com" target="_blank" rel="nofollow">http://bgaudiodr.iwarp.com</a><br />
Details: 3.33 KB * Uploaded July 28 2000<br />
Description: Appears as if you are flying through a star field in space. Works in both browsers.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Stubborn Image<br />
Contributor: Kien Caoxuan (kcaoxuan@caoxuan.com)<br />
Contributor URL: <a href="http://www.caoxuan.com/" target="_blank" rel="nofollow">http://www.caoxuan.com/</a><br />
Details: 2.28 KB * Uploaded November 9 2000<br />
Description: Chase the image across the screen with your mouse, but you will never catch it. Entertaining!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Text Blinker<br />
Details: 1.31 KB * Uploaded March 27 1999<br />
Description: JavaScript 1.2 (found in version 4.0 browsers) provides this neat effect: the text changes color every second. Now this is a great way to draw attention without using the annoying BLINK tag.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Type-A-Color<br />
Contributor: Eric Stremming (estremming@hotmail.com)<br />
Contributor URL: <a href="http://www.geocities.com/SunsetStrip/Club/5970" target="_blank" rel="nofollow">http://www.geocities.com/SunsetStrip/Club/5970</a><br />
Details: 1.06 KB * Uploaded November 22 1997<br />
Description: This script is another neat way to spice up your webpage with JavaScript. Visitors just type their favorite color in the box and click a button. The background is instantly changed to their favorite color!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: 5 Function Calculator<br />
Details: 1.72 KB * Uploaded April 16 1998<br />
Description: Here is a really simple JavaScript calculator - with just 5 functions! (Add, subtract, multiply, divide, and power) This example can help you see how JavaScript evaluates math functions! Check it out!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Ad Calculator<br />
Details: 2.09 KB * Uploaded August 27 1999<br />
Description: Selling ad banners has just got easier! Just enter two fields of the three fields of information, such as the total cost, CPM (cost per thousand impressions), and exposures (number of ads shown), and the calculator will solve the last field for you.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Adjusted Cost Base<br />
Contributor: Gordon Coverley (gordonc@mondenet.com)<br />
Details: 2.84 KB * Uploaded August 31 2000<br />
Description: Computes the average cost base (or cost per share) for a series of stock or mutual fund purchases. When a sale is entered, the capital gain (or loss) is calculated.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Advanced Calculator<br />
Details: 4.05 KB * Uploaded June 21 1997<br />
Description: This is a very comprehensive JavaScript calculator. Although the source code can get quite confusing, it works.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Age Calculator<br />
Contributor: Dev Pragad (devpragad@yahoo.com)<br />
Contributor URL: <a href="http://www.geocities.com/devpragad" target="_blank" rel="nofollow">http://www.geocities.com/devpragad</a><br />
Details: 10.86 KB * Uploaded December 8 2000<br />
Description: Just enter the birthday you wish to track and JavaScript will display the person's age, down to the second. Displays your age along with the day you were born. Cool!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Airport Calculator<br />
Contributor:Joe Josey (jjosey@jomist.net)<br />
Contributor URL: <a href="http://www.foxberry.net/jjosey" target="_blank" rel="nofollow">http://www.foxberry.net/jjosey</a><br />
Details: 18.7 KB * Uploaded July 24 1998<br />
Description: This useful JavaScript calculator will tell you the degrees, Nautical Miles, Statute Miles, and Kilometers between your originating and destination airports. It's got a built-in database of over 150 of the most traveled airports! Very neat! I've given a copy to everyone I know who fly often.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Amortization<br />
Contributor: Brian Cordeau (stdbsc13@shsu.edu)<br />
Contributor URL: <a href="http://www.shsu.edu/~stdbsc13" target="_blank" rel="nofollow">http://www.shsu.edu/~stdbsc13</a><br />
Details: 7.76 KB * Uploaded November 27 2000<br />
Description: Calculate monthly mortgage payments quickly and easily. Displays an Amortization Table. Great!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Area Calculator<br />
Contributor: Michael Hundt (mchundt@nglic.com)<br />
Contributor URL: <a href="http://www.cinet.net/~mhundt/mystuff.htm" target="_blank" rel="nofollow">http://www.cinet.net/~mhundt/mystuff.htm</a><br />
Details: 2.01 KB * Uploaded May 23 2000<br />
Description: A simple calculator to determine the area of a square, triangle, rectangle, circle or sphere.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Armor Penetration Calculator<br />
Details: 5.69 KB * Uploaded July 7 1997<br />
Description: JavaScript can help you figure armor penetration.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Atmosphere Calculator<br />
Details: 10.8 KB * Uploaded July 7 1997<br />
Description: JavaScript can help you do atmospheric computations.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: BAC Calculator<br />
Contributor: James P. Dildine (jpd@wlsmail.com)<br />
Contributor URL: <a href="http://www.mste.uiuc.edu/dildine" target="_blank" rel="nofollow">http://www.mste.uiuc.edu/dildine</a><br />
Details: 2.67 KB * Uploaded December 14 1999<br />
Description: Calculates an individual's blood alcohol content based on the quantity of beverages consumed, the alcohol percentage in each drink, the person's weight, and the time spent consuming the drink.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Basic Calculator<br />
Details: 1.89 KB * Uploaded June 21 1997<br />
Description: This is a very simple calculator, all done with javascript. Just click the numbers and the operators and use the &quot;=&quot; button to calculate! This is a neat example of the LIMITLESS powers of JavaScript.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Beat Counter<br />
Contributor: Derek Chilcote-Bacco (dac-b@usa.net)<br />
Contributor URL: <a href="http://www.mixed.net" target="_blank" rel="nofollow">http://www.mixed.net</a><br />
Details: 3.00 KB * Uploaded March 3 2000<br />
Description: A manual Beats per Minute (BPM) counter for DJs. Counts the beats-per-minute of a song by tapping a key or the mouse to the beat of a song. Simply click on the page to start the time then tap any key to the beat. Cool!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Binary Converter<br />
Contributor: Cyanide_7 (leo7278@hotmail.com)<br />
Details: 1.10 KB * Uploaded June 23 1999<br />
Description: Computers read and store the decimal numbers we see everyday (1, 5, 10, 100, etc.) as binary numbers, a number of just 1's and 0's. All that you do is enter the decimal number and the script will output the binary equivalent! It is a binary converter!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Body Calculator<br />
Details: 6.35 KB * Uploaded July 7 1997<br />
Description: I like this script because it uses some very ingenious JavaScripting techniques. into the process, it analyzses a persons information (sex, height, weight) and responds with a comment message.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Body Mass Index<br />
Contributor: Marat Rikelman (rikelman@bellsouth.net)<br />
Details: 2.56 KB * Uploaded June 16 1999<br />
Description: Just enter your height and your weight, and JavaScript can use a formula created by the Panel on Energy, Obesity, and Body Weight Standards to figure out your Body Mass Index. This index classifies you into one of several categories, from underweight to desirable to obese.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Bubble Sort<br />
Contributor: David Sturgeon (Sturgeon.Auto@gsln02e.et.gs.com)<br />
Contributor URL: <a href="http://www.doc.ic.ac.uk/~dms99" target="_blank" rel="nofollow">http://www.doc.ic.ac.uk/~dms99</a><br />
Details: 1.92 KB * Uploaded July 6 2000<br />
Description: Sorts using the bubbleSort method. Simply enter a list of numbers into the text box and click sort.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Calorie Calculator<br />
Details: 2.40 KB * Uploaded July 7 1997<br />
Description: JavaScript can help you figure how many calories you have burned.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Circle Solver<br />
Contributor: Chris Brown<br />
Contributor URL: <a href="http://www.geocities.com/BourbonStreet/3843" target="_blank" rel="nofollow">http://www.geocities.com/BourbonStreet/3843</a><br />
Details: 2.12 KB * Uploaded May 21 1999<br />
Description: Can't remember the formulas for the other two parts of a circle (area, diameter, or circumference) when you only know one? To the rescue is Circle Solver. Enter the circle area, diameter, or circumference and it will solve for the other two! Great!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Circumference Calculator<br />
Contributor: Andrew Jones (andrew.jones@net.ntl.com)<br />
Contributor URL: <a href="http://www.freespeech.org/andyjones" target="_blank" rel="nofollow">http://www.freespeech.org/andyjones</a><br />
Details: 1.01 KB * Uploaded December 4 1998<br />
Description: JavaScript can help you figure the circumference of a circle when you enter the radius.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Compound Interest<br />
Contributor: Paul Hartmann (guycroft@clara.co.uk)<br />
Contributor URL: <a href="http://www.guycroft.clara.net" target="_blank" rel="nofollow">http://www.guycroft.clara.net</a><br />
Details: 2.02 KB * Uploaded February 12 2001<br />
Description: Use JavaScript to calculate compund interest. Warns about doubtful data.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Cosine Calculator<br />
Contributor: TJay Tipps (iam4pacers@webtv.net)<br />
Details: 1.19 KB * Uploaded March 10 1999<br />
Description: Enter the adjacent and hypotenuse angle values and JavaScript will solve the cosine angle for you. Neat!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Date Difference<br />
Contributor: Ronnie T. Moore, Editor<br />
Contributor URL: JavaScript Source Code 3000<br />
Details: 5.13 KB * Uploaded March 20 2000<br />
Description: Enter two dates (including the time!) and this script will display the number of weeks, days, hours, minutes, and seconds between the two. The seconds field is optional, too. For an example, try entering your birthdate and compare it to today's date.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Day of Week<br />
Contributor: Peter Bonnett (PeterBonnett@hotmail.com)<br />
Contributor URL: <a href="http://uk.geocities.com/peterbonnett" target="_blank" rel="nofollow">http://uk.geocities.com/peterbonnett</a><br />
Details: 6.84 KB * Uploaded March 5 2001<br />
Description: Calculate what day of the week a given date was. It works for leap yYears and also tells you whether the date is in the past future or today.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Distance Speed Time<br />
Contributor: Gary Nicholson (nicholsongary@hotmail.com)<br />
Contributor URL: <a href="http://homepages.ihug.co.nz/~gazzanic/" target="_blank" rel="nofollow">http://homepages.ihug.co.nz/~gazzanic/</a><br />
Details: 8.56 KB * Uploaded November 2 2000<br />
Description: Calculate the time, distance, or speed given any two of the pieces of information. Convenient!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Download Calculator<br />
Details: 4.30 KB * Uploaded April 16 1998<br />
Description: This calculator will help you estimate how long it will take to download a file at any of a number of modem speeds. Try it out!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Graphing Function<br />
Contributor: Abraham I. (abraham_824@hotmail.com)<br />
Details: 2.60 KB * Uploaded November 22 2000<br />
Description: Enter the X-Y coordinates for a function and this script will give you the graphing formulas, including Formula, Slope, Y-intercept, Parallel and Perpendicular lines. Easy!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Driving Distance Calculator<br />
Details: 9.43 KB * Uploaded July 7 1997<br />
Description: Use JavaScript to estimate the driving distance between U.S. cities.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Expression Solver<br />
Details: 1.09 KB * Uploaded February 18 1999<br />
Description: Just enter a math expression (with +, -, *, and / signs) and this script will evaluate the expression for you. Who needs a calculator when you have JavaScript.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Field Depth Calculator<br />
Contributor: <a href="mailto:alistair@silverlight.co.uk">alistair@silverlight.co.uk</a> (alistair@silverlight.co.uk)<br />
Contributor URL: <a href="http://www.silverlight.co.uk" target="_blank" rel="nofollow">http://www.silverlight.co.uk</a><br />
Details: 4.00 KB * Uploaded August 15 2000<br />
Description: For all you photography enthusiasts out there, this script makes it a breeze to determine the field depth and amount that will be in focus in a photograph. Includes other measurements such as nearest and furthest points of focus, too.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Function Grapher<br />
Contributor: Stephane Gamondes (gamondes@hotmail.com)<br />
Contributor URL: <a href="http://www.multimania.com/gamondes" target="_blank" rel="nofollow">http://www.multimania.com/gamondes</a><br />
Details: 4.67 KB * Uploaded October 13 1999<br />
Description: Graphs any function you enter on the scale of your choice, assuming you use the correct JavaScript syntax. For example, to use Cos x, use Math.cos(x). Or, for x^2, use Math.pow(x, 2), etc.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: GPA Calculator<br />
Details: 4.19 KB * Uploaded June 21 1997<br />
Description: This is a very useful script to figure out your class GPA. Just enter the letter grade for each class.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Group Work<br />
Contributor: <a href="mailto:mistermidget@hotmail.com">mistermidget@hotmail.com</a> (mistermidget@hotmail.com)<br />
Details: 1.15 KB * Uploaded May 26 1999<br />
Description: Ever had to work with another person to complete a task? This calculator will tell you how long it would take two people to complete the task if you know how long it would take each person to complete the task individually. Neat!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Horsepower Calculator<br />
Contributor: Joel Lavarez<br />
Contributor URL: <a href="http://www.speed-online.com" target="_blank" rel="nofollow">http://www.speed-online.com</a><br />
Details: 3.85 KB * Uploaded December 4 1998<br />
Description: Enter your vehicle's quarter mile time (assuming you know it) and vehicle weight and this JavaScript program will display your car's estimated horsepower.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Human To Dog Years<br />
Details: 0.94 KB * Uploaded July 7 1997<br />
Description: This is a practically useless script. Convert your age to dog years. (Your age / 7) But, it's helpful for people beginning JavaScript to look at.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Income Calculator<br />
Contributor: Ashley Steele (ashleys@inetport.com)<br />
Details: 6.53 KB * Uploaded May 30 2000<br />
Description: Estimates your weekly, bi-weekly, monthly, and yearly income. Very useful when job hunting when offered an income per hour, month, or year. The tax bracket numbers are adjustable with each year's income tax levels.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Interest Calculator<br />
Details: 3.93 KB * Uploaded June 21 1997<br />
Description: Use JavaScript to find out just how much that new house or car is going to cost you each month. Enter values into the fields below to find out how much each monthly payment would be with the given number of payments, interest rate, and loan amount.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Kinetic Energy<br />
Contributor: David K (davidwkjr@hotmail.com)<br />
Details: 1.92 KB * Uploaded November 20 2000<br />
Description: Solve any of three variables in a Kinetic Energy equation using this script. Simply enter two of the three values and submit to find the value of the third variable. Neat!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Landscape Grapher<br />
Contributor: Mark Washburn (mawcowboyusa@netscape.net)<br />
Contributor URL: <a href="http://sites.netscape.net/mawcowboyusa/" target="_blank" rel="nofollow">http://sites.netscape.net/mawcowboyusa/</a><br />
Details: 4.07 KB * Uploaded October 27 1999<br />
Description: JavaScript 3D terrain grapher which creates virtual landscapes using three-dimensional fractal geometry, random numbers, and a simple mathematical formula. &quot;s&quot; indicates under sea-level. Just hit reload to get a new landscape.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Lap Time<br />
Contributor: Geoff Greer (gig0wiz@hotmail.com)<br />
Details: 1.48 KB * Uploaded May 17 2000<br />
Description: Calculates the average lap split time required to finish a race in the time you enter. Cool!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Leap Year Calculator<br />
Contributor: Anthony Louie<br />
Details: 3.68 KB * Uploaded February 29 2000<br />
Description: Is it a leap year? What about in 1900? Get your leap year facts straight with this leap year calculator. Just enter the year you are interested in and the script reports whether it is a leap year or not. Or, enter a range of years and JavaScript will display all the leap years in that range. Awesome!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: LCM and GCD<br />
Contributor: John T. Caranta III (caranta@netzero.net)<br />
Details: 1.72 KB * Uploaded December 28 2000<br />
Description: Calculate the Least Common Multiple and Greatest Common Divisor of two numbers using this short script. Neat!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Male Body Calculator<br />
Contributor: Seth Baker (sethgbaker@yahoo.com)<br />
Contributor URL: <a href="http://www.geocities.com/sethgbaker" target="_blank" rel="nofollow">http://www.geocities.com/sethgbaker</a><br />
Details: 1.84 KB * Uploaded May 12 2000<br />
Description: Calculates a man's ideal body measurements based on his wrist circumference.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Miles per Gallon<br />
Details: 1.86 KB * Uploaded September 22 1999<br />
Description: Computes the miles per gallon of your car via the miles traveled and the number of gallons used. Also, if you enter the cost per gallon and how many miles you drive a day, it will estimate your monthly and yearly gas expenses.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Money Counter<br />
Details: 3.12 KB * Uploaded October 19 1999<br />
Description: Enter the number of bills and coins and this script will calculate the total amount of money you have. All blank entries are ignored. Input field validation is also included -- try entering a non-digit into a field. Also, this script is a good demonstration of a JavaScript return function in use. Neat!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Multiply X By X Calculator<br />
Details: 0.98 KB * Uploaded June 21 1997<br />
Description: This is a very simple, very limited calculator that only does multiplication. This script is perfect if multiplication is all you are looking for.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Parabola Grapher<br />
Contributor: Andreas Verhoeven (ave2233@yahoo.com)<br />
Details: 3.10 KB * Uploaded April 6 2000<br />
Description: Enter a parabolic equation, like 5x^2 + 18x + 27 and this calculator will determine all the vital information about the graph. And, a rough graph of the curve is available. I wish I know about JavaScript back in high school....<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Paycheck Calculator<br />
Contributor: Dan Scott (dscott@wirepower.com)<br />
Contributor URL: <a href="http://www.wirepower.com" target="_blank" rel="nofollow">http://www.wirepower.com</a><br />
Details: 2.32 KB * Uploaded January 20 2000<br />
Description: Entering your pay rate and the number of hours you worked and optionally any overtime hours and pay rate, your own tax rate, and other deductions. Find out where your money comes from and where it's going.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Percent Calculator<br />
Contributor: Tom Richardson Jr. (gooftroop@geocities.com)<br />
Details: 1.57 KB * Uploaded February 26 1999<br />
Description: Don't waste another minute dealing with percent problems. This script will solve both of these for you, just enter the values! What a time-saver!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Percent of Increase<br />
Contributor: Joey Mornin (jmornin@gateway.net)<br />
Details: 1.17 KB * Uploaded February 4 2000<br />
Description: Enter two numbers and JavaScript will help you determine the percent of increase. This is a perfectly simple example of using a JavaScript return function. Check it out!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Periodic Table<br />
Contributor:Matthew Hoesch (mdih@msn.com)<br />
Details: 15.90 KB * Uploaded August 18 1998<br />
Description: Besides a very organized Periodic Table, this script will tell you lots of information about any periodic element you click on. Very neat!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Phone Bill<br />
Details: 2.04 KB * Uploaded July 3 1998<br />
Description: Does it ever bother you how much a long-distance phone call is going to cost, after you hung up? With this script, all you have to do is enter the amount per minute, and any initial amount, then click start when the call begins and see the total charge at any time! Save time, money, and learn JavaScript all with this script!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Phone Number Converter<br />
Contributor: Kevin Steffler (ksteff@ionsys.com)<br />
Contributor URL: <a href="http://web.ionsys.com/~ksteff" target="_blank" rel="nofollow">http://web.ionsys.com/~ksteff</a><br />
Details: 5.25 KB * Uploaded December 28 1998<br />
Description: Have you ever wondered if your phone number has a memorable text equivalent, like 555-HELP? Just type it in and this script will generate all possible combinations, just pick your favorite one and tell the world how to reach you.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Playoff Chart Maker<br />
Contributor: Tom McComb (mrtuba@tampabay.rr.com)<br />
Contributor URL: <a href="http://home.tampabay.rr.com/mrtuba" target="_blank" rel="nofollow">http://home.tampabay.rr.com/mrtuba</a><br />
Details: 5.23 KB * Uploaded January 26 2000<br />
Description: Enter the number of teams in your tournament and JavaScript will output the appropriate single-elimination playoff chart. Just print it out and fill it in to track your tournament. Great!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Pregnancy Calculator<br />
Contributor: Ronnie T. Moore, Editor<br />
Details: 5.17 KB * Uploaded March 13 2000<br />
Description: Enter the mother's pregnancy information into this calculator and JavaScript will provide an estimated conception date, birth due date, and an estimated current fetal age. Great for all those mothers-to-be!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Prime Number Calculator<br />
Details: 0.88 KB * Uploaded December 4 1998<br />
Description: Enter a number and JavaScript can instantly tell you if it is a prime number or not. I wish I had this little gem to help me in my math classes!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Pythagorean Theorem<br />
Details: 0.99 KB * Uploaded May 14 1999<br />
Description: One of geometry's most useful formulas, the Pythagorean Theorem, can be applied to the numbers you enter in JavaScript! Just enter 'A' and 'B' and the script solves for 'C.' Neat!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Quadratic Equation<br />
Contributor:Songzi Du (xdu1@iupui.edu)<br />
Contributor URL: <a href="http://members.tripod.com/~Songzidu/mainpageindex.html" target="_blank" rel="nofollow">http://members.tripod.com/~Songzidu/mainpageindex.html</a><br />
Details: 2.01 KB * Uploaded November 1 1998<br />
Description: Why didn't I have one of these during high school math? Just enter the coefficients for the quadratic 'Ax^2 + Bx + C = 0' equation and JavaScript will output the solutions (if they are not imaginary!). Neat!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Quadratic Solver<br />
Contributor: John Caranta (caranta@netzero.net)<br />
Details: 2.77 KB * Uploaded November 24 2000<br />
Description: Solves quadratic equations for inputted coefficients. Answers can be either real or complex. Awesome!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Radioactive Calculator<br />
Details: 1.37 KB * Uploaded July 7 1997<br />
Description: Use JavaScript to find how much radioactive material remains after a given time.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Random Distribution<br />
Contributor: Phil Pavlik (ppavlik@nmu.edu)<br />
Contributor URL: <a href="http://chemistry.nmu.edu/ppavlik/" target="_blank" rel="nofollow">http://chemistry.nmu.edu/ppavlik/</a><br />
Details: 3.13 KB * Uploaded December 15 2000<br />
Description: Generate normally distributed random numbers by entering a mean value and standard deviation. Uses the normal law of error to determine an events given probability. Neat!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: RGB Slider<br />
Contributor: Andrew Houser (houser@houserdesign.com)<br />
Contributor URL: <a href="http://www.houserdesign.com" target="_blank" rel="nofollow">http://www.houserdesign.com</a><br />
Details: 10.47 KB * Uploaded April 4 2000<br />
Description: Simple RGB to HEX color converter utilizing DHTML sliders. Amazing!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Room Size Calculator<br />
Details: 3.27 KB * Uploaded July 7 1997<br />
Description: Use JavaScript to find the approximate room size you'll need depending on your room setup and arrangement.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Round<br />
Details: 0.94 KB * Uploaded May 11 1999<br />
Description: A simple function to round a decimal number to any number of decimal places you want just by passing it different values. Neat! Very short code, too!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Running Calculator<br />
Contributor: Keith Jenci<br />
Contributor URL: <a href="http://www.geocities.com/ResearchTriangle/Campus/3835" target="_blank" rel="nofollow">http://www.geocities.com/ResearchTriangle/Campus/3835</a><br />
Details: 4.47 KB * Uploaded December 20 1999<br />
Description: Allows runners to calculate their time, distance covered, or pace by entering the other two values. Distance and pace can be converted between various measurements. A great 3-in-1 script for runners!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Savings Estimator<br />
Contributor: Michael C. Hundt (mchundt@nglic.com)<br />
Contributor URL: <a href="http://www.cinet.net/~mhundt/mystuff.htm" target="_blank" rel="nofollow">http://www.cinet.net/~mhundt/mystuff.htm</a><br />
Details: 2.32 KB * Uploaded September 24 1999<br />
Description: Enter how much you can afford to save each month, how long you can save this amount, and the interest rate you can get on your savings and this script will display your total savings.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Scientific Calculator<br />
Details: 4.63 KB * Uploaded July 7 1997<br />
Description: This is a very cool JavaScript calculator that does many advanced functions - cosine, sine, tangent, square root, exponents, etc. Very Cool!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Sine Calculator<br />
Contributor: TJay Tipps (iam4pacers@webtv.net)<br />
Details: 1.20 KB * Uploaded March 10 1999<br />
Description: Enter the opposite and hypotenuse angle values and JavaScript will solve the sine angle for you. Neat!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Square Root Calculator<br />
Contributor: Adam Hinz (ajhinz@zworg.com)<br />
Contributor URL: <a href="http://members.dencity.com/ajhinz" target="_blank" rel="nofollow">http://members.dencity.com/ajhinz</a><br />
Details: 1.36 KB * Uploaded June 13 2000<br />
Description: Allows you to find the value of a number squared or that number's square root. Easy!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Stock Calculator<br />
Details: 4.59 KB * Uploaded November 1 1999<br />
Description: Deciding when to buying and sell stocks is difficult enough - figuring the profit or loss from that trade shouldn't have to be. Just enter the number of shares, your purchase price, your selling price, and the commission fees for the trade and this script instantly figures your resulting profit or loss after commission fees.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Straight Distance<br />
Contributor: Jay Kimmel (jaykimmel@bigplanet.com)<br />
Contributor URL: <a href="http://www.jkimmel.com" target="_blank" rel="nofollow">http://www.jkimmel.com</a><br />
Details: 1.80 KB * Uploaded July 7 2000<br />
Description: Enter a coordinate pair for each the starting and ending points according to the Cartesian coodinate system. The script will calculate the straight line distance between the two points.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Tangent Calculator<br />
Contributor: TJay Tipps (iam4pacers@webtv.net)<br />
Details: 1.21 KB * Uploaded March 10 1999<br />
Description: Enter the opposite and adjacent angle values and JavaScript will solve the tangent angle for you. Neat!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Tax Calculator<br />
Details: 2.55 KB * Uploaded June 21 1997<br />
Description: JavaScript helps your to calculate the before and after tax prices for purchases. Very easy to use. Just put into the price, the tax, and hit compute! It's all figured for you!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Top Speed by RPM<br />
Contributor: Shai Peer (killerpoop@telocity.com)<br />
Contributor URL: <a href="http://shaipic.8m.com/" target="_blank" rel="nofollow">http://shaipic.8m.com/</a><br />
Details: 1.66 KB * Uploaded January 16 2001<br />
Description: Enter the diameter of the tire and the RPM value of the motor and the script will tell you the top speed without any weight on the Tires. Neat!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Wavelength Calculator<br />
Contributor: Jon Bronisz (webmaster@frequencyzone.com)<br />
Contributor URL: <a href="http://www.frequencyzone.com" target="_blank" rel="nofollow">http://www.frequencyzone.com</a><br />
Details: 1.41 KB * Uploaded August 21 2000<br />
Description: Assists ham radio operators in converting a frequency to its wavelength in feet or inches. Other uses include acoustic measurement and adjustment, microphone placement, room tuning, and speaker positioning.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Wind Chill Calculator<br />
Contributor: James P. Dildine (jpd@wlsmail.com)<br />
Contributor URL: <a href="http://www.mste.uiuc.edu/dildine" target="_blank" rel="nofollow">http://www.mste.uiuc.edu/dildine</a><br />
Details: 1.46 KB * Uploaded June 22 1999<br />
Description: Wind Chill is a mysterious and often misunderstood phenomenon. This script describes what the wind chill factor really is and offers a form to calculate the wind chill factor when given the air temperature and wind speed.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Windows Calculator<br />
Contributor: Steve Dulaney<br />
Contributor URL: <a href="http://www.hmhd.com/steve" target="_blank" rel="nofollow">http://www.hmhd.com/steve</a><br />
Details: 7.19 KB * Uploaded December 1 1999<br />
Description: Always been fond of the calculator within Microsoft Windows? This JavaScript mimics the Windows calculator in appearance and function. Everyone, including Macintosh computer users, can now their own Windows Calculator!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: World Population<br />
Details: 1.71 KB * Uploaded July 24 2000<br />
Description: Estimates the current world population based on US census data and the world growth rate. Not exactly precise, but neat anyways.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Cookie Calendar<br />
Contributor: Greg Quilop (web@queriousdesigns.com)<br />
Contributor URL: <a href="http://www.queriousdesigns.com" target="_blank" rel="nofollow">http://www.queriousdesigns.com</a><br />
Details: 9.18 KB * Uploaded February 16 2001<br />
Description: This calendar, written entirely in JavaScript, uses cookies to allow users to save information on specific dates. Includes daily and monthly summaries and a complete help file. Cookie Calendar works as its own program as well. Great!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Date Images<br />
Contributor: Jeff Harding (jbh@site-ations.com)<br />
Contributor URL: <a href="http://www.site-ations.com" target="_blank" rel="nofollow">http://www.site-ations.com</a><br />
Details: 2.28 KB * Uploaded August 29 2000<br />
Description: Displays the current date using images. This allows you to be more creative and use any images you want, such as images that match the color or theme of your site.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Date Menu<br />
Contributor: Ben McFarlin (mcfarlin@netscape.net)<br />
Contributor URL: <a href="http://sites.netscape.net/mcfarlin" target="_blank" rel="nofollow">http://sites.netscape.net/mcfarlin</a><br />
Details: 2.67 KB * Uploaded October 25 1999<br />
Description: This JavaScript uses the Date function to dynamically generate accurate dates for the pull-down menus. Each time the user selects a year or month, JavaScript gets the correct number of days in that month and updates the pull down menu. The script is Y2K compliant and also works for leap years. Cool!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Days Left<br />
Contributor: Justin Smith (jsmith@polbox.com)<br />
Details: 0.90 KB * Uploaded February 18 2000<br />
Description: Procrastinators everywhere, rejoice! If many of your projects end up being due on the first of the month, do you know how many days do you have left? This script calculates and displays the number of days (not weekdays) left in the current month in a snap. And, the script has no trouble with leap year or Y2K.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Dynamic Calendar<br />
Contributor: Nick Korosi (nfk2000@hotmail.com)<br />
Details: 7.06 KB * Uploaded December 27 1999<br />
Description: This calendar allows you to select a month and year and automatically display the a complete calendar for that month in Dynamic HTML. Great!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Monthly: Day Highlighted<br />
Contributor:Jason Miller (jsmiller@mines.edu)<br />
Contributor URL: <a href="http://magma.mines.edu/students/j/jsmiller" target="_blank" rel="nofollow">http://magma.mines.edu/students/j/jsmiller</a><br />
Details: 2.98 KB * Uploaded July 24 1998<br />
Description: This is a very interesting fascinating JavaScript calendar. It shows you the current month's calendar, and the current day is highlighted! A very neat effect - some great JavaScripting!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Monthly: Time - Day Highlighted<br />
Details: 2.72 KB * Uploaded June 21 1997<br />
Description: This JavaScript calendar shows users a calendar that also tells you when you entered the page. Also, the current day is highlighted.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Popup Date Picker<br />
Contributor: Kedar R. Bhave (softricks@hotmail.com)<br />
Contributor URL: <a href="http://www.softricks.com" target="_blank" rel="nofollow">http://www.softricks.com</a><br />
Details: 17.17 KB * Uploaded September 6 2000<br />
Description: Getting date input for your web site visitors and customers was never this easy! A popup window appears allowing the user to select a date simply by a clicking it. The user can navigate to previous and future dates, and the selected date is displayed in your form. Great! Uses a .js file so it's easy to re-use this code on your pages.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Quarterly Calendar<br />
Details: 2.49 KB * Uploaded June 21 1997<br />
Description: This is a very interesting &quot;pretty&quot; JavaScript calendar. It displays the current month, and the month prior and forthcoming on each side.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Season<br />
Contributor: Michael Mann (pres@manninc.com)<br />
Contributor URL: <a href="http://www.manninc.com/" target="_blank" rel="nofollow">http://www.manninc.com/</a><br />
Details: 1.24 KB * Uploaded March 12 2001<br />
Description: Display the current season and year as determined by the system clock. Easy!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Select-A-Month<br />
Contributor: Robert J. Patrick (rpatrick@mit.edu)<br />
Details: 5.31 KB * Uploaded February 15 1998<br />
Description: This script is a wonderful example of JavaScript at it's best. Simply select any month of any year, and JavaScript will &quot;build&quot; you the calendar for that month! It's great! Give it a try!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: US-Euro Calendar<br />
Contributor: Doug Lawson (dlawson@clark.net)<br />
Details: 18.57 KB * Uploaded November 15, 2000<br />
Description: A powerful calendar that allows you to scroll through the months. Displays monthly calendars in U.S. or Euro style, three months at a time. It even lets you define the holidays!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Year<br />
Details: 1.83 KB * Uploaded June 21 1997<br />
Description: Check out this script! See the whole year! A very neat effect - some great JavaScripting!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Yearly: Day Highlighted<br />
Details: 2.63 KB * Uploaded June 21 1997<br />
Description: Check out this script! See the whole year! Today is even highlighted! A very neat effect - some great JavaScripting!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Age Finder<br />
Contributor: Glub, Un-Inc.<br />
Details: 6.01 KB * Uploaded June 15 1999<br />
Description: Not only will this script tell you how many days, hours, minutes, and seconds old you are, it tells you how long until your next birthday!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Alarm Clock<br />
Contributor: John Caranta (caranta@netzero.net)<br />
Details: 5.28 KB * Uploaded December 7 2000<br />
Description: Set an alarm that will play any sound from your computer. You can even select a snooze time after it sounds. Awesome!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Bar Clock<br />
Contributor: Abraham I. (abraham_824@hotmail.com)<br />
Details: 3.07 KB * Uploaded November 16 2000<br />
Description: Display hours, minutes, and seconds in bars, also gives you hours, minutes, seconds, and complete time with AM, PM status. Great!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Binary Clock<br />
Contributor: Mark Lockwood (sy161e.net@namezero.com)<br />
Contributor URL: <a href="http://www.sy161e.net" target="_blank" rel="nofollow">http://www.sy161e.net</a><br />
Details: 2.43 KB * Uploaded September 15 2000<br />
Description: Ever seen binary code? You know, the series of 1's and 0's. This clock actually displays the time in the same binary format. Definitely something cool to put on your site if you are a programmer.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Button Time<br />
Contributor: Michael Tartaglia (stonedstan@hotmail.com)<br />
Contributor URL: <a href="http://www.geocities.com/SiliconValley/Horizon/5235" target="_blank" rel="nofollow">http://www.geocities.com/SiliconValley/Horizon/5235</a><br />
Details: 1.72 KB * Uploaded April 16 1998<br />
Description: Here is a pretty neat way to show what time it is - in a little button! When the page is loaded, JavaScript will show a little button with the time! Check it out!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Clock Type<br />
Details: 1.56 KB * Uploaded June 12 1998<br />
Description: This is a really neat little script that can display the current time in &quot;Military Time&quot; or &quot;12 Hour Time&quot; with the push of a button. Give it a try, it's neat!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Count Up &amp; Down<br />
Details: 2.72 KB * Uploaded June 30 1997<br />
Description: Here, you can use stopwatch functions to count up and down - separately or together at once. Try it out! A neat JavaScript example.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Current Date<br />
Details: 1.00 KB * Uploaded August 18 1998<br />
Description: Use this script to write the current date to your web page. Looks very professional. Another very neat effect - some great JavaScripting!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Current Date &amp; Time (Long)<br />
Details: 2.21 KB * Uploaded September 1 1997<br />
Description: This is the somewhat longer way to put the current date &amp; time on your page. It writes in a longer date and time format than the previous date &amp; time script. The script is also longer....<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Current Date &amp; Time (Short)<br />
Details: 0.29 KB * Uploaded June 30 1997<br />
Description: Put the current date &amp; time on your page with this cool little JavaScript coding. All of 3 lines.....<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Current Time<br />
Details: 1.45 KB * Uploaded June 30 1997<br />
Description: Use JavaScript to put the current time on your page. It even follows the time in A.M. and P.M.! A nice script.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Current Week<br />
Contributor: Mark McCain (sub235k@worldnet.att.net)<br />
Details: 1.75 KB * Uploaded November 3 1999<br />
Description: Displays the date the current week starts on. Useful if you want a new link each week or just to show the first day of the current week.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Days Old<br />
Details: 0.99 KB * Uploaded March 31 1999<br />
Description: How long have you had that job? How many days old are you? Find the answers to these questions and more!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Days till Date<br />
Contributor:Alan Palmer<br />
Contributor URL: <a href="http://www.jsr.communitech.net" target="_blank" rel="nofollow">http://www.jsr.communitech.net</a><br />
Details: 1.16 KB * Uploaded July 24 1998<br />
Description: This little JavaScript will take an event or date in the future and compare it to the current date, then display how many days until that date/event occurs. Pretty neat! Lots of uses... (Marriage countdown, till school's out countdown, etc)<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Digital Clock<br />
Contributor: Ramandeep Singh (ramandeepji@yahoo.com)<br />
Contributor URL: <a href="http://hard-drive.hypermart.net" target="_blank" rel="nofollow">http://hard-drive.hypermart.net</a><br />
Details: 3.36 KB * Uploaded March 2 2001<br />
Description: Displays the time like a real digital clock. Changes rapidly and includes hours, minutes, seconds and AM/PM indication. Neat!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Dynamic Clock<br />
Contributor: Craig Lumley<br />
Contributor URL: <a href="http://www.ws4all.co.uk" target="_blank" rel="nofollow">http://www.ws4all.co.uk</a><br />
Details: 1.66 KB * Uploaded January 17 2000<br />
Description: (Version 4.0+ browsers) Using layers, JavaScript can display a real-time clock your page. This is a really professional way to add that special touch to your web page. And, watch as the clock on your page updates every second. All done without using forms, cool!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Future Date<br />
Contributor: Kevin Myers (kevinmyers@unforgettable.com)<br />
Contributor URL: <a href="http://www.geocities.com/SiliconValley/Bay/7554" target="_blank" rel="nofollow">http://www.geocities.com/SiliconValley/Bay/7554</a><br />
Details: 1.02 KB * Uploaded May 4 1999<br />
Description: This script will print out a date a certain number of days in the future. You can tell a customer their order will be filled by the date in the future, etc. This script is great!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: ISO Clock<br />
Contributor: John Walker (john@321webliftoff.net)<br />
Contributor URL: <a href="http://321webliftoff.net" target="_blank" rel="nofollow">http://321webliftoff.net</a><br />
Details: 2.17 KB * Uploaded September 26 2000<br />
Description: Displays the date and time in accordance with the ISO 8601 standard.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: On/Off<br />
Details: 1.00 KB * Uploaded June 30 1997<br />
Description: This JavaScript example will display a JavaScript clock with an optional on/off switch.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Proper Date<br />
Details: 1.03 KB * Uploaded February 11 1999<br />
Description: This little script will help you return the &quot;proper&quot; day ending - August 1st, August 2nd, August 3rd, etc. Neat!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Scroll Clock<br />
Contributor: Kurt Grigg (kurt.grigg@virgin.net)<br />
Contributor URL: <a href="http://website.lineone.net/~kurt.grigg/javascript" target="_blank" rel="nofollow">http://website.lineone.net/~kurt.grigg/javascript</a><br />
Details: 5.02 KB * Uploaded December 20 2000<br />
Description: Analog style clock that remains in the corner of the browser window, even when scrolling. Sweet!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Silly Clock<br />
Contributor: Kurt Grigg (kurt.grigg@virgin.net)<br />
Contributor URL: <a href="http://website.lineone.net/~kurt.grigg/javascript" target="_blank" rel="nofollow">http://website.lineone.net/~kurt.grigg/javascript</a><br />
Details: 6.73 KB * Uploaded December 11 2000<br />
Description: This analog clock will follow your cursor around the screen and continuously update. Awesome!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Status<br />
Contributor: Francis Woodhouse (francis@contessa.u-net.com)<br />
Details: 0.81 KB * Uploaded May 15 1998<br />
Description: How about putting a little clock (and date) display on your status bar!?!? Check out this script!!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Till Christmas<br />
Details: 1.34 KB * Uploaded October 15 1999<br />
Description: Let your visitors know how many more days until Christmas. On the day before Christmas, the script indicates that it is Christmas Eve. You may also see how the script reacts to different dates by changing the date on your computer then reloading the script.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Time Remaining<br />
Contributor: Steve Dondley (steve@dondley.com)<br />
Contributor URL: <a href="http://www.progressivevalley.com" target="_blank" rel="nofollow">http://www.progressivevalley.com</a><br />
Details: 2.08 KB * Uploaded January 8 2001<br />
Description: Have you ever wanted to know the exact amount of time remaining until a certain time on a certain day? This script uses a textbox and to display days, hours, minutes and seconds. Great!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Time Till Hour<br />
Contributor: Ronnie T. Moore, Editor<br />
Contributor URL: JavaScript Source Code 3000<br />
Details: 2.00 KB * Uploaded April 17 2000<br />
Description: If your page requires a more sophisticated way to display the time, you'll love this script. It will write in the format, 'XX Till Hour'. It's ten past three in the afternoon, for example. Pretty cool.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Title Bar Clock<br />
Contributor: Massimo Giari (motore@iol.it)<br />
Details: 0.90 KB * Uploaded August 4 2000<br />
Description: (Internet Explorer only) Displays a clock in the browser window's title bar at the top of the screen after the page's title. Cool!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Wall Clock<br />
Contributor: Randy Bennett (rbennett@thezone.net)<br />
Contributor URL: <a href="http://home.thezone.net/~rbennett/utility/sitemap.htm" target="_blank" rel="nofollow">http://home.thezone.net/~rbennett/utility/sitemap.htm</a><br />
Details: 5.93 KB * Uploaded December 16 1999<br />
Description: A digital JavaScript clock on your site is impressive, but having a wall clock on your site is incredible! The second, minute, and hour hands even move according to the current time. Best of all, you do not need any picture images to make it work!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Week Dates<br />
Contributor: Jonathan Hurshman (jhurshman@rocketmail.com)<br />
Contributor URL: <a href="http://www.pilgrim.f2s.com" target="_blank" rel="nofollow">http://www.pilgrim.f2s.com</a><br />
Details: 1.30 KB * Uploaded August 17 2000<br />
Description: Displays the start and end dates for the current week. Code updated to be more efficient and shorter, too.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: World Clock<br />
Contributor: Emanuel Gavrilv (eltal@sprint.ca)<br />
Contributor URL: <a href="http://www.angelfire.com/on/eltal" target="_blank" rel="nofollow">http://www.angelfire.com/on/eltal</a><br />
Details: 5.96 KB * Uploaded January 3 2000<br />
Description: By using your computer's clock, you can calculate the time in other time zones all over the world! Useful if you communicate across different time zones for business or leisure. A great script!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Address Book<br />
Contributor: Joe Norman (joe@wdrealty.com)<br />
Contributor URL: <a href="http://www.jacksonville.net/~joman/ArraysNCookies.html" target="_blank" rel="nofollow">http://www.jacksonville.net/~joman/ArraysNCookies.html</a><br />
Details: 6.01 KB * Uploaded June 6 2000<br />
Description: Saves an address book database as a cookie on the user's computer. The author explains that although the actual example may not be particularly useful, the underlying code could be very beneficial for use in other projects.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Bookmark Reminder<br />
Contributor: Dan Kirkpatrick (webmaster@troop321.org)<br />
Contributor URL: <a href="http://www.troop-321.8m.com/html" target="_blank" rel="nofollow">http://www.troop-321.8m.com/html</a><br />
Details: 2.75 KB * Uploaded June 22 2000<br />
Description: (Best with Internet Explorer) Pops up the &quot;Add to Favorites&quot; bookmark window once a week, or after every certain number of days. Netscape users are given an alert message to remind them to bookmark the site.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Favorite Background<br />
Details: 2.55 KB * Uploaded June 30 1997<br />
Description: Let a JavaScript cookie remember your favorite background color. On future visits, it automatically displays that background color for you.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Cookie Redirect<br />
Contributor: Ronnie T. Moore, Editor<br />
Contributor URL: JavaScript Source Code 3000<br />
Details: 2.91 KB * Uploaded May 11 2000<br />
Description: Redirects the visitor to different pages based on the value of a stored cookie. If no cookie is found, the available items are displayed for the user to pick from, which sets a cookie for their next visit. Our demonstration uses a 'favorite animal' cookie, but this could easily be modified to fit your needs.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: ID Tracker<br />
Contributor: Ronnie T. Moore, Editor<br />
Contributor URL: JavaScript Source Code 3000<br />
Details: 2.53 KB * Uploaded May 19 2000<br />
Description: Allows you to save a visitor's referral ID in a cookie ID on their computer. Then, you can you can access that ID cookie from the rest of your site. Useful to help you pay affiliate commissions or track web site referrals. Easy!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: User Name<br />
Details: 3.19 KB * Uploaded July 1 1997<br />
Description: Cookies allow web pages to store information on the visitors computer and to later retrieve that information. This cookie records the visitor's name.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Number Of Visits<br />
Details: 2.31 KB * Uploaded July 1 1997<br />
Description: This cookies records how many times the visitor has visited the page and writes to the page accordingly. (ie: You have been here 2 times).<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Name - Browser Info<br />
Details: 2.75 KB * Uploaded June 30 1997<br />
Description: This cookies records the visitor's name and also writes the visitor's browser information to the screen.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Name - Visits - Last Visit<br />
Details: 3.42 KB * Uploaded June 30 1997<br />
Description: This cookies records the visitor's name, how many visits, and the last visit.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Name - Visits - Message<br />
Details: 3.32 KB * Uploaded June 30 1997<br />
Description: This cookie records the visitor's name, how many visits, and displays a message depending on how many visits have been recorded.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Only Popup Once<br />
Details: 2.58 KB * Uploaded September 3 1999<br />
Description: If you have a new window open up on your home page, it opens every time your visitors come back to that page. This is rude as well as very annoying thing to force onto your visitors. But, using cookies, this script can determine if the visitor has been here before, and only open a new window on their first visit to the page. The next time they come back, the script will read the cookie, identify them as a repeat visitor, and NOT open the window again. Neat!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Acceleration Equivalents<br />
Details: 5.70 KB * Uploaded July 3 1997<br />
Description: JavaScript can help you find acceleration equivalents.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Area Equivalents<br />
Details: 5.79 KB * Uploaded July 3 1997<br />
Description: JavaScript can help you find area equivalents.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Base Converter<br />
Contributor: Mike Maloney<br />
Contributor URL: <a href="http://nfg.natfuel.com" target="_blank" rel="nofollow">http://nfg.natfuel.com</a><br />
Details: 2.50 KB * Uploaded April 7 2000<br />
Description: Converts input between binary, ternary, quintal, octal, decimal, and hexadecimal bases. Try entering a string of zeroes and ones in the binary field - when you click off, the script displays that number of the other bases.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Degrees to Radians<br />
Contributor: Sam Tyler (sykicphyst@aol.com)<br />
Contributor URL: <a href="http://members.aol.com/sykicphyst/hell/hellhouse.html" target="_blank" rel="nofollow">http://members.aol.com/sykicphyst/hell/hellhouse.html</a><br />
Details: 1.26 KB * Uploaded March 31 1998<br />
Description: Use JavaScript to convert Degrees to Radians and vice versa.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Energy Equivalents<br />
Details: 5.67 KB * Uploaded July 3 1997<br />
Description: JavaScript can help you find energy equivalents.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Euro Converter<br />
Contributor: Mike McGrath (mike_mcgrath@lineone.net)<br />
Contributor URL: <a href="http://website.lineone.net/~mike_mcgrath" target="_blank" rel="nofollow">http://website.lineone.net/~mike_mcgrath</a><br />
Details: 3.63 KB * Uploaded August 11 1999<br />
Description: Click a country button to display currency name and full fixed euro exchange rate. Press Clear to empty the value boxes and enter either Euro or Local amount to convert. Click the appropriate button for conversion of euro To Local or of local To Euro. Conversion will display selected currency exchange rounded to two decimal places.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Hertz Converter<br />
Contributor: Charles Lucy (lucy@harmonics.com)<br />
Contributor URL: <a href="http://www.harmonics.com/lucy" target="_blank" rel="nofollow">http://www.harmonics.com/lucy</a><br />
Details: 0.94 KB * Uploaded October 30 2000<br />
Description: Convert between frequency and beats per minute (i.e. 8 octaves lower). Enter a number in either field, then click outside the text box.<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Hex-RGB Converter<br />
Contributor: Ryan Sokol<br />
Contributor URL: <a href="http://www.logicode.net" target="_blank" rel="nofollow">http://www.logicode.net</a><br />
Details: 3.91 KB * Uploaded February 27 2001<br />
Description: Converts Hex to RGB and back in real-time. Also displays current value as background color. Cool!<br />
<br />
[ Get Source Code ]<br />
<br />
Title: Japanese Pronunciation<br />
Contributor: Momoko Sakura<br />
Details: 4.48 KB * Uplo</code><hr />
</div><br />
[code]Download:<br />
<br />
</div>

]]></content:encoded>
			<category domain="https://hackturk.net/forumdisplay.php?f=221">Java ve JavaScript</category>
			<dc:creator>salary</dc:creator>
			<guid isPermaLink="true">https://hackturk.net/showthread.php?t=60698</guid>
		</item>
		<item>
			<title>Çok işinize Yarıyacak JavaScriptler</title>
			<link>https://hackturk.net/showthread.php?t=57278&amp;goto=newpost</link>
			<pubDate>Tue, 11 Jul 2006 23:16:01 GMT</pubDate>
			<description />
			<content:encoded><![CDATA[<div><b>Çok güzel bir script arşivi yayınlıycam arkadaşlar.Başlıyorum ben.......<br />
<br />
<font color="orange">Mausu takip eden Analog saat ve Tarih</font> <br />
[PHP]&lt;SCRIPT language=JavaScript&gt; <br />
dCol='green';//date colour. <br />
fCol='blue';//face colour. <br />
sCol='red';//seconds colour. <br />
mCol='red';//minutes colour. <br />
hCol='red';//hours colour. <br />
ClockHeight=40; <br />
ClockWidth=40; <br />
ClockFromMouseY=0; <br />
ClockFromMouseX=100; <br />
<br />
//Alter nothing below! Alignments will be lost! <br />
<br />
d=new  <br />
Array(&quot;SONNTAG&quot;,&quot;MONTAG&quot;,&quot;DIENSTAG&quot;,&quot;MITTWOCH&quot;,&quot;DO  NNERSTAG&quot;,&quot;FREITAG&quot;,&quot;SAMSTAG&quot;); <br />
//Array(&quot;SUNDAY&quot;,&quot;MONDAY&quot;,&quot;TUESDAY&quot;,&quot;WEDNESDAY&quot;,&quot;THU  RSDAY&quot;,&quot;FRIDAY&quot;,&quot;SATURDAY&quot;); <br />
m=new  <br />
Array(&quot;JANUAR&quot;,&quot;FEBRUAR&quot;,&quot;MAERZ&quot;,&quot;APRIL&quot;,&quot;MAI&quot;,&quot;JU  NI&quot;,&quot;JULI&quot;,&quot;AUGUST&quot;,&quot;SEPTEMBER&quot;,&quot;OKTOBER&quot;,&quot;NOVEMBE  R&quot;,&quot;DEZEMBER&quot;); <br />
//Array(&quot;JANUARY&quot;,&quot;FEBRUARY&quot;,&quot;MARCH&quot;,&quot;APRIL&quot;,&quot;MAY&quot;,&quot;  JUNE&quot;,&quot;JULY&quot;,&quot;AUGUST&quot;,&quot;SEPTEMBER&quot;,&quot;OCTOBER&quot;,&quot;NOVEM  BER&quot;,&quot;DECEMBER&quot;); <br />
date=new Date(); <br />
day=date.getDate(); <br />
year=date.getYear(); <br />
if (year &lt; 2000) year=year+1900; <br />
TodaysDate=&quot; &quot;+d[date.getDay()]+&quot; &quot;+day+&quot; &quot;+m[date.getMonth()]+&quot; &quot;+year; <br />
D=TodaysDate.split(''); <br />
H='...'; <br />
H=H.split(''); <br />
M='....'; <br />
M=M.split(''); <br />
S='.....'; <br />
S=S.split(''); <br />
Face='1 2 3 4 5 6 7 8 9 10 11 12'; <br />
font='Arial'; <br />
size=1; <br />
speed=0.6; <br />
ns=(document.layers); <br />
ie=(document.all); <br />
Face=Face.split(' '); <br />
n=Face.length; <br />
a=size*10; <br />
ymouse=0; <br />
xmouse=0; <br />
scrll=0; <br />
props=&quot;&lt;font face=&quot;+font+&quot; size=&quot;+size+&quot; color=&quot;+fCol+&quot;&gt;<b>&quot;; <br />
props2=&quot;&lt;font face=&quot;+font+&quot; size=&quot;+size+&quot; color=&quot;+dCol+&quot;&gt;<b>&quot;; <br />
Split=360/n; <br />
Dsplit=360/D.length; <br />
HandHeight=ClockHeight/4.5 <br />
HandWidth=ClockWidth/4.5 <br />
HandY=-7; <br />
HandX=-2.5; <br />
scrll=0; <br />
step=0.06; <br />
currStep=0; <br />
y=new Array();x=new Array();Y=new Array();X=new Array(); <br />
for (i=0; i &lt; n; i++){y[i]=0;x[i]=0;Y[i]=0;X[i]=0} <br />
Dy=new Array();Dx=new Array();DY=new Array();DX=new Array(); <br />
for (i=0; i &lt; D.length; i++){Dy[i]=0;Dx[i]=0;DY[i]=0;DX[i]=0} <br />
if (ns){ <br />
  for (i=0; i &lt; D.length; i++) <br />
      document.write('&lt;layer name=&quot;nsDate'+i+'&quot; top=0 left=0 height='+a+' width='+a+'&gt;&lt;center&gt;'+props2+D[i]+'&lt;/font&gt;&lt;/center&gt;&lt;/layer&gt;'); <br />
  for (i=0; i &lt; n; i++) <br />
      document.write('&lt;layer name=&quot;nsFace'+i+'&quot; top=0 left=0 height='+a+' width='+a+'&gt;&lt;center&gt;'+props+Face[i]+'&lt;/font&gt;&lt;/center&gt;&lt;/layer&gt;'); <br />
  for (i=0; i &lt; S.length; i++) <br />
      document.write('&lt;layer name=nsSeconds'+i+' top=0 left=0 width=15 height=15&gt;&lt;font face=Arial size=3 color='+sCol+'&gt;&lt;center&gt;<b>'+S[i]+'</b>&lt;/center&gt;&lt;/font&gt;&lt;/layer&gt;'); <br />
  for (i=0; i &lt; M.length; i++) <br />
      document.write('&lt;layer name=nsMinutes'+i+' top=0 left=0 width=15 height=15&gt;&lt;font face=Arial size=3 color='+mCol+'&gt;&lt;center&gt;<b>'+M[i]+'</b>&lt;/center&gt;&lt;/font&gt;&lt;/layer&gt;'); <br />
  for (i=0; i &lt; H.length; i++) <br />
      document.write('&lt;layer name=nsHours'+i+' top=0 left=0 width=15 height=15&gt;&lt;font face=Arial size=3 color='+hCol+'&gt;&lt;center&gt;<b>'+H[i]+'</b>&lt;/center&gt;&lt;/font&gt;&lt;/layer&gt;'); <br />
} <br />
if (ie){ <br />
  document.write('&lt;div id=&quot;Od&quot; style=&quot;position:absolute;top:0px;left:0px&quot;&gt;&lt;div style=&quot;position:relative&quot;&gt;'); <br />
  for (i=0; i &lt; D.length; i++) <br />
      document.write('&lt;div id=&quot;ieDate&quot; style=&quot;position:absolute;top:0px;left:0;height:'+a  +';width:'+a+';text-align:center&quot;&gt;'+props2+D[i]+'</b>&lt;/font&gt;&lt;/div&gt;'); <br />
      document.write('&lt;/div&gt;&lt;/div&gt;'); <br />
      document.write('&lt;div id=&quot;Of&quot; style=&quot;position:absolute;top:0px;left:0px&quot;&gt;&lt;div style=&quot;position:relative&quot;&gt;'); <br />
  for (i=0; i &lt; n; i++) <br />
      document.write('&lt;div id=&quot;ieFace&quot; style=&quot;position:absolute;top:0px;left:0;height:'+a  +';width:'+a+';text-align:center&quot;&gt;'+props+Face[i]+'</b>&lt;/font&gt;&lt;/div&gt;'); <br />
      document.write('&lt;/div&gt;&lt;/div&gt;'); <br />
      document.write('&lt;div id=&quot;Oh&quot; style=&quot;position:absolute;top:0px;left:0px&quot;&gt;&lt;div style=&quot;position:relative&quot;&gt;'); <br />
  for (i=0; i &lt; H.length; i++) <br />
      document.write('&lt;div id=&quot;ieHours&quot; style=&quot;position:absolute;width:16px;height:16px;fo  nt-family:Arial;font-size:16px;color:'+hCol+';text-align:center;font-weight:bold&quot;&gt;'+H[i]+'&lt;/div&gt;'); <br />
      document.write('&lt;/div&gt;&lt;/div&gt;'); <br />
      document.write('&lt;div id=&quot;Om&quot; style=&quot;position:absolute;top:0px;left:0px&quot;&gt;&lt;div style=&quot;position:relative&quot;&gt;'); <br />
  for (i=0; i &lt; M.length; i++) <br />
      document.write('&lt;div id=&quot;ieMinutes&quot; style=&quot;position:absolute;width:16px;height:16px;fo  nt-family:Arial;font-size:16px;color:'+mCol+';text-align:center;font-weight:bold&quot;&gt;'+M[i]+'&lt;/div&gt;'); <br />
      document.write('&lt;/div&gt;&lt;/div&gt;') <br />
      document.write('&lt;div id=&quot;Os&quot; style=&quot;position:absolute;top:0px;left:0px&quot;&gt;&lt;div style=&quot;position:relative&quot;&gt;'); <br />
  for (i=0; i &lt; S.length; i++) <br />
      document.write('&lt;div id=&quot;ieSeconds&quot; style=&quot;position:absolute;width:16px;height:16px;fo  nt-family:Arial;font-size:16px;color:'+sCol+';text-align:center;font-weight:bold&quot;&gt;'+S[i]+'&lt;/div&gt;'); <br />
      document.write('&lt;/div&gt;&lt;/div&gt;') <br />
} <br />
<br />
(ns)?window.captureEvents(Event.MOUSEMOVE):0; <br />
<br />
function Mouse(evnt){ <br />
ymouse = (ns)?evnt.pageY+ClockFromMouseY-(window.pageYOffset):event.y+ClockFromMouseY; <br />
xmouse = (ns)?evnt.pageX+ClockFromMouseX:event.x+ClockFromM  ouseX; <br />
} <br />
<br />
(ns)?window.onMouseMove=Mouse:document.onmousemove  =Mouse; <br />
<br />
function ClockAndAssign(){ <br />
time = new Date (); <br />
secs = time.getSeconds(); <br />
sec = -1.57 + Math.PI * secs/30; <br />
mins = time.getMinutes(); <br />
min = -1.57 + Math.PI * mins/30; <br />
hr = time.getHours(); <br />
hrs = -1.575 + Math.PI * hr/6+Math.PI*parseInt(time.getMinutes())/360; <br />
if (ie){ <br />
  Od.style.top=window.document.body.scrollTop; <br />
  Of.style.top=window.document.body.scrollTop; <br />
  Oh.style.top=window.document.body.scrollTop; <br />
  Om.style.top=window.document.body.scrollTop; <br />
  Os.style.top=window.document.body.scrollTop; <br />
  } <br />
for (i=0; i &lt; n; i++){ <br />
 var F=(ns)?document.layers['nsFace'+i]:ieFace[i].style; <br />
 F.top=y[i] + ClockHeight*Math.sin(-1.0471 + i*Split*Math.PI/180)+scrll; <br />
 F.left=x[i] + ClockWidth*Math.cos(-1.0471 + i*Split*Math.PI/180); <br />
 } <br />
for (i=0; i &lt; H.length; i++){ <br />
 var HL=(ns)?document.layers['nsHours'+i]:ieHours[i].style; <br />
 HL.top=y[i]+HandY+(i*HandHeight)*Math.sin(hrs)+scrll; <br />
 HL.left=x[i]+HandX+(i*HandWidth)*Math.cos(hrs); <br />
 } <br />
for (i=0; i &lt; M.length; i++){ <br />
 var ML=(ns)?document.layers['nsMinutes'+i]:ieMinutes[i].style; <br />
 ML.top=y[i]+HandY+(i*HandHeight)*Math.sin(min)+scrll; <br />
 ML.left=x[i]+HandX+(i*HandWidth)*Math.cos(min); <br />
 } <br />
for (i=0; i &lt; S.length; i++){ <br />
 var SL=(ns)?document.layers['nsSeconds'+i]:ieSeconds[i].style; <br />
 SL.top=y[i]+HandY+(i*HandHeight)*Math.sin(sec)+scrll; <br />
 SL.left=x[i]+HandX+(i*HandWidth)*Math.cos(sec); <br />
 } <br />
for (i=0; i &lt; D.length; i++){ <br />
 var DL=(ns)?document.layers['nsDate'+i]:ieDate[i].style; <br />
 DL.top=Dy[i] + ClockHeight*1.5*Math.sin(currStep+i*Dsplit*Math.PI/180)+scrll; <br />
 DL.left=Dx[i] + ClockWidth*1.5*Math.cos(currStep+i*Dsplit*Math.PI/180); <br />
 } <br />
currStep-=step; <br />
} <br />
<br />
function Delay(){ <br />
scrll=(ns)?window.pageYOffset:0; <br />
Dy[0]=Math.round(DY[0]+=((ymouse)-DY[0])*speed); <br />
Dx[0]=Math.round(DX[0]+=((xmouse)-DX[0])*speed); <br />
for (i=1; i &lt; D.length; i++){ <br />
  Dy[i]=Math.round(DY[i]+=(Dy[i-1]-DY[i])*speed); <br />
  Dx[i]=Math.round(DX[i]+=(Dx[i-1]-DX[i])*speed); <br />
} <br />
y[0]=Math.round(Y[0]+=((ymouse)-Y[0])*speed); <br />
x[0]=Math.round(X[0]+=((xmouse)-X[0])*speed); <br />
for (i=1; i &lt; n; i++){ <br />
  y[i]=Math.round(Y[i]+=(y[i-1]-Y[i])*speed); <br />
  x[i]=Math.round(X[i]+=(x[i-1]-X[i])*speed); <br />
} <br />
ClockAndAssign(); <br />
setTimeout('Delay()',20); <br />
} <br />
if (ns||ie)window.onload=Delay; <br />
&lt;/SCRIPT&gt;  [/PHP]</b></div>

]]></content:encoded>
			<category domain="https://hackturk.net/forumdisplay.php?f=221">Java ve JavaScript</category>
			<dc:creator>MidNight</dc:creator>
			<guid isPermaLink="true">https://hackturk.net/showthread.php?t=57278</guid>
		</item>
	</channel>
</rss>
