[Typo3-UG Oesterreich] HTML/CSS styling

Alfred Stranimaier alfred.stranimaier at mosser.at
Wed Aug 10 15:16:34 CEST 2005


Hallo Leute,

ich verwende die Extension html/css styling und mir das Template und
CCS-Files umgebaut auf ein horizontales Menü für die 1.Ebene 
(funktioniert wunderbar), die 2.Ebene soll aber vertikal in einem
anderen DIV (menu_2) sein. Ich hab auch in der Extension die static.txt
angepasst. Nur das ganze funktioniert will nicht funktionieren.

Kann mir vielleich jemand helfen ?

Beste Grüsse aus dem Mostviertel
Alfred Stranimaier



geänderte static.txt:

...
temp.menu_2 = HMENU
temp.menu_2.entryLevel = 0
  # Second level menu-object, textual
temp.menu_2.2 = TMENU
temp.menu_2.2 {
    # Normal state properties
  NO.allWrap = <div class="menu2-level2-no"> | </div>
  NO.stdWrap.htmlSpecialChars = 1
    # Enable active state and set properties:
  ACT = 1
  ACT.stdWrap.htmlSpecialChars = 1
  ACT.allWrap = <div class="menu2-level2-act"> | </div>
}

# Third level menu-object, textual
temp.menu_2.3 = TMENU
temp.menu_2.3 {
    # Normal state properties
  NO.allWrap = <div class="menu2-level3-no"> | </div>
  NO.stdWrap.htmlSpecialChars = 1
    # Enable active state and set properties:
  ACT = 1
  ACT.stdWrap.htmlSpecialChars = 1
  ACT.allWrap = <div class="menu2-level3-act"> | </div>
}

  # Forth level menu-object, textual
temp.menu_2.4 = TMENU
temp.menu_2.4 {
    # Normal state properties
  NO.allWrap = <div class="menu2-level4-no"> | </div>
  NO.stdWrap.htmlSpecialChars = 1
    # Enable active state and set properties:
  ACT = 1
  ACT.stdWrap.htmlSpecialChars = 1
  ACT.allWrap = <div class="menu2-level4-act"> | </div>
}

...

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

    # Fill the <div id="menu_1"> subpart with dynamic menu:
  subparts.menu_1 < temp.menu_1

    # Fill the <div id="menu_2"> subpart with dynamic menu:
  subparts.menu_2 < temp.menu_2

    # Fill the <div id="normalcontent"> subpart with dynamic menu:
  subparts.normalcontent < styles.content.get

...

geändertes Template:

<body>
    <div id="wholepage">
        <div id="header">
            <div id="logo"></div>
            <div id="menu_1"> </div>
        </div>
        <div id="middle">
            <div id="leftside">
                <div id="menu_2"> </div>
                <div id="leftcontentshared"> </div>
                <div id="leftcontent"> </div>
            </div>
            <div id="center">
                    <div id="normalcontentshared"> </div>
                    <div id="normalcontent"> </div>
            </div>
        </div>
...



**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************




More information about the TYPO3-at mailing list