Kod: <!--- KAYNAK: http://www.gezginler.net --->
<head>
<style>
.link a{text-decoration:none;}
</style></head><body bgcolor="ebe2d3">
<script language="JavaScript">
links = [
["kapali.gif","acik.gif",".: BAŞLIK 1","http://www.gezginler.net","_top",
[
[" » Link 1","http://www.gezginler.net","_top"],
[" » Link 2","http://www.gezginler.net","_top"],
[" » Link 3","http://www.gezginler.net","_top"],
[" » Link 4","http://www.gezginler.net","_top"],
[" » Link 5","http://www.gezginler.net","_top"]
]
],
["kapali.gif","acik.gif",".: BAŞLIK 2","http://www.gezginler.net","_top",
[
[" » Link 1","http://www.gezginler.net","_top"],
[" » Link 2","http://www.gezginler.net","_top"],
[" » Link 3","http://www.gezginler.net","_top"],
[" » Link 4","http://www.gezginler.net","_top"],
[" » Link 5","http://www.gezginler.net","_top"],
[" » Link 6","http://www.gezginler.net","_top"],
[" » Link 7","http://www.gezginler.net","_top"],
[" » Link 8","http://www.gezginler.net","_top"]
]
],["kapali.gif","acik.gif",".: BAŞLIK 3","http://www.gezginler.net","_top",
[
[" » Link 1","http://www.gezginler.net","_top"],
[" » Link 2","http://www.gezginler.net","_top"],
[" » Link 3","http://www.gezginler.net","_top"],
[" » Link 4","http://www.gezginler.net","_top"]
]
],
["kapali.gif","acik.gif",".: BAŞLIK 4","http://www.gezginler.net","_top",
[
[" » Link 1","http://www.gezginler.net","_top"],
[" » Link 2","http://www.gezginler.net","_top"],
[" » Link 3","http://www.gezginler.net","_top"],
[" » Link 4","http://www.gezginler.net","_top"]
]
]
]
prop2 = [
20, // Menü başlığının, sayfa üstüne olan yakınlığı
40, // Menü başlığının, sola yakınlığı
120, // Menü başlığının, uzunluğu
15, // Menü başlığının, yüksekliği
5, // Menü başlıkları arasındaki aralık mesafe (yatay)
5, // Menü başlığı ile alt kategoriler arasındaki aralık mesafe (dikey)
"#0000a0", // Menü başlığının, arkaplan rengi
false,
"",
"",
120, // Alt kategori uzunluğu
15, // Alt kategori yüksekliği
-1, // Alt kategoriler arasındaki aralık mesafe (yatay)
"#182ec5", // Alt kategori arkaplan rengi
"#f2f2f2", // Menü başlığının, font rengi
"10px", // Menü başlığının, font büyüklüğü
"verdana", // Menü başlığının, font tipi
"font-weight:bold;border:1px solid #ff3300;valign:middle", // Menü başlığının, extra özellikleri
"5", // Klasör resminin, menü başlığına olan uzaklığı
"#0000a0", // Mouse imleci üzerine getirildiğinde, menü başlık fontunun dönüşeceği renk
"aqua", // Mouse imleci üzerine getirildiğinde, menü başlığı arkaplanın dönüşeceği renk
"aqua", // Alt kategori font rengi
"10px", // Alt kategori font büyüklüğü
"verdana", // Alt kategori font tipi
"border:1px solid red;valign:middle", // Alt kategori extra özellikleri
"5",
"blue", // Mouse imleci üzerine getirildiğinde, alt kategori başlık fontunun dönüşeceği renk
"aqua" // Mouse imleci üzerine getirildiğinde, alt kategori arkaplanın dönüşeceği renk
]
</script>
<script language="JavaScript">//http://www.ScriptBreaker.com
var counter = 0
var container = new Array()
function header(nr,al,ap)
{
id = "sb_"+counter+"_" + nr
this.id = id
id = "i_test_"+counter+"_"+ nr
this.iid = id
this.counter = counter
this.img = al[0];
this.over = al[1];
this.color = ap[14];
this.overcolor = ap[19];
this.bg = ap[6]
this.bgover = ap[20];
this.open = false;
this.onmouseover = doopen
this.onmouseout = doclose
this.left = ap[7]?(nr*(ap[2]+ap[4]))+ap[1]:ap[1]
this.top = ap[7]?ap[0]:((nr*(ap[3]+ap[4]))+ap[0])
this.bottom = ap[7]?(ap[0]+ap[5]+ap[3]):this.top
str = "<a href=\""+al[3]+"\" target="+al[2]+" style='position:absolute;height:"+ap[3]+";width:"+ap[2]+";top:"+this.top+";left:"+this.left+";background-color:"+ap[6]+";color:"+ap[14]+";font-size:"+ap[15]+";font-family:"+ap[16]+";"+ap[17]+"' onmouseover='container["+counter+"].container["+nr+"].onmouseover()' onmouseout='container["+counter+"].hide_all()'><div id="+this.id+" class=link><img src="+ this.img +" id='"+this.iid+"' hspace="+ap[18]+" border=0>"+al[2]+"</div></a>"
document.write(str)
this.ielement = document.getElementById(this.iid)
this.element = document.getElementById(this.id)
var itemsa = new Array()
if(al[5]){
for (j=0;j<al[5].length;j++)
{
itemsa[j] = new item(j,al[5][j],ap,this.bottom,this.left,nr)
}}
this.container = itemsa
}
function doopen()
{
clearTimeout(container[this.counter].timer);
container[this.counter].fast_hide();
this.open = true
this.ielement.src = this.over
this.element.style.backgroundColor= this.bgover;
this.element.style.color = this.overcolor;
for(k=0;k<this.container.length;k++)
{
this.container[k].onshow();
}
}
function doclose()
{
this.open = false
this.ielement.src = this.img
this.element.style.backgroundColor= this.bg;
this.element.style.color = this.color;
for(k=0;k<this.container.length;k++)
{
this.container[k].onhide();
}
}
function item(nri,ali,api,b,l,nr)
{
this.id = "item"+nr+"_"+ nri +"_"+counter
this.left = api[7]?l:(l+api[5]+api[2])
this.counter = counter
this.top = b + ((api[11]+api[12])*nri)
this.onshow = doshow
this.onhide = dohide
this.color = api[21];
this.overcolor = api[26];
this.bg = api[13]
this.bgover = api[27];
this.onmouseover = doover
this.onmouseout = doout
document.write("<a href=\""+ali[1]+"\" target="+ali[2]+" style='cursor:hand;position:absolute;width:"+api[10]+";height:"+api[11]+";top:"+this.top+";left:"+this.left+"' onmouseover='container["+counter+"].container["+nr+"].container["+nri+"].onmouseover();' onmouseout='container["+counter+"].container["+nr+"].container["+nri+"].onmouseout();' ><div id='"+this.id+"' style='width:"+api[10]+";height:"+api[11]+";visibility:hidden;background-color:"+api[13]+";color:"+api[21]+";font-size:"+api[22]+";font-family:"+api[23]+";"+api[24]+"'>"+ali[0]+"</div></a>")
this.element = document.getElementById(this.id)
}
function doover()
{
clearTimeout(container[this.counter].timer);
this.element.style.backgroundColor= this.bgover;
this.element.style.color = this.overcolor;
}
function doout()
{
this.element.style.backgroundColor= this.bg;
this.element.style.color = this.color;
container[this.counter].hide_all();
}
function doshow(){this.element.style.visibility = "";this.element.style.zIndex = 0;}
function dohide(){this.element.style.visibility = "hidden";this.element.style.zIndex = 1;}
function Menu(al,ap)
{
document.write("<div class=link>")
var headers = new Array()
for(i=0;i<al.length;i++) headers[i] = new header(i,al[i],ap)
this.container = headers;
this.hide_all = dohide_all
this.fast_hide = catcht
this.timer = null
this.counter = counter
container[counter] = this
counter++;
document.write("</div>")
}
function dohide_all(){this.timer = setTimeout("container["+this.counter+"].fast_hide();",2000);}
function catcht(){for(i=0;i<this.container.length;i++)this.container[i].onmouseout();}
</script>
<script language="JavaScript">
var ScriptBreaker2 = new Menu(links,prop2)
</script>
</body>
<!--- KAYNAK: http://www.gezginler.net --->