sitenize gerekli hazır html kodları BURADA

Ömer
Yönetici
Sitenize yarabileyecek bazı html kodları
HTML:
Durum çubuğunda tarih görüntülemek 
Kod: 
<script language="JavaScript"> 
function doClock() { 
window.setTimeout( "doClock()", 1000 ); 
today = new Date(); 
self.status = today.toString(); 
} 
doClock() 
</script>
HTML:
Ekran çözünürlüğünü bulma 
Kod: 
<script language=javascript1.2> 
browser=navigator.appName 
c1=screen.width 
c2=screen.height 
document.write("<center><font color=red>Siz: "+browser+" ile "+c1+" x "+c2+" çözünürlüktesiniz.</font></center>") 
</script>
HTML:
Sayfaya ileri ve geri butonları koymak 
Geri 
Kod: 
<a href="javascript:history.back(1)">Geri</a> 


İleri 
Kod: 
<a href="javascript:history.forward(1)">İleri</a>
HTML:
Durum çubuğuna sabit bi yazı yazdırmak 
Kod: 
<body onLoad="window.defaultStatus=''BozGuNoNLiNe Görünen yazı bu"></body>
HTML:
Otomatik pencere açtırmak 
Kod: 
<script language=JavaScript> 
window.open("http://www.memonto.net","resultwindow", "toolbar=yes, scrollbars=yes, directories=no, status=no, menubar=no, resizable=no, width=350, height=250"); self.focus(); 
</script>

HTML:
İstenilen boyutlarda yeni pencere açtırmak 
Kod: 
<a href="#" onClick="javascript:pen=window.open('pencere.html', 'noLov22us', 'status=1, width=300, height=200, resizable=no, scrollbars=no')">Pencere aç</a>
 

Benzer Konular

Yanıtlar
0
Görüntülenme
12B
Üst