tutorials.de Buch-Aktion 05/2012
Seite 1 von 2 12 LetzteLetzte
ERLEDIGT
JA
ANTWORTEN
17
ZUGRIFFE
2209
EMPFEHLEN
  • An Twitter übertragen
  • An Facebook übertragen
DIESES THEMA IST
GESCHLOSSEN
  1. #1
    alex130 alex130 ist offline Mitglied Platin
    Registriert seit
    Aug 2006
    Beiträge
    654
    Hallo,
    ich wollte fragen, ob mir evtl. jemand helfen kann und zwar will ich so ein Horizontales Menü wie bei www.win2day.at machen, also auch mit einer Grafik, also einzelne "reiter"..
    Ich hoffe ihr könnt mir helfen.
    Danke
     

  2. #2
    Maik Tutorials.de Gastzugang
     

  3. #3
    alex130 alex130 ist offline Mitglied Platin
    Registriert seit
    Aug 2006
    Beiträge
    654
    Hallo,
    danke erstmal für deine wirklich rasche Antwort!
    Ich hab das mal kurz überflogen, es ist zwar sehr gut verständlich, allerdings steht nirgends was von dem Dropdown, oder? Also dass wenn man mit der Maus drüberfährt sich ein Untermenü öffnet...
    Danke
     

  4. #4
    Maik Tutorials.de Gastzugang
    Sorry, hab das Menü nicht bedient, um zu sehen, dass es da auch noch ein Dropdown-Menü gibt, und in deinem Posting hattest du es auch nicht erwähnt, darum dachte ich, dass es dir ausschliesslich um die Tab-Reiter geht.

    Nachschub gibt's hier
     

  5. #5
    alex130 alex130 ist offline Mitglied Platin
    Registriert seit
    Aug 2006
    Beiträge
    654
    Ok sry, war mein Fehler, ich hätte das erwähnen sollen...
    Da sind ja einige Bespiele :d, aber einmal muss ich leider noch nerven und zwar, weiß du wie ich in das dropdown Menü noch ein Untermenü machen kann?
    Danke

    //edit: Bei dem Menü http://www.cssplay.co.uk/menus/tab_padding.html#nogo ist das schon eingebaut, aber wo is da der Code oder das Tutuorial? Oder muss man das selbst ausbauen?
    Danke
    Geändert von alex130 (08.10.07 um 22:54 Uhr)
     

  6. #6
    Maik Tutorials.de Gastzugang
    Hat dir http://www.cssplay.co.uk/menus/tab_padding.html nicht zugesagt?

    Ansonsten klick dich einfach mal auf der Seite durch die weiteren Beispiele

    Zitat Zitat von alex130 Beitrag anzeigen
    aber wo is da der Code oder das Tutuorial? Oder muss man das selbst ausbauen?
    Schon mal einen Blick in den Seiten-Quelltext geworfen?
     

  7. #7
    alex130 alex130 ist offline Mitglied Platin
    Registriert seit
    Aug 2006
    Beiträge
    654
    Hi
    Danke hab das gestern noch in meine Seite eingebaut, in FF sieht es super aus, aber im IE sieht es total komisch aus...
    Kannst du mir bitte evtl. helfen?
    Hier mein Code:
    HTML-Code:
    <div class="menu" style="margin:0 auto;">
    
    <ul>
    <li><a href="">Home</a></li>
    <li><a href="../menu/index.html">Kunden<!--[if IE 7]><!--></a><!--<![endif]-->
    <!--[if lte IE 6]><table><tr><td><![endif]-->
    	<ul>
    
    	<li><a class="drop" href="../menu/hover_click.html" title="Hover/click with no active/focus borders">Suchen
    	<!--[if IE 7]><!--></a><!--<![endif]-->
    	<!--[if lte IE 6]><table><tr><td><![endif]-->
    		<ul>
    			<li><a href="" title="Privat">Privat</a></li>
    			<li><a href="" title="Firma">Firma</a></li>
    		</ul>
    	<!--[if lte IE 6]></td></tr></table></a><![endif]-->
    	</li>
    	<li><a class="drop" href="../menu/hover_click.html" title="Hover/click with no active/focus borders">Eintragen</a>
    		<ul>
    			<li><a href="" title="Privat">Privat</a></li>
    			<li><a href="" title="Firma">Firma</a></li>
    		</ul>
    <!--[if lte IE 6]></td></tr></table></a><![endif]-->
    </li>
    </ul>
    
    <li><a href="../menu/index.html">Verträge<!--[if IE 7]><!--></a><!--<![endif]-->
    <!--[if lte IE 6]><table><tr><td><![endif]-->
    	<ul>
    
    	<li><a class="drop" href="../menu/hover_click.html" title="Hover/click with no active/focus borders">Suchen
    	<!--[if IE 7]><!--></a><!--<![endif]-->
    	<!--[if lte IE 6]><table><tr><td><![endif]-->
    		<ul>
    			<li><a href="" title="Privat">Privat</a></li>
    			<li><a href="" title="Firma">Firma</a></li>
    		</ul>
    	<!--[if lte IE 6]></td></tr></table></a><![endif]-->
    	</li>
    	<li><a class="drop" href="../menu/hover_click.html" title="Hover/click with no active/focus borders">Eintragen</a>
    		<ul>
    			<li><a href="" title="Privat">Privat</a></li>
    			<li><a href="" title="Firma">Firma</a></li>
    		</ul>
    <!--[if lte IE 6]></td></tr></table></a><![endif]-->
    </li>
    </ul>
    
    </li>
    
    
    <li><a href="../menu/index.html">Extras<!--[if IE 7]><!--></a><!--<![endif]-->
    <!--[if lte IE 6]><table><tr><td><![endif]-->
    	<ul>
    
    	<li><a class="drop" href="../menu/hover_click.html" title="Hover/click with no active/focus borders">Account Infos</li>
    	<li><a class="drop" href="../menu/hover_click.html" title="Hover/click with no active/focus borders">Statistik</li>
    	<li><a class="drop" href="../menu/hover_click.html" title="Hover/click with no active/focus borders">Termine eintragen</li>
    	<li><a class="drop" href="../menu/hover_click.html" title="Hover/click with no active/focus borders">Geburtstagsliste</li>
    	<li><a class="drop" href="../menu/hover_click.html" title="Hover/click with no active/focus borders">Links</li>
    	</li>
    <!--[if lte IE 6]></td></tr></table></a><![endif]-->
    </li>
    </ul>
    
    <li><a href="">Logout</a></li>
    
    </ul>
    
    </div>
    Und der CSS Code:
    HTML-Code:
    /* ================================================================ 
    This copyright notice must be untouched at all times.
    
    The original version of this stylesheet and the associated (x)html
    is available at http://www.cssplay.co.uk/menus/final_drop2.html
    Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
    This stylesheet and the assocaited (x)html may be modified in any 
    way to fit your requirements.
    =================================================================== */
    /* style the outer div to give it width */
    .menu {
    width: 750px;
    font-size:0.85em;
    padding-bottom:200px;
    }
    /* remove all the bullets, borders and padding from the default list styling */
    .menu ul {
    padding:0;
    margin:0;
    list-style-type:none;
    }
    .menu ul ul {
    width:150px;
    }
    /* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
    .menu li {
    float:left;
    width:150px;
    position:relative;
    }
    /* style the links for the top level */
    .menu a, .menu a:visited {
    display:block;
    font-size:11px;
    text-decoration:none; 
    color:#fff; 
    width:139px; 
    height:31px; 
    border:;1px solid #fff; 
    border-width:1px 1px 0 0; 
    background:#758279; 
    padding-left:10px; 
    line-height:29px;
    }
    /* a hack so that IE5.5 faulty box model is corrected */
    * html .menu a, * html .menu a:visited {
    width:150px;
    w\idth:139px;
    }
    
    /* style the second level background */
    .menu ul ul a.drop, .menu ul ul a.drop:visited {
    background:#949e7c;
    }
    /* style the second level hover */
    .menu ul ul a.drop:hover{
    background:#c9ba65;
    }
    .menu ul ul :hover > a.drop {
    background:#c9ba65;
    }
    /* style the third level background */
    .menu ul ul ul a, .menu ul ul ul a:visited {
    background:#e2dfa8;
    }
    /* style the third level hover */
    .menu ul ul ul a:hover {
    background:#b2ab9b;
    }
    .menu ul ul ul :hover > a {
    background:#b2ab9b;
    }
    
    /* hide the sub levels and give them a positon absolute so that they take up no room */
    .menu ul ul {
    visibility:hidden;
    position:absolute;
    height:0;
    top:31px;
    left:0; 
    width:150px;
    }
    /* another hack for IE5.5 */
    * html .menu ul ul {
    top:30px;
    t\op:31px;
    }
    
    /* position the third level flyout menu */
    .menu ul ul ul{
    left:150px; 
    top:0;
    width:150px;
    }
    /* position the third level flyout menu for a left flyout */
    .menu ul ul ul.left {
    left:-150px;
    }
    
    /* style the table so that it takes no part in the layout - required for IE to work */
    .menu table {position:absolute; top:0; left:0;}
    
    /* style the second level links */
    .menu ul ul a, .menu ul ul a:visited {
    background:#d4d8bd; 
    color:#000; 
    height:auto; 
    line-height:1em; 
    padding:5px 10px; 
    width:129px
    /* yet another hack for IE5.5 */
    }
    * html .menu ul ul a{
    width:150px;
    w\idth:129px;
    }
    
    
    /* style the top level hover */
    .menu a:hover, .menu ul ul a:hover{
    color:#fff; 
    background:#949e7c;
    }
    .menu :hover > a, .menu ul ul :hover > a {
    color:#fff;
    background:#949e7c;
    }
    
    /* make the second level visible when hover on first level list OR link */
    .menu ul li:hover ul,
    .menu ul a:hover ul{
    visibility:visible; 
    }
    /* keep the third level hidden when you hover on first level list OR link */
    .menu ul :hover ul ul{
    visibility:hidden;
    }
    /* keep the fourth level hidden when you hover on second level list OR link */
    .menu ul :hover ul :hover ul ul{
    visibility:hidden;
    }
    /* make the third level visible when you hover over second level list OR link */
    .menu ul :hover ul :hover ul{ 
    visibility:visible;
    }
    /* make the fourth level visible when you hover over third level list OR link */
    .menu ul :hover ul :hover ul :hover ul { 
    visibility:visible;
    }
     

  8. #8
    Maik Tutorials.de Gastzugang
    Hi,

    das Stylesheet ist in Ordnung, vielmehr hast du dich da in der Listennavigation mit den "Conditional Comments" verzettelt.

    Code :
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    
    <div class="menu" style="margin:0 auto;">
    <ul>
    <li><a href="#">Home</a></li>
    <li><a href="#">Kunden<!--[if IE 7]><!--></a><!--<![endif]-->
    <!--[if lte IE 6]><table><tr><td><![endif]-->
            <ul>
            <li><a class="drop" href="#" title="Suchen">Suchen<!--[if IE 7]><!--></a><!--<![endif]-->
            <!--[if lte IE 6]><table><tr><td><![endif]-->
                    <ul>
                            <li><a href="#" title="Privat">Privat</a></li>
                            <li><a href="#" title="Firma">Firma</a></li>
                    </ul>
            <!--[if lte IE 6]></td></tr></table></a><![endif]-->
            </li>
            <li><a class="drop" href="#" title="Eintragen">Eintragen<!--[if IE 7]><!--></a><!--<![endif]-->
            <!--[if lte IE 6]><table><tr><td><![endif]-->
                    <ul>
                            <li><a href="#" title="Privat">Privat</a></li>
                            <li><a href="#" title="Firma">Firma</a></li>
                    </ul>
            <!--[if lte IE 6]></td></tr></table></a><![endif]-->
            </li>
            </ul>
    <!--[if lte IE 6]></td></tr></table></a><![endif]-->
    </li>
    <li><a href="#">Verträge<!--[if IE 7]><!--></a><!--<![endif]-->
    <!--[if lte IE 6]><table><tr><td><![endif]-->
            <ul>
            <li><a class="drop" href="#" title="Suchen">Suchen<!--[if IE 7]><!--></a><!--<![endif]-->
            <!--[if lte IE 6]><table><tr><td><![endif]-->
                    <ul>
                            <li><a href="#" title="Privat">Privat</a></li>
                            <li><a href="#" title="Firma">Firma</a></li>
                    </ul>
            <!--[if lte IE 6]></td></tr></table></a><![endif]-->
            </li>
            <li><a class="drop" href="#" title="Eintragen">Eintragen<!--[if IE 7]><!--></a><!--<![endif]-->
            <!--[if lte IE 6]><table><tr><td><![endif]-->
                    <ul>
                            <li><a href="#" title="Privat">Privat</a></li>
                            <li><a href="#" title="Firma">Firma</a></li>
                    </ul>
            <!--[if lte IE 6]></td></tr></table></a><![endif]-->
            </li>
            </ul>
    <!--[if lte IE 6]></td></tr></table></a><![endif]-->
    </li>
    <li><a href="#">Extras<!--[if IE 7]><!--></a><!--<![endif]-->
    <!--[if lte IE 6]><table><tr><td><![endif]-->
            <ul>
            <li><a class="drop" href="#" title="Account Infos">Account Infos</a></li>
            <li><a class="drop" href="#" title="Statistik">Statistik</a></li>
            <li><a class="drop" href="#" title="Termine eintragen">Termine eintragen</a></li>
            <li><a class="drop" href="#" title="Geburtstagsliste">Geburtstagsliste</a></li>
            <li><a class="drop" href="#" title="Links">Links</a></li>
            </ul>
    <!--[if lte IE 6]></td></tr></table></a><![endif]-->
    </li>
    <li><a href="#">Logout</a></li>
    </ul>
    </div>
     

  9. #9
    alex130 alex130 ist offline Mitglied Platin
    Registriert seit
    Aug 2006
    Beiträge
    654
    Hi
    Danke ich war da wirkich ein bisschen verwirrt
    Ich werde das dann sofort testen.
    Danke
     

  10. #10
    alex130 alex130 ist offline Mitglied Platin
    Registriert seit
    Aug 2006
    Beiträge
    654
    Hi
    Ich hab ein Problem und zwar, wird es immer noch falsch angezeigt...
    Ich hab dir hier mal nen Screen angehängt.
    Ich hab auch noch eine Subkategorie erstellt, aber das sollte richtig sein..
    lg
    Miniaturansicht angehängter Grafiken Miniaturansicht angehängter Grafiken Horizontales Menü erstellen-navi.jpg  
     

  11. #11
    Maik Tutorials.de Gastzugang
    Hi,

    das sieht ja interessant aus, aber viel interessanter wäre zur Abwechslung ein Link zur Seite, damit ich mir das direkt (incl. der Grafiken) anschauen kann.
     

  12. #12
    alex130 alex130 ist offline Mitglied Platin
    Registriert seit
    Aug 2006
    Beiträge
    654
    Hi
    Hab dir mal schnell nen Account eignerichtet...
    http://kv.zulassungen.at
    user: test
    pass: test
    lg
     

  13. #13
    Maik Tutorials.de Gastzugang
    Die vertikale Wiederholung des Hintergrundbildes kannst du mit repeat-x abstellen.

    Wenn ich den CSS-Code des Menüs von gestern einfüge, öffnen sich auch wieder die Submenüs im IE - von daher solltest du das Stylesheet nochmal abgleichen.
     

  14. #14
    alex130 alex130 ist offline Mitglied Platin
    Registriert seit
    Aug 2006
    Beiträge
    654
    Hi
    Ok danke ich werd mir das gleich ansehen ...

    Also ich hab das mit den Eingabefeldern jetzt schon, aber ich bekomm den Submit Button einfach nicht rauf...
    Außerdem weiß ich nicht, ob es bei anderer Auflösung/Browser auch noch so aussieht.
    Ich hoffe du kannst mir helfen.
    Hier der Link: http://root.pcmasters.at/_login
     

  15. #15
    Maik Tutorials.de Gastzugang
    Zitat Zitat von alex130 Beitrag anzeigen
    Also ich hab das mit den Eingabefeldern jetzt schon, aber ich bekomm den Submit Button einfach nicht rauf...
    Dann erhöh doch einfach mal den margin-top-Wert
     

Ähnliche Themen

  1. Horizontales Drop-Down Menü
    Von MiMi im Forum CSS
    Antworten: 6
    Letzter Beitrag: 29.08.10, 11:09
  2. Horizontales Menü
    Von Alex_T im Forum CSS
    Antworten: 3
    Letzter Beitrag: 05.08.10, 17:22
  3. Horizontales Menü IE7
    Von dobber812 im Forum CSS
    Antworten: 1
    Letzter Beitrag: 03.02.10, 17:47
  4. Horizontales Menü / IF-IE 5,6 +7
    Von dobber812 im Forum CSS
    Antworten: 6
    Letzter Beitrag: 23.11.09, 10:13
  5. horizontales Menü mit CSS
    Von [desty] im Forum CSS
    Antworten: 2
    Letzter Beitrag: 23.05.06, 20:35