Antwort
 
LinkBack Themen-Optionen Thema durchsuchen Thema bewerten Ansicht
  #1  
Alt 11.04.07, 19:04
Forum Stammgast
 
Registriert seit: 01.03.06
Alter: 32
Beiträge: 196

wenn keine subnav dann zeige auch nicht...


hallo leute

wieder mal seit ihr meine letzte hoffnung


ich habe diesen code für mein hauptmenu
Typoscript-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:
//
###########################################################
#MAIN NAV START
###########################################################

temp.TOP_NAV = HMENU
#temp.TOP_NAV.special = directory
#temp.TOP_NAV.stdWrap.wrap = <ul> | </ul>
temp.TOP_NAV {  
1 = TMENU
1 {
expAll = 0
wrap = <ul id="Navigation1">|</ul>
NO = 1
NO {
allWrap = <li class="bM_NO_L1">|</li>
}
IFSUB = 1
IFSUB {
wrapItemAndSub = <li class="bM_NO_L1">|</li>
}
ACT = 1
ACT {
wrapItemAndSub = <li class="bM_ACT_L1">|</li>
}
CUR = 1
CUR {
doNotLinkIt = 0
allWrap = <li class="bM_ACT_L1">|</li>
}
CURIFSUB = 1
CURIFSUB {
doNotLinkIt = 0
wrapItemAndSub = <li class="bM_ACT_L1">|</li>
}
} - ERROR: Line 35: The script is short of 1 end brace(s)


und diesen für mein submenu
Typoscript-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:
//
###########################################################
#MAIN NAV START
###########################################################

temp.TOP_NAV2 = HMENU
#temp.TOP_NAV.special = directory
#temp.TOP_NAV.stdWrap.wrap = <ul> | </ul>
temp.TOP_NAV2 {      
entryLevel = 1
1 = TMENU
1 {
expAll = 0
wrap = <ul id="Navigation2">|</ul>
NO = 1
NO {
allWrap = <li class="bM_NO_L2">|</li>
}
IFSUB = 1
IFSUB {
wrapItemAndSub = <li class="bM_NO_L2">|</li>
}
ACT = 1
ACT {
wrapItemAndSub = <li class="bM_ACT_L2">|</li>
}
CUR = 1
CUR {
doNotLinkIt = 0
allWrap = <li class="bM_ACT_L2">|</li>
}
CURIFSUB = 1
CURIFSUB {
doNotLinkIt = 0
wrapItemAndSub = <li class="bM_ACT_L2">|</li>
}
} - ERROR: Line 36: The script is short of 1 end brace(s)

nun will ich aber das dass submenu nur angezeigt wird, wenn es auch ein submenu hat...


css für menu1
HTML-Code:
...#nav{
	z-index:99;
	position:absolute;
	top:80px;
	left:115px;
	height:20px;
	width:750px;
	background-color:#666666;
	font-weight:bold;
	opacity: 0.65;
	filter: alpha(opacity=75, finishopacity=75);
	-moz-opacity: 0.65;
	float:left;  
	padding:0;
	margin:0;
  	} 
  
   


ul#Navigation1 {
margin:0;
padding:0;
text-align:left;
  }

ul#Navigation1 li {
display:inline;
list-style-image:none;
list-style-position:outside;
list-style-type:none;
margin:0pt;
padding:0pt; 
line-height:20px;
  }

ul#Navigation1 a, ul#Navigation1 span {
font-weight:bold;
padding:4px 20px 4px 20px;
text-decoration:none;
background-color:#FF0099;
  }


* html ul#Navigation1 a, * html ul#Navigation1 span {
   width: 1em;   
   w/idth: auto;  
  }

ul#Navigation1 a:hover, ul#Navigation1 span {
   color: white; background-color: #82B6EF;
  }....

css für menu2

HTML-Code:
...#subnav{
	z-index:98;
	position:absolute;
	top:102px;
	left:115px;
	width:750px;
	background-color:#666666;
	font-weight:bold;
	opacity: 0.65;
	filter: alpha(opacity=75, finishopacity=75);
	-moz-opacity: 0.65;
	float:left;  
	padding:0;
	margin:0;
  	} 
  
   


ul#Navigation2 {
margin:0;
padding:0;
text-align:left;
  }

ul#Navigation2 li {
display:inline;
list-style-image:none;
list-style-position:outside;
list-style-type:none;
margin:0pt;
padding:0pt; 
  }

ul#Navigation2 a, ul#Navigation2 span {
font-weight:normal;
padding:4px 20px 4px 20px;
text-decoration:none;
background-color:#FF0099;
  }


* html ul#Navigation2 a, * html ul#Navigation2 span {
   width: 1em;   
   w/idth: auto;  
  }

ul#Navigation2 a:hover, ul#Navigation2 span {
   color: white; background-color: #82B6EF;
  }
...
habt ihr eine ahung wie ich da vorgehen muss?


merci
isa
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
Antwort


Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge anzufügen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

vB Code ist An.
Smileys sind An.
[IMG] Code ist An.
HTML-Code ist Aus.
Trackbacks are An
Pingbacks are An
Refbacks are An


Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
[plzHelp]POST Variablen... Wenn Hide dann ok, wenn Unhide dann NICHTS -|who.exe|- TYPO3 4.x Fragen und Probleme 3 04.06.08 10:22
tt_news: Zeige KEINE Beiträge aus ausgewählten Kategorien sventb News (tt_news, mininews und Co) 3 10.04.08 08:50
NewLoginBox: Wenn nicht eingeloggt dann... cyRus-tC Alle anderen Extensions 0 23.01.08 17:40
Wenn Seite X dann Text Y cyRus-tC TYPO3 4.x Fragen und Probleme 4 06.01.07 20:47
Wenn Unterpunkte vorhanden, dann keine Verlinkung auf Hauptebene sissi GMENU, HMENU, TMENU und Co. 1 16.06.05 12:02


Alle Zeitangaben in WEZ +1. Es ist jetzt 02:31 Uhr.


Powered by vBulletin® Version 3.6.8 Patch Level 2 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Template-Modifikationen durch TMS