Visualizzazione dei risultati da 1 a 7 su 7

Discussione: menu di menu

  1. #1

    menu di menu

    Ciao Raga sono un po nelle canne
    devo fare questa cosa ma non so da dove cominciare:
    devo fare in modo che 9 di 20 link testuali della navigazione principale di un sito mi diano la possibilità di selezionare ognuno 4 /5 voci e queste ultime che mi permettano di linkare 4/5 pagine a scelta
    come procedo?
    Grazie anticipatamente come sempre

  2. #2

  3. #3

  4. #4
    right click -> view source -> studi l'(X)HTML e il CSS relativo.

  5. #5
    be fin li ci ero arrivato
    e che non è poi cosi semplice capire dove comincia la parte di codice che mi interessa VVoVe: hai provato ad aprire con bn? non è un incubo di più

  6. #6
    be fin li ci ero arrivato


    hai provato ad aprire con bn? non è un incubo di più
    uso opera. quindi ctrl+f3. tutto indentato e leggibile.

    codice:
    <div class="menu">
    <ul>[*]Item 1[*]Item 2
    <li class="sub">Item 3 &#187;
    
    	<ul>
    	[*]Item 3a
    	<li class="sub">Item 3b &#187;
    	
    		<ul>
    			[*]Item 3bi
    			[*]Item 3bii
    			<li class="sub">Item 3biii &#187;
    			
    				<ul>
    					[*]Item 3biii-1
    					[*]Item 3biii-2
    					[*]Item 3biii-3
    					[*]Item 3biii-4
    				[/list]
    			
    			
    		[/list]
    	
    	
    	[*]Item 3c
    	[/list]
    
    	[*]Item 4[*]Item 5[*]Item 6
    [/list]
    </div>
    codice:
    <style type="text/css">
    /* ================================================================ 
    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/flyout2.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.
    =================================================================== */
    .menu {
    z-index:1000;
    font-size:90%;
    margin:25px 0 50px 15px; /* this page only */
    }
    
    /* remove all the bullets, borders and padding from the default list styling */
    .menu ul {
    padding:0;
    margin:0;
    list-style-type:none;
    width:150px;
    }
    /* hack for IE5.5 */
    * html .menu ul {margin-left:-16px; ma\rgin-left:0;}
    /* position relative so that you can position the sub levels */
    .menu li {
    position:relative;
    background:#d4d8bd;
    height:26px;
    }
    
    /* get rid of the table */
    .menu table {position:absolute; border-collapse:collapse; top:0; left:0; z-index:100; font-size:1em;}
    
    /* style the links */
    .menu a, .menu a:visited {
    display:block; 
    text-decoration:none;
    height:25px;
    line-height:25px;
    width:149px;
    color:#000;
    text-indent:5px;
    border:1px solid #fff;
    border-width:0 1px 1px 0;
    }
    /* hack for IE5.5 */
    * html .menu a, * html .menu a:visited {background:#d4d8bd; width:150px; w\idth:149px;}
    /* style the link hover */
    * html .menu a:hover {color:#fff; background:#949e7c;}
    
    .menu :hover > a {
    color:#fff; 
    background:#949e7c;
    }
    
    /* hide the sub levels and give them a positon absolute so that they take up no room */
    .menu ul ul {
    visibility:hidden;
    position:absolute;
    top:0;
    left:150px; 
    }
    /* 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;
    }
    </style>
    <!--[if IE 7]>
    <style type="text/css">
    .menu li {float:left;}
    </style>
    <![endif]-->
    inoltre c'è la classe sub che viene richiamata ma non sono riuscito a individuarla. guarda un pò anche te.

    e attento al copyright!

  7. #7
    ok ho recuperato il codice che mi interessa
    ma è davvero un delirio non riesco a capire dove prendere lo stile
    mi sa che faccio prima a scrivere un po di codice da me
    grazie comunque
    se non altro ora ho un idea su come procedere

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.