Hallo
Habe den ganzen morgen die Beiträge durchforstet und bin leider nicht fündig geworden. Ich habe ein TMENU
welches jeweils die zweite Ebene ausklappt. Nun soll die zweite Ebene aber etwas eingerückt werden, um sie optisch vom rest zu trennen. Auch soll ein anderes Stysheet eingebunden werden. Kan mir da jemand helfen? bin noch neu...
Hier mal mein Typo Script
# Navigation Darstellung
NAVI = HMENU
NAVI {
special = directory
special.value = 1
1 = TMENU
1.NO = 1
1.NO {
ATagParams = class = "Navigation_1"
expAll = 0
niceText = 1
allWrap = |<br />
}
2 = TMENU
2.NO = 1
2.NO {
ATagParms = class = "Navigation_2"
expAll = 0
niceText = 1
allWrap = |<br />
}
}
wenn du wissen wilst wie die Seite aussieht:
http://web276.login-7.hoststar.ch/quickstart-3.8.0/index.php?id=1
Herzlichen dank für eure Hilfe und ev. auch Geduld...
hi,
ich würde das einrücken per css machenund wenn du dann noch den rechtschreibe fehler:
ATagParms = class = "Navigation_2"
in
ATagParams = class = "Navigation_2"
änderst dann funktioniert es auch
😉
Hallo
Danke, doch auch nach dem ändern funktioniert das einrücken nicht....
Auch der Style wird nicht abgeändert.
Weitere Ideen an was das liegen könnte?
Danke
PS: Nochmal mein Code
10.marks {
# Titel Darstellung
TITLE = TEXT
niceText = 1
TITLE.field = subtitle // title
# Untertitel Darstellung
SUBTITLE = TEXT
SUBTITLE.field =
# Navigation Darstellung
NAVI = HMENU
NAVI {
special = directory
special.value = 1
1 = TMENU
1.NO = 1
1.NO {
ATagParams = class = "Navigation_1"
expAll = 0
niceText = 1
allWrap = |<br>
}
2 = TMENU
2.NO = 1
2.NO {
ATagParams = class = "Navigation_2.css"
expAll = 0
niceText = 1
allWrap = |<br>
}
}
werde in noch einrücken...
jetzt noch das .css hinter dem style wegnehmen
Geht leider auch nicht!! Hab ich auch versucht.
Sorry
Hier mal das ganze. Vieleicht liegt der Fehler tiefer...
seite = PAGE
seite {
typeNum = 0
bodyTag = <body bgColor = "silver">
stylesheet = fileadmin/css/Hauptseite.css
meta.AUTHOR = Christoph Rota
meta.DESCRIPTION = Das ist mein erster Typo3 Versuch
10 = TEMPLATE
10.template = FILE
10.template.file = fileadmin/hauptseite.html
10.workOnSubpart = LAYOUT
10.marks {
# Titel Darstellung
TITLE = TEXT
niceText = 1
TITLE.field = subtitle // title
# Untertitel Darstellung
SUBTITLE = TEXT
SUBTITLE.field =
# Navigation Darstellung
NAVI = HMENU
NAVI {
special = directory
special.value = 1
1 = TMENU
1.NO = 1
1.NO {
ATagParams = class = "Navigation_1"
expAll = 0
niceText = 1
allWrap = |<br>
}
2 = TMENU
2.NO = 1
2.NO {
ATagParams = class = "Navigation_2"
expAll = 0
niceText = 1
allWrap = |<br>
}
3 = TMENU
3.NO = 1
3.NO {
ATagParams = class = "Navigation_2"
expAll = 0
niceText = 1
allWrap = |<br>
}
}
# Navigationsende
# Haupttext Darstellung
COLUM = CONTENT
COLUM {
table = tt_content
table = tt_content
select.orderBy = sorting
select.where = colPos = 0
niceText = 1
}
#News Darstellung
NEWS = CONTENT
NEWS {
table = tt_content
select.orderBy = sorting
select.where = colPos = 2
niceText = 1
}
#Werbefelder
WERBUNG1 = TEXT
WERBUNG1.value =
WERBUNG2 = TEXT
WERBUNG2.value =
WERBUNG3 = TEXT
WERBUNG3.value =
WERBUNG4 = TEXT
WERBUNG4.value =
LOGO = TEXT
LOGO.value =
}
}
plugin.tt_news.latestLimit = 8
und jetzt bitte noch das stylesheet 🙂
Hallo OK da kommt noch mein Stylesheet
.Untertitel {
font-family: "Comic Sans MS", Arial;
font-size: 18px;
font-weight: bold;
text-align: left;
text-indent: 8px;
vertical-align: middle;
}
.Titelleiste {
font-size: 24px;
color: #990000;
font-weight: bolder;
font-family: "Comic Sans MS", Arial;
font-style: normal;
text-decoration: none;
text-align: left;
text-indent: 8px;
vertical-align: middle;
white-space: normal;
}
.Tabelle {
position: absolute;
visibility: visible;
left: 0px;
top: 0px;
margin: 0px;
padding: 0px;
vertical-align: top;
background-image: url(fileadmin/image/hintergrund.jpg);
}
Navigation_1 {
.Navigation {
color: #990000;
font-family: "Comic Sans MS", Arial;
font-size: 16px;
vertical-align: top;
border: none;
float: left;
text-align: left;link {
color: #00CC33;
}
a:link {
font-family: "Comic Sans MS", Arial;
color: #990000;
text-decoration: none;
}
a:visited {
font-family: "Comic Sans MS", Arial;
color: #993333;
text-decoration: none;
}
a:hover {
font-family: "Comic Sans MS", Arial;
color: #FF3333;
text-decoration: none;
}
act {
color: #CC0000;
text-decoration: none;
}
}
Navigation_2 {
.Navigation_2 {
font-family: "Comic Sans MS", Arial;
font-size: 14px;
color: #0000CC;
text-decoration: none;
text-align: left;
text-indent: 20px;
font-weight: bold;
}
a:link {
color: #0033CC;
text-decoration: none;
font-family: "Comic Sans MS", Arial;
}
a:visited {
font-family: "Comic Sans MS", Arial;
color: #993333;
text-decoration: none;
}
a:hover {
font-family: "Comic Sans MS", Arial;
color: #FF3333;
text-decoration: none;
}
a:active {
color: #CC0000;
}
}
Navigation_3 {
Navigation_3 {
font-family: "Comic Sans MS", Arial;
color: #990000;
text-decoration: none;
text-align: left;
text-indent: 40px;
font-size: 12px;
font-weight: bold;
}
a:link {
font-family: "Comic Sans MS", Arial;
color: #990000;
text-decoration: none;
}
a:visited {
font-family: "Comic Sans MS", Arial;
color: #993333;
text-decoration: none;
}
a:hover {
font-family: "Comic Sans MS", Arial;
color: #FF3333;
text-decoration: none;
}
a:active {
font-family: "Comic Sans MS", Arial;
color: #CC0000;
text-decoration: none;
}
}
Textbereich {
.Textbereich {
font-family: "Comic Sans MS", Arial;
font-size: 14px;
color: #000066;
text-align: left;
vertical-align: top;
}
}
Hoffe das hilft jetzt meinem Problem auf die letzten Sprünge...
Danke für deine Bemühungen