Benim duzenledigim kodlar boyle bir turlu oturmadi
../index.template. php dosyasında
echo '
<div id="multi-level">
<ul class="menu">';
foreach ($context['menu_buttons'] as $act => $button)
{
echo '
<li class="top">
<a href="', $button['href'], '"', isset($button['target']) ? ' target="' . $button['target'] . '"' : '', ' id="', $act, '" class="top_link"><b class="b_top"></b><span class="span_top">', $button['title'], '</span></a>';
../css/index.css
#multi-level {height:30px; position:relative; z-index:100; background:#fff url(../images/yeniler/image_drop_back.gif) repeat-x; padding-left:20px;border:1px solid #000; border-width:0 1px;}
.menu, .menu ul {list-style-type:none; padding:0; margin:0; font-family:arial, sans-serif; font-size:11px;}
.menu li.top {display:block; float:left; position:relative;}
.menu table {border-collapse:collapse; width:0; height:0; position:absolute; top:0; left:0;}
.menu li.top a.top_link {display:block; float:left; height:30px; line-height:30px; text-decoration:none; color:#fff; background: url(../images/yeniler/image_drop_1a.gif); padding:0;}
.menu li.top a.top_link span.span_top {display:block; float:left; height:30px; background: url(../images/yeniler/image_drop_1a.gif) right top; padding:0 15px 0 0;}
.menu li.top a.top_link b.b_top {display:block; float:left; height:30px; width:26px;}
.menu li.top a.top_link span.drop {background: url(../images/yeniler/image_drop_0a.gif) right top; padding:0 25px 0 0;}
.menu li a#home b.b_top {background:transparent url(../images/yeniler/home.gif) no-repeat center center;}
.menu li a#search b.b_top {background:transparent url(../images/yeniler/world.gif) no-repeat center center;}
.menu li a#help b.b_top {background:transparent url(../images/yeniler/book.gif) no-repeat center center;}
.menu li a#pm b.b_top {background:transparent url(../images/yeniler/info.gif) no-repeat center center;}
.menu li a#admin b.b_top {background:transparent url(../images/yeniler/key.gif) no-repeat center center;}
.menu li a#profile b.b_top {background:transparent url(../images/yeniler/people.gif) no-repeat center center;}
.menu li a#mlist b.b_top {background:transparent url(../images/yeniler/links.gif) no-repeat center center;}
.menu li a#logout b.b_top {background:transparent url(../images/yeniler/stop.gif) no-repeat center center;}
.menu li a#calendar b.b_top {background:transparent url(../images/yeniler/text.gif) no-repeat center center;}
.menu a:hover {visibility:visible; cursor:pointer; position:relative;}
.menu li:hover {position:relative; z-index:300;}
.menu li.top a.top_link:hover,
.menu li.top:hover a.top_link {background: url(../images/yeniler/image_drop_1b.gif);}
.menu li.top a.top_link:hover span.span_top,
.menu li.top:hover a.top_link span.span_top {background: url(../images/yeniler/image_drop_1b.gif) right top;}
.menu li.top a.top_link:hover span.drop,
.menu li.top:hover a.top_link span.drop {background: url(../images/yeniler/image_drop_0b.gif) right top;}
.menu ul,
.menu ul ul,
.menu :hover ul :hover ul ul,
.menu :hover ul :hover ul :hover ul ul,
.menu :hover ul :hover ul :hover ul :hover ul ul {position:absolute; left:-9999px; top:-9999px; width:0; height:0;}
.menu :hover ul.sub {left:0; top:30px; background: transparent url(../images/yeniler/transparent.gif); padding:3px 0 0 0; white-space:nowrap; width:135px; height:auto;}
.menu :hover ul.sub li {display:block; float:left;}
.menu :hover ul.sub li a {display:block; float:left; height:25px; width:135px; line-height:25px; color:#000; text-decoration:none; padding:0; background: url(../images/yeniler/dropa_0.gif) no-repeat;}
.menu :hover ul.sub li a span,
.menu :hover ul.sub li a.fly:hover ul li a span,
.menu :hover ul.sub li a.fly:hover ul li a.fly:hover ul li a span,
.menu :hover ul.sub li a.fly:hover ul li a.fly:hover ul li a.fly:hover ul li a span,
.menu :hover ul.sub li a.fly:hover ul li a.fly:hover ul li a.fly:hover ul li a.fly:hover ul li a span
{display:block; float:left; background: url(../images/yeniler/drop_0.gif) right top; height:25px; width:92px; padding:0 10px 0 5px; font-weight:normal; color:#000;}
.menu :hover ul.sub li a.fly span,
.menu :hover ul.sub li a.fly:hover ul li a.fly span,
.menu :hover ul.sub li a.fly:hover ul li a.fly:hover ul li a.fly span,
.menu :hover ul.sub li a.fly:hover ul li a.fly:hover ul li a.fly:hover ul li a.fly span,
.menu :hover ul.sub li a.fly:hover ul li a.fly:hover ul li a.fly:hover ul li a.fly:hover ul li a.fly span
{background: url(../images/yeniler/dropb_0.gif) right top; color:#000;}
.menu :hover ul.sub li a:hover,
.menu :hover ul.sub li a:hover ul li a:hover,
.menu :hover ul.sub li a:hover ul li a:hover ul li a:hover,
.menu :hover ul.sub li a:hover ul li a:hover ul li a:hover ul li a:hover,
.menu :hover ul.sub li a:hover ul li a:hover ul li a:hover ul li a:hover ul li a:hover
{background: url(../images/yeniler/dropba_1.gif) no-repeat; color:#fff;}
.menu :hover ul.sub li a:hover span,
.menu :hover ul.sub li a.fly:hover ul li a:hover span,
.menu :hover ul.sub li a.fly:hover ul li a.fly:hover ul li a:hover span,
.menu :hover ul.sub li a.fly:hover ul li a.fly:hover ul li a.fly:hover ul li a:hover span,
.menu :hover ul.sub li a.fly:hover ul li a.fly:hover ul li a.fly:hover ul li a.fly:hover ul li a:hover span
{background: url(../images/yeniler/drop_1.gif) right top; color:#fff;}
.menu :hover ul.sub li a.fly:hover span,
.menu :hover ul.sub li a.fly:hover ul li a.fly:hover span,
.menu :hover ul.sub li a.fly:hover ul li a.fly:hover ul li a.fly:hover span,
.menu :hover ul.sub li a.fly:hover ul li a.fly:hover ul li a.fly:hover ul li a.fly:hover span,
.menu :hover ul.sub li a.fly:hover ul li a.fly:hover ul li a.fly:hover ul li a.fly:hover ul li a.fly:hover span
{background:url(../images/yeniler/dropb_1.gif) right top; color:#fff;}
.menu :hover ul li:hover > a.fly {background:url(../images/yeniler/dropba_1.gif) no-repeat; color:#fff;}
.menu :hover ul li:hover > a.fly span {background:url(../images/yeniler/dropb_1.gif) right top; color:#fff;}
.menu ul.sub b {display:block; float:left; background:transparent url(../images/yeniler/book.gif) no-repeat center center; height:25px; width:25px;}
.menu ul.sub b.bos{background:transparent url(../images/yeniler/transparent.gif) no-repeat center center;}
.menu :hover ul :hover ul,
.menu :hover ul :hover ul :hover ul,
.menu :hover ul :hover ul :hover ul :hover ul,
.menu :hover ul :hover ul :hover ul :hover ul :hover ul
{left:107px; top:0; background:transparent url(../images/yeniler/transparent.gif); padding:5px 5px 5px 0; white-space:nowrap; width:120px; z-index:200; height:auto;}
Acaba hata nerde