Durum �ubu�unda tarih g�r�nt�lemek
Kod:
<script language="JavaScript">
function doClock() {
windowsetTimeout( "doClock()", 1000 );
today = new Date();
selfstatus = todaytoString();
}
doClock()
</script>
Ekran ��z�n�rl���n� bulma Kod:
<script language=javascript12>
browser=navigatorappName
c1=screenwidth
c2=screenheight
documentwrite("<center><font color=red>Siz: "+browser+" ile "+c1+" x "+c2+" ��z�n�rl�ktesiniz</font></center>")
</script>
Sayfaya ileri ve geri butonlar� koymak Geri kodlar�:
<a href="javascript:historyback(1)">Geri</a>
�leri Kodlar�:
<a href="javascript:historyforward(1)">�leri</a>
Durum �ubu�una sabit bi yaz� yazd�rmak Kod:
<body onLoad="windowdefaultStatus=''BozGuNoNLiNe G�r�nen yaz� bu"></body>
Otomatik pencere a�t�rmak (popup kod) Kod:
<script language=JavaScript>
windowopen("Linklerin G�r�lmesine �zin Verilmiyor.
�ye Ol ya da
Giri� Yap","resultwindow", "toolbar=yes, scrollbars=yes, directories=no, status=no, menubar=no, resizable=no, width=350, height=250"); selffocus();
</script>
�stenilen boyutlarda yeni pencere a�t�rmak (popup kod) Kod:
<a href="#" onClick="javascripten=windowopen('pencerehtml' , 'noLov22us', 'status=1, width=300, height=200, resizable=no, scrollbars=no')">Pencere a�</a>