Programalama > JAVA SCRIPT

<html>
<head>
<style>
a{color:navy;text-decoration:none;font:bold}  
a:hover{color:red}  
</style>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1254">
<title>Şerit , Etiket Menü</title>
</head>
<body>
<!--Üstte bulunan linkleri buradan belirleyin -->
<a href="#" onMouseover="showit(0)">Kod Kaynakları</a> | 
<a href="#" onMouseover="showit(1)">Dynamic Drive</a> |
<a href="http://www.saab.tr.cc" onmouseover="showit(2)">Türkçeleştirme</a>
<p>
<br>
<!-- Şerit uzunluğunu , arkaplan rengini aşağıdan değiştirebilirsiniz-->
<ilayer width=400 height=32 name="dep1" bgColor="#E6E6FF">
</p>
<layer name="dep2" width=400 height=32>
</layer>
</ilayer>
<div id="describe" style="background-color:#F9CFC1;width:436px;height:32px" onMouseover="clear_delayhide()" onMouseout="resetit(event)"></div>
<script language="JavaScript1.2">
var submenu=new Array()
//Şerit (alt) menüler
 
submenu[0]='<font size="2" face="Verdana"><b><a href="http://www.hazirkod.com">Hazır Kod</a> | <a href="http://www.javascriptkit.com">JS tutorials</a> | <a href="http://www.mydesign.gen.tr">Mydesign</a> | <a href="http://www.javascriptindir.com">Javascript İndir</a></b></font>'

submenu[1]='<font size="2" face="Verdana"><b><a href="http://www.dynamicdrive.com">Javascript</a> | <a href="http://www.dynamicdrive.com/dynamicindex1/">Menu&Navigasyon</a> | <a href="http://www.dynamicdrive.com/dynamicindex16/">Form</a> | <a href="http://www.dynamicdrive.com/dynamicindex4/">Resim</a> | <a href="http://www.dynamicdrive.com/style/">Css</a> </b></font>'

submenu[2]='<font size="2" face="Verdana"><b><a href="http://www.saab.tr.cc">www.saab.tr.cc</a> | <a href="http://www.tr.cc/asp/down.html">Download</a> | <a href="http://www.tr.cc/asp/oyun.html">Oyun </a>| <a href="mailto:ksabitk@hotmail.com">ksabitk@hotmail.com</a></b></font>'
// Alt menü açılma hızı ( milisaniye )
var delay_hide=500

//Bundan sonrasına dokunmayınız
var menuobj=document.getElementById? document.getElementById("describe") : document.all? document.all.describe : document.layers? document.dep1.document.dep2 : ""

function showit(which){
clear_delayhide()
thecontent=(which==-1)? "" : submenu[which]
if (document.getElementById||document.all)
menuobj.innerHTML=thecontent
else if (document.layers){
menuobj.document.write(thecontent)
menuobj.document.close()
}
}

function resetit(e){
if (document.all&&!menuobj.contains(e.toElement))
delayhide=setTimeout("showit(-1)",delay_hide)
else if (document.getElementById&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhide=setTimeout("showit(-1)",delay_hide)
}

function clear_delayhide(){
if (window.delayhide)
clearTimeout(delayhide)
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}
</script>
</body>
</html>

ksabitk
ksabitk@hotmail.com


Yorumlar                 Yorum Yaz
Bu hazır kod'a ilk yorumu siz yapın!
KATEGORİLER
ASP - 240
ASP.NET - 24
C# - 75
C++ - 174
CGI - 8
DELPHI - 247
FLASH - 49
HTML - 536
PASCAL - 246
PERL - 11
PHP - 160
WML - 9
XML - 2
Copyright © 2002 - 2024 Hazır Kod - Tüm Hakları Saklıdır.
Siteden yararlanırken gizlilik ilkelerini okumanızı tavsiye ederiz.
hazirkod.com bir İSOBİL projesidir.