NAV List UL ID --> CCS Hilfe

Hier bekommst Du deutschsprachigen Support. Keine Fehlermeldungen oder Erweiterungswünsche bitte!
Post Reply
Strahlemann
Posts: 63
Joined: Mon 29. May 2006, 23:09

NAV List UL ID --> CCS Hilfe

Post 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
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post 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
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Strahlemann
Posts: 63
Joined: Mon 29. May 2006, 23:09

Post 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....
User avatar
Klappstuhl28
Posts: 833
Joined: Fri 4. Mar 2005, 01:58
Location: Hamburg
Contact:

Post 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
Lars

Don't say you don't have enough time. You have exactly the same number of hours per day that were given to Helen Keller, Pasteur, Michaelangelo, Mother Teresa, Leonardo da Vinci, Thomas Jefferson, and Albert Einstein. - H. Jackson Brown -
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post 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
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Strahlemann
Posts: 63
Joined: Mon 29. May 2006, 23:09

Post 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?!?
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post 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
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Post Reply