Autor Zpráva
microfox
Profil *
<style>
.preload1 {background: url(three_1.gif);}
.preload2 {background: url(three_1a.gif);}

#nav {padding:0; margin:0; list-style:none; height:33px; background:#fff url(three_0.gif) repeat-x; position:relative; z-index:500; font-family:arial, verdana, sans-serif;}
#nav li.top {display:block; float:left; height:33px;}
#nav li a.top_link {display:block; float:left; height:33px; line-height:33px; color:#ccc; text-decoration:none; font-size:11px; font-weight:bold; padding:0 0 0 12px; cursor:pointer;background: url(three_0.gif);}
#nav li a.top_link span {float:left; display:block; padding:0 24px 0 12px; height:33px; background: url(three_0.gif) right top no-repeat;}
#nav li a.top_link span.sipka {float:left; display:block; padding:0 24px 0 12px; height:33px; background: url(three_0a.gif) no-repeat right top;}

#nav li:hover a.top_link {color:#fff; background: url(three_1.gif) no-repeat;}
#nav li:hover a.top_link span {background:url(three_1.gif) no-repeat right top;}
#nav li:hover a.top_link span.sipka {background:url(three_1a.gif) no-repeat right top;}

/* Default list styling */

#nav li:hover {position:relative; z-index:200;}

#nav li:hover ul.sub
{left:1px; top:33px; background: #F8F8F6; padding:3px; border:1px solid #AAAAAA; white-space:nowrap; width:200px; height:auto; z-index:300;}
#nav li:hover ul.sub li
{display:block; height:27px; position:relative; float:left; width:200px; font-weight:normal;}
#nav li:hover ul.sub li a
{display:block; font-size:11px; height:25px; width:198px; line-height:25px; text-indent:5px; color:#000; text-decoration:none;border:1px solid #F8F8F6;}
#nav li ul.sub li a.fly
{background:#F8F8F6 url(arrow.gif) 190px 6px no-repeat;}
#nav li:hover ul.sub li a:hover 
{background:#3188DA; color:#fff; border-color:#fff;}
#nav li:hover ul.sub li a.fly:hover
{background:#3188DA url(arrow_over.gif) 190px 6px no-repeat; color:#fff;}


#nav li:hover li:hover ul,
#nav li:hover li:hover li:hover ul,
#nav li:hover li:hover li:hover li:hover ul,
#nav li:hover li:hover li:hover li:hover li:hover ul
{left:200px; top:-4px; background: #F8F8F6; padding:3px; border:1px solid #AAAAAA; white-space:nowrap; width:200px; z-index:400; height:auto;}

#nav ul, 
#nav li:hover ul ul,
#nav li:hover li:hover ul ul,
#nav li:hover li:hover li:hover ul ul,
#nav li:hover li:hover li:hover li:hover ul ul
{position:absolute; left:-9999px; top:-9999px; width:0; height:0; margin:0; padding:0; list-style:none;}

#nav li:hover li:hover a.fly,
#nav li:hover li:hover li:hover a.fly,
#nav li:hover li:hover li:hover li:hover a.fly,
#nav li:hover li:hover li:hover li:hover li:hover a.fly
{background:#3188DA url(arrow_over.gif) 190px 6px no-repeat; color:#fff; border-color:#fff;} 

#nav li:hover li:hover li a.fly,
#nav li:hover li:hover li:hover li a.fly,
#nav li:hover li:hover li:hover li:hover li a.fly
{background:#F8F8F6 url(arrow.gif) 190px 6px no-repeat; color:#000; border-color:#F8F8F6;} 
<style>

<span class="preload1"></span>
<span class="preload2"></span>

<ul id="nav">
<li class="top"><a href="#nogo2"  class="top_link"><span class="sipka">Products</span></a>
        <ul class="sub">
            <li class="mid"><a href="#nogo7" class="fly">Lenses</a>
                    <ul>    
                        <li><a href="#nogo16" class="fly">Non standard</a>
                            <ul>
                                <li><a href="#nogo17">Bayonet mount</a></li>
                            </ul>
                        </li>
                    </ul>
            </li>    
        </ul>
    </li>    
</ul>

Ahoj, dokázal by mi někdo použít tu vysouvací nabídku a udělat z toho vertikální menu? tedy té horní lišty se uplně zbavit. Trápím se s tim tady už pár hodin a zatim pořád bez výsledku :(
panther
Profil
microfox:
dodej odkaz na web, kde to je k vidění.

Vaše odpověď

Mohlo by se hodit


Prosím používejte diakritiku a interpunkci.

Ochrana proti spamu. Napište prosím číslo dvě-sta čtyřicet-sedm: