Page 1 of 1

NAV List UL ID --> CCS Hilfe

Posted: Fri 26. Oct 2007, 17:51
by Strahlemann
Hallöchen!

Ich sehe gerade den Wald vor lauter Bäumen nicht mehr...

Bei mir sitzt gerade ein Kunde der bei der Navigation eine weitere Ebene (x+2) haben möchte -->Eingebunden ist diese mit {NAV_LIST_UL:F,ID,5,,active,id} im Left Block

Leider wird die Ausgabe von "LEVEL X+2 ul ID=2" nicht korrekt dargestellt und ich finde den Fehler nun schon seit einer Stunde nicht :(

Code: Select all

/*--- LEVEL X ID=2 --------------------------------------------------*/

.nlu_navi1id ul li#li_id_2 a,
.nlu_navi1id ul li#li_id_2 a:link, 
.nlu_navi1id ul li#li_id_2 a:visited,
.nlu_navi1id ul li#li_id_2 a:active {
   display: block;
   text-decoration: none;
   text-transform: none;
   color: Black;
   padding: 1px 0 0 10px;         /* Text adjust */ 
   border-bottom: 1px solid White; /* IE6 Bug */
}

/* state for the active point */
.nlu_navi1id ul li#li_id_2.active a,
.nlu_navi1id ul li#li_id_2.active a:link,
.nlu_navi1id ul li#li_id_2.active a:visited,
.nlu_navi1id ul li#li_id_2.active a:active {
   color: Red;
   font-weight: bold;
	border-bottom: 1px solid White; /* IE6 Bug */
}

.nlu_navi1id ul li#li_id_2 a:hover, .nlu_navi1id ul li#li_id_2.active a:hover {
   color: Red;
	border-bottom: 1px solid White; /* IE6 Bug */
}


/*--- LEVEL X+1 ul ID=2 ------------------------------------------------*/

.nlu_navi1id ul ul#id_2 li.sub_no a,
.nlu_navi1id ul ul#id_2 li.sub_no a:link, 
.nlu_navi1id ul ul#id_2 li.sub_no a:visited,
.nlu_navi1id ul ul#id_2 li.sub_no a:active, 
.nlu_navi1id ul ul#id_2 li.sub_ul a,
.nlu_navi1id ul ul#id_2 li.sub_ul a:link, 
.nlu_navi1id ul ul#id_2 li.sub_ul a:visited,
.nlu_navi1id ul ul#id_2 li.sub_ul a:active {
   display: block;
   text-decoration: none;
   text-transform: none;
   font-weight: normal;
   color: Black;
   padding: 1px 0 0 20px;
   border-bottom: 1px solid White; /* IE6 Bug */
}

.nlu_navi1id ul ul#id_2 li.active a,
.nlu_navi1id ul ul#id_2 li.active a:link,
.nlu_navi1id ul ul#id_2 li.active a:visited,
.nlu_navi1id ul ul#id_2 li.active a:active {
	color: Red;
	border-bottom: 1px solid White; /* IE6 Bug */
}

.nlu_navi1id ul ul#id_2 li a:hover, 
.nlu_navi1id ul ul#id_2 li.sub_no a:hover, 
.nlu_navi1id ul ul#id_2 li.sub_ul a:hover, 
.nlu_navi1id ul ul#id_2 li.active a:hover {
   color: Red;
	border-bottom: 1px solid White; /* IE6 Bug */
}

/*--- LEVEL X+2 ul ID=2 ------------------------------------------------*/

.nlu_navi1id ul ul ul#id_2 li.sub_no a,
.nlu_navi1id ul ul ul#id_2 li.sub_no a:link, 
.nlu_navi1id ul ul ul#id_2 li.sub_no a:visited,
.nlu_navi1id ul ul ul#id_2 li.sub_no a:active, 
.nlu_navi1id ul ul ul#id_2 li.sub_ul a,
.nlu_navi1id ul ul ul#id_2 li.sub_ul a:link,  
.nlu_navi1id ul ul ul#id_2 li.sub_ul a:visited,
.nlu_navi1id ul ul ul#id_2 li.sub_ul a:active {
   display: block;
   text-decoration: none;
   text-transform: none;
   font-weight: normal;
   color: Black;
   padding: 1px 0 0 40px;
   border-bottom: 1px solid White; /* IE6 Bug */
}

.nlu_navi1id ul ul ul#id_2 li.active a,
.nlu_navi1id ul ul ul#id_2 li.active a:link,
.nlu_navi1id ul ul ul#id_2 li.active a:visited,
.nlu_navi1id ul ul ul#id_2 li.active a:active {
	color: Red;
	border-bottom: 1px solid White; /* IE6 Bug */
}

.nlu_navi1id ul ul ul#id_2 li a:hover, 
.nlu_navi1id ul ul ul#id_2 li.sub_no a:hover, 
.nlu_navi1id ul ul ul#id_2 li.sub_ul a:hover, 
.nlu_navi1id ul ul ul#id_2 li.active a:hover {
   color: Red;
	border-bottom: 1px solid White; /* IE6 Bug */


Der Ausgegebene HTML Code sieht so aus:

Code: Select all

<div class="nlu_navi1id">
<ul id="id_0">
	<li id="li_id_1" class="sub_no sub_ul_true"><a href="index.php?camps4you">Camps4you</a></li>
	<li id="li_id_2" class="sub_ul"><a href="index.php?reiseziele">Reiseziele</a>
	<ul id="id_2">
		<li id="li_id_12" class="sub_no"><a href="index.php?reiseziele_london_music">London Music Tours</a></li>

		<li id="li_id_13" class="sub_ul active"><a href="index.php?reiseziele_ostern">Ostern</a>
		<ul id="id_13">
			<li id="li_id_54" class="sub_no"><a href="index.php?reiseziele_ostern_badhofgastein">Bad Hofgastein</a></li>
			<li id="li_id_55" class="sub_no"><a href="index.php?reiseziele_ostern_malta">Malta</a></li>
		</ul>
		</li>
		<li id="li_id_14" class="sub_no sub_ul_true"><a href="index.php?reiseziele_sommer">Sommer</a></li>

	</ul>
	</li>
	<li id="li_id_3" class="sub_no sub_ul_true"><a href="index.php?kursdaten">Kursdaten & Preise</a></li>
	<li id="li_id_4" class="sub_no sub_ul_true"><a href="index.php?im_preis">Im Preis inkludiert</a></li>
	<li id="li_id_5" class="sub_no sub_ul_true"><a href="index.php?eltern">Für Eltern</a></li>
	<li id="li_id_6" class="sub_no sub_ul_true"><a href="index.php?bildergalerie">Bildergalerie</a></li>

</ul>
</div>
Live sieht kann man das Ergebnis unter at.camps4you.com/index.php?reiseziele_o ... hofgastein sehen.

Das Problem ist, dass der der Textbei x+2 immer rot bleibt und nicht um die 40px eingerückt wird sondern nur die20 px von X+1...

Würde mich freuen wenn mir jemand kurz mal helfen könnte...

Danke + LG. Lukas

Posted: Fri 26. Oct 2007, 20:14
by flip-flop
ul ul ul#id_2 gibt es doch gar nicht. Er nimmt natürlich frech ul#id_2.

Aber weshalb um alles in der Welt dieser ID Wald?

Knut

Posted: Fri 26. Oct 2007, 21:02
by Strahlemann
Aber weshalb um alles in der Welt dieser ID Wald?
Kennst du solche Kunden?
"Ich hätte gerne überall ein Bild davor....ähh doch nicht....vielleicht doch...na ich weiß nicht..." :lol:

ICh habe so einen neben mir sitzen....

Posted: Fri 26. Oct 2007, 21:12
by Klappstuhl28
"Ich hätte gerne überall ein Bild davor....ähh doch nicht....vielleicht doch...na ich weiß nicht..." höre ich ständig!

Komisch ist nur, dass außer mir keiner im Raum ist :D

Lars

Posted: Fri 26. Oct 2007, 21:28
by flip-flop
Dann wird es Zeit mal abzuschalten, entweder den Monitor, den Kopf, oder den Kunden der ...... außer er hat große Taschen mit viel Geld drin. Dann muss man natürlich darauf drängen, das jeder Link ein individuelles Bildchen bekommt. :D

Posted: Sun 28. Oct 2007, 14:24
by Strahlemann
Also keine Möglichkeit der Ebene x+2 Bildchen zu verpassen?!?
Vorerst hat er den Modus "ähhh...keine Bilder" aber sonst bleibt mir wohl nichts anderes Übrig als die Navigation manuell zu erstellen?!?

Posted: Sun 28. Oct 2007, 14:43
by flip-flop
Natürlich geht das. Eben mit den IDs, für jeden Menüpunkt ein eigenes Bild.
Wenn nur die einzelnen Ebenen verschiedene Bilder haben sollen, brauchst du keine IDs.
Wo ist das Problem außer dass es viel Arbeit ist?

Knut