Zum Inhalt springen

Probleme mit Farbe im TMENU

Erstellt am 17. Juni 2005 · 3 Antworten · letzte Antwort am 18. Juni 2005

Tags: HTML & CSS, Frage

Unbekannter Benutzer ·

HI,

auf http://www.abenteuer-photoshop.de seht ihr oben ein TMenu. Der aktuelle Menüpunkt sieht jedoch anders aus als die anderen (wahrscheinlich die Standardeinstellungen vom IE). Klickt man z.B. auf "Artikel" sieht der Link dann auch so komisch aus.

Wie kann ich den aktuellen Menüpunkt aussehen lassen wie die anderen?

Mein Typoscript:

seite = PAGE
seite.config.index_enable = 1
seite{
    typeNum = 0
    bodyTag = <body bgcolor="#6A6A6A" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" style="background: #6a6a6a url(fileadmin/images/hintergrund.gif) repeat fixed center center;">
    stylesheet = fileadmin/style.css
    meta.AUTHOR = Dirk Metzmacher

    10 = TEMPLATE
    10.template = FILE
    10.template.file = fileadmin/ap.html
    10.workOnSubpart = DOKUMENT

    10.marks{

        MENU = HMENU
        MENU.special = directory
        MENU.special.value = 1  
        MENU.1 = TMENU
        MENU.1.NO = 1
        MENU.1.CUR < .MENU.1.NO
        MENU.1.NO.ATagParams = class="hauptmenu"
        MENU.1.NO.linkWrap =   |  |
        MENU.1.ACTIFSUB < .MENUO.1.CUR
                
        SUBMENU = HMENU
        SUBMENU.special = directory              
        SUBMENU.entryLevel = 1
        SUBMENU.1.expAll = 1
        SUBMENU.1 = TMENU
        SUBMENU.1.NO = 1
        SUBMENU.1.NO.ATagParams = class="linksubmenu1"
        SUBMENU.1.NO.linkWrap = |<br />

        SUBMENU.2 = TMENU
        SUBMENU.2.NO = 1
        SUBMENU.2.NO.linkWrap =     <img src="fileadmin/images/array.gif" alt="" />|<br />
        SUBMENU.2.NO.ATagParams = class="linksubmenu2"

        plugin.tx_macinasearchbox_pi1 {
            pidSearchpage = 34
        }
        
        BOTTOM< plugin.tx_macinasearchbox_pi1
        
        CONTENT = CONTENT
        CONTENT{
            table = tt_content
            select.orderby = sorting
            select.where = colPos = 0
        }

    }
}
tmp_tt_content_text < tt_content.text
tt_content.text >
tt_content.text = COA
tt_content.text.10 < lib.stdheader
tt_content.text.20 = TEXT
tt_content.text.20 {
field = bodytext
fieldRequired = bodytext
wrap = <font face="Arial" size="2">|</font><br />
parseFunc < tmp_tt_content_text.20.parseFunc
editIcons < tmp_tt_content_text.20.editIcons
134 }

Mein CSS:

BODY
{
    SCROLLBAR-FACE-COLOR: #ffffff;
    SCROLLBAR-HIGHLIGHT-COLOR: #ffffff;
    SCROLLBAR-SHADOW-COLOR: #000000;
    SCROLLBAR-3DLIGHT-COLOR: #000000;
    SCROLLBAR-ARROW-COLOR: #4f4f4f;
    SCROLLBAR-TRACK-COLOR: #ffffff;
    SCROLLBAR-DARKSHADOW-COLOR: #ffffff;
}

A.hauptmenu:link
{
    text-decoration: none;
    color: #000000;
    font-size: 12px;
    font-weight: none;
    font-family: arial,verdana,tahoma;
}

A.hauptmenu:visited
{
    text-decoration: none;
    color:  #000000;
    font-size: 12px;
    font-weight: none;
    font-family: arial,verdana,tahoma;
}

A.hauptmenu:active
{
    text-decoration: underline;
    color:  #000000;
    font-size: 12px;
    font-weight: none;
    font-family: arial,verdana,tahoma;

}

A.hauptmenu:hover
{
    text-decoration: underline;
    color:  #000000;
    font-size: 12px;
    font-weight: none;
    font-family: arial,verdana,tahoma;

}

.linksubmenu1
{
    color: #0044ff;
    font-size: 14px;
    font-weight: bold;
    font-family: arial,verdana,tahoma;
    line-height: 20px;
}

.linksubmenu2
{
    color: #000000;
    font-size: 13px;
    font-weight: none;
    font-family: arial,verdana,tahoma;
    margin-left: 5px;
    line-height: 20px;
    list-style-image: url(http://www.abenteuer-photoshop.de/fileadmin/images/array.gif);
}

.newslistdatum
{
    color: #72a317;
    font-size: 12px;
    font-weight: none;
    font-family: arial,verdana,tahoma;
}

.newslisttitel
{
    color: #000000;
    font-size: 16px;
    font-weight: bold;
    font-family: arial,verdana,tahoma;
}

.newslisttitel a:link
{
  color: #000000;
}

.newslisttitel a:visited
{
  color: #000000;
}

.newslisttitel a:hover
{
  color: #000000;
}

.newslisttitel a:active
{
  color: #CC0000;
}

Schonmal vielen Dank für die Hilfe

Viele Grüße

Jan Metzmacher

just2b · · Beste Antwort

fürs CUR hast du auch keine klasse zugeweisen... da is nix was er nehmen könnt.....

lg georg

Unbekannter Benutzer ·

HI,

habe meinen Fehler selber gefunden. Aus dem:

MENU = HMENU
        MENU.special = directory
        MENU.special.value = 1  
        MENU.1 = TMENU
        MENU.1.NO = 1
        MENU.1.CUR < .MENU.1.NO
        MENU.1.NO.ATagParams = class="hauptmenu"
        MENU.1.NO.linkWrap =   |  |
        MENU.1.ACTIFSUB < .MENUO.1.CUR

Muss das gemacht werden:

        MENU = HMENU
        MENU.special = directory
        MENU.special.value = 1  
        MENU.1 = TMENU
        MENU.1.NO = 1
        MENU.1.NO.ATagParams = class="hauptmenu"
        MENU.1.NO.linkWrap =   |  |
        MENU.1.CUR < .MENU.1.NO
        MENU.1.ACTIFSUB < .MENUO.1.CUR