SetaPDF
-


Hinweise


Antwort
 
LinkBack Themen-Optionen Thema durchsuchen Thema bewerten
Alt 26.09.2007, 19:28   #1
TP-Junior
 
Registriert seit: Sep 2007
Ort: FL
ScubaBen macht alles soweit korrekt

Unter benutzung von Autoparser aufklappendes CSS Menu benutzen


Moin ich hab nen Problem:

Ich möchte in mein besthendes Template eine schöne css Aufklapp Navi integrieren. Ich muss also die bestehdne DIV Container Wraps erstzen. Aber mit was. Kann mir jemand helfen?

Der DIV in dem das Menu drinsteckt ist class="menu"
Und dann kommen nur noch tables für ie oder ul und li

Hier der code:

Code:
# Configuring the Auto Parser:

plugin.tx_automaketemplate_pi1 {
		#Read the Template file:
	content = FILE
	content.file = fileadmin/template/test/template_12.html
	
		#Here we define which elements in the HTML that
		# should be wrapped in subpart-comments:
	elements {
	BODY.all = 1
	BODY.all.subpartMarker = DOCUMENT_BODY
	
	HEAD.all = 1
	HEAD.all.subpartMarker = DOCUMENT_HEADER
	HEAD.rmTagSections = title
	
	DIV.all = 1
	
	}
	
	#Prefix all relative paths with this value:
	relPathPrefix = fileadmin/template/test/
}


# Menue 1 cObject
temp.menu_1 = HMENU
	# First Level menue-object, textual
temp.menu_1.1 = TMENU
temp.menu_1.1 {
	#Normal state properties
	NO.allWrap = <div class="menu"> | </div>
	# Enable active stats and set properties
	ACT = 1
	ACT.allWrap = <div class="menu"> | </div>
	}
# Second level menu-object, textual
temp.menu_1.2 = TMENU
temp.menu_1.2 {
	#Normal state properties
	NO.allWrap = <div class="menu1-level2-no"> | </div>
	# Enable active stats and set properties
	ACT = 1
	ACT.allWrap = <div class="menu1-level2-act"> | </div>
	}


# Main Template cObject for the BODY

temp.mainTemplate = TEMPLATE
temp.mainTemplate {

    # Feeding the content from the Auto-parser to the TEMPLATE cObject:

  template =< plugin.tx_automaketemplate_pi1

    # Select only the content between the <body>-tags

  workOnSubpart = DOCUMENT_BODY

    # Substitute the ###menu_1### subpart with dynamic menu:

  subparts.menu_1 < temp.menu_1

    # Substitute the ###content### subpart with some example content:

  subparts.content < styles.content.get
   
    # Substitute the ###news## subpart with some example content:

  subparts.news < styles.content.getLeft
	}
	
# Main Template cObjects for the Head
temp.headTemplate = TEMPLATE
temp.headTemplate {
	# Feeding the content from the Auto-Parser to the TEMPLATE cObject
	template =< plugin.tx_automaketemplate_pi1
	# Select only the content between the HEAD Tags
	workOnSubpart = DOCUMENT_HEADER
	}
	
	
	
	
# Default PAGE Object:
page = PAGE
page.typeNum = 0

# Copying the content from TEMPLATE for body section
page.10 < temp.mainTemplate

# Copying the content from TEMPLATE for head section:
page.headerData.10 < temp.headTemplate
Vielen Dank für die Hilfe!
ScubaBen ist offline   Mit Zitat antworten


Alt 27.09.2007, 09:05   #2
TP-Insider
 
Benutzerbild von Elli
 
Registriert seit: Nov 2002
Ort: Orscholz
Elli macht sich hier sehr viel Mühe
Ohne jetzt groß auf deinen Code geschaut zu haben, aber wenn du CSS-
Menüs zum Aufklappen mit T3 suchst, dann bist du hier:
http://www.just2b.com/mein-typo3/css-ts-menues.html
und hier:
http://typo3.intervation.de/snippets...avascript.html
genau richtig. Anhand dieser Beispiele lässt sich das gut nachvollziehen
__________________
Es gibt keinen Fortschritt ohne den Glauben an die Zukunft.
[JFK]
Elli ist offline   Mit Zitat antworten
Antwort

  Aktuelles Thema
  TP Hilfe Forum > Web-Editoren & Coding > Typo3
Unter benutzung von Autoparser aufklappendes CSS Menu benutzen Unter benutzung von Autoparser aufklappendes CSS Menu benutzen
« Yaml installieren | Typo 3 Template und Objectbrowser »

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
 
Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an
Gehe zu


Alle Zeitangaben in WEZ +2. Es ist jetzt 09:25 Uhr.

Powered by: vBulletin Version 3.7 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd. / Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.
Traum-Projekt.com | Suchen | Archiv | Impressum | Kontakt | | | Nach oben |



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 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67

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 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67